summernote.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812
  1. /*!
  2. *
  3. * Super simple WYSIWYG editor v0.8.20
  4. * https://summernote.org
  5. *
  6. *
  7. * Copyright 2013- Alan Hong and contributors
  8. * Summernote may be freely distributed under the MIT license.
  9. *
  10. * Date: 2021-10-14T21:15Z
  11. *
  12. */
  13. @font-face {
  14. font-family: "summernote";
  15. font-style: normal;
  16. font-weight: 400;
  17. font-display: auto;
  18. src: url("./font/summernote.eot?#iefix") format("embedded-opentype"), url("./font/summernote.woff2") format("woff2"), url("./font/summernote.woff") format("woff"), url("./font/summernote.ttf") format("truetype");
  19. }
  20. [class^=note-icon]:before,
  21. [class*=" note-icon"]:before {
  22. display: inline-block;
  23. font-family: "summernote";
  24. font-style: normal;
  25. font-size: inherit;
  26. text-decoration: inherit;
  27. text-rendering: auto;
  28. text-transform: none;
  29. vertical-align: middle;
  30. -moz-osx-font-smoothing: grayscale;
  31. -webkit-font-smoothing: antialiased;
  32. speak: none;
  33. }
  34. .note-icon-fw {
  35. text-align: center;
  36. width: 1.25em;
  37. }
  38. .note-icon-border {
  39. border: solid 0.08em #eee;
  40. border-radius: 0.1em;
  41. padding: 0.2em 0.25em 0.15em;
  42. }
  43. .note-icon-pull-left {
  44. float: left;
  45. }
  46. .note-icon-pull-right {
  47. float: right;
  48. }
  49. .note-icon.note-icon-pull-left {
  50. margin-right: 0.3em;
  51. }
  52. .note-icon.note-icon-pull-right {
  53. margin-left: 0.3em;
  54. }
  55. .note-icon-align::before {
  56. content: "\ea01";
  57. }
  58. .note-icon-align-center::before {
  59. content: "\ea02";
  60. }
  61. .note-icon-align-indent::before {
  62. content: "\ea03";
  63. }
  64. .note-icon-align-justify::before {
  65. content: "\ea04";
  66. }
  67. .note-icon-align-left::before {
  68. content: "\ea05";
  69. }
  70. .note-icon-align-outdent::before {
  71. content: "\ea06";
  72. }
  73. .note-icon-align-right::before {
  74. content: "\ea07";
  75. }
  76. .note-icon-arrow-circle-down::before {
  77. content: "\ea08";
  78. }
  79. .note-icon-arrow-circle-left::before {
  80. content: "\ea09";
  81. }
  82. .note-icon-arrow-circle-right::before {
  83. content: "\ea0a";
  84. }
  85. .note-icon-arrow-circle-up::before {
  86. content: "\ea0b";
  87. }
  88. .note-icon-arrows-alt::before {
  89. content: "\ea0c";
  90. }
  91. .note-icon-arrows-h::before {
  92. content: "\ea0d";
  93. }
  94. .note-icon-arrows-v::before {
  95. content: "\ea0e";
  96. }
  97. .note-icon-bold::before {
  98. content: "\ea0f";
  99. }
  100. .note-icon-caret::before {
  101. content: "\ea10";
  102. }
  103. .note-icon-chain-broken::before {
  104. content: "\ea11";
  105. }
  106. .note-icon-circle::before {
  107. content: "\ea12";
  108. }
  109. .note-icon-close::before {
  110. content: "\ea13";
  111. }
  112. .note-icon-code::before {
  113. content: "\ea14";
  114. }
  115. .note-icon-col-after::before {
  116. content: "\ea15";
  117. }
  118. .note-icon-col-before::before {
  119. content: "\ea16";
  120. }
  121. .note-icon-col-remove::before {
  122. content: "\ea17";
  123. }
  124. .note-icon-eraser::before {
  125. content: "\ea18";
  126. }
  127. .note-icon-float-left::before {
  128. content: "\ea19";
  129. }
  130. .note-icon-float-none::before {
  131. content: "\ea1a";
  132. }
  133. .note-icon-float-right::before {
  134. content: "\ea1b";
  135. }
  136. .note-icon-font::before {
  137. content: "\ea1c";
  138. }
  139. .note-icon-frame::before {
  140. content: "\ea1d";
  141. }
  142. .note-icon-italic::before {
  143. content: "\ea1e";
  144. }
  145. .note-icon-link::before {
  146. content: "\ea1f";
  147. }
  148. .note-icon-magic::before {
  149. content: "\ea20";
  150. }
  151. .note-icon-menu-check::before {
  152. content: "\ea21";
  153. }
  154. .note-icon-minus::before {
  155. content: "\ea22";
  156. }
  157. .note-icon-orderedlist::before {
  158. content: "\ea23";
  159. }
  160. .note-icon-pencil::before {
  161. content: "\ea24";
  162. }
  163. .note-icon-picture::before {
  164. content: "\ea25";
  165. }
  166. .note-icon-question::before {
  167. content: "\ea26";
  168. }
  169. .note-icon-redo::before {
  170. content: "\ea27";
  171. }
  172. .note-icon-rollback::before {
  173. content: "\ea28";
  174. }
  175. .note-icon-row-above::before {
  176. content: "\ea29";
  177. }
  178. .note-icon-row-below::before {
  179. content: "\ea2a";
  180. }
  181. .note-icon-row-remove::before {
  182. content: "\ea2b";
  183. }
  184. .note-icon-special-character::before {
  185. content: "\ea2c";
  186. }
  187. .note-icon-square::before {
  188. content: "\ea2d";
  189. }
  190. .note-icon-strikethrough::before {
  191. content: "\ea2e";
  192. }
  193. .note-icon-subscript::before {
  194. content: "\ea2f";
  195. }
  196. .note-icon-summernote::before {
  197. content: "\ea30";
  198. }
  199. .note-icon-superscript::before {
  200. content: "\ea31";
  201. }
  202. .note-icon-table::before {
  203. content: "\ea32";
  204. }
  205. .note-icon-text-height::before {
  206. content: "\ea33";
  207. }
  208. .note-icon-trash::before {
  209. content: "\ea34";
  210. }
  211. .note-icon-underline::before {
  212. content: "\ea35";
  213. }
  214. .note-icon-undo::before {
  215. content: "\ea36";
  216. }
  217. .note-icon-unorderedlist::before {
  218. content: "\ea37";
  219. }
  220. .note-icon-video::before {
  221. content: "\ea38";
  222. }
  223. /* Theme Variables
  224. ------------------------------------------ */
  225. /* Layout
  226. ------------------------------------------ */
  227. .note-editor {
  228. position: relative;
  229. }
  230. .note-editor .note-dropzone {
  231. position: absolute;
  232. display: none;
  233. z-index: 100;
  234. color: lightskyblue;
  235. background-color: #fff;
  236. opacity: 0.95;
  237. }
  238. .note-editor .note-dropzone .note-dropzone-message {
  239. display: table-cell;
  240. vertical-align: middle;
  241. text-align: center;
  242. font-size: 28px;
  243. font-weight: 700;
  244. }
  245. .note-editor .note-dropzone.hover {
  246. color: #098ddf;
  247. }
  248. .note-editor.dragover .note-dropzone {
  249. display: table;
  250. }
  251. .note-editor .note-editing-area {
  252. position: relative;
  253. }
  254. .note-editor .note-editing-area .note-editable {
  255. outline: none;
  256. }
  257. .note-editor .note-editing-area .note-editable sup {
  258. vertical-align: super;
  259. }
  260. .note-editor .note-editing-area .note-editable sub {
  261. vertical-align: sub;
  262. }
  263. .note-editor .note-editing-area .note-editable img.note-float-left {
  264. margin-right: 10px;
  265. }
  266. .note-editor .note-editing-area .note-editable img.note-float-right {
  267. margin-left: 10px;
  268. }
  269. /* Frame mode layout
  270. ------------------------------------------ */
  271. .note-editor.note-frame,
  272. .note-editor.note-airframe {
  273. border: 1px solid #00000032;
  274. }
  275. .note-editor.note-frame.codeview .note-editing-area .note-editable,
  276. .note-editor.note-airframe.codeview .note-editing-area .note-editable {
  277. display: none;
  278. }
  279. .note-editor.note-frame.codeview .note-editing-area .note-codable,
  280. .note-editor.note-airframe.codeview .note-editing-area .note-codable {
  281. display: block;
  282. }
  283. .note-editor.note-frame .note-editing-area,
  284. .note-editor.note-airframe .note-editing-area {
  285. overflow: hidden;
  286. }
  287. .note-editor.note-frame .note-editing-area .note-editable,
  288. .note-editor.note-airframe .note-editing-area .note-editable {
  289. padding: 10px;
  290. overflow: auto;
  291. word-wrap: break-word;
  292. }
  293. .note-editor.note-frame .note-editing-area .note-editable[contenteditable=false],
  294. .note-editor.note-airframe .note-editing-area .note-editable[contenteditable=false] {
  295. background-color: #8080801d;
  296. }
  297. .note-editor.note-frame .note-editing-area .note-codable,
  298. .note-editor.note-airframe .note-editing-area .note-codable {
  299. display: none;
  300. width: 100%;
  301. padding: 10px;
  302. border: none;
  303. box-shadow: none;
  304. font-family: Menlo, Monaco, monospace, sans-serif;
  305. font-size: 14px;
  306. color: #ccc;
  307. background-color: #222;
  308. resize: none;
  309. outline: none;
  310. -ms-box-sizing: border-box;
  311. box-sizing: border-box;
  312. border-radius: 0;
  313. margin-bottom: 0;
  314. }
  315. .note-editor.note-frame.fullscreen,
  316. .note-editor.note-airframe.fullscreen {
  317. position: fixed;
  318. top: 0;
  319. left: 0;
  320. width: 100% !important;
  321. z-index: 1050;
  322. }
  323. .note-editor.note-frame.fullscreen .note-resizebar,
  324. .note-editor.note-airframe.fullscreen .note-resizebar {
  325. display: none;
  326. }
  327. .note-editor.note-frame .note-status-output,
  328. .note-editor.note-airframe .note-status-output {
  329. display: block;
  330. width: 100%;
  331. font-size: 14px;
  332. line-height: 1.42857143;
  333. height: 20px;
  334. margin-bottom: 0;
  335. color: #000;
  336. border: 0;
  337. border-top: 1px solid #e2e2e2;
  338. }
  339. .note-editor.note-frame .note-status-output:empty,
  340. .note-editor.note-airframe .note-status-output:empty {
  341. height: 0;
  342. border-top: 0 solid transparent;
  343. }
  344. .note-editor.note-frame .note-status-output .pull-right,
  345. .note-editor.note-airframe .note-status-output .pull-right {
  346. float: right !important;
  347. }
  348. .note-editor.note-frame .note-status-output .text-muted,
  349. .note-editor.note-airframe .note-status-output .text-muted {
  350. color: #777;
  351. }
  352. .note-editor.note-frame .note-status-output .text-primary,
  353. .note-editor.note-airframe .note-status-output .text-primary {
  354. color: #286090;
  355. }
  356. .note-editor.note-frame .note-status-output .text-success,
  357. .note-editor.note-airframe .note-status-output .text-success {
  358. color: #3c763d;
  359. }
  360. .note-editor.note-frame .note-status-output .text-info,
  361. .note-editor.note-airframe .note-status-output .text-info {
  362. color: #31708f;
  363. }
  364. .note-editor.note-frame .note-status-output .text-warning,
  365. .note-editor.note-airframe .note-status-output .text-warning {
  366. color: #8a6d3b;
  367. }
  368. .note-editor.note-frame .note-status-output .text-danger,
  369. .note-editor.note-airframe .note-status-output .text-danger {
  370. color: #a94442;
  371. }
  372. .note-editor.note-frame .note-status-output .alert,
  373. .note-editor.note-airframe .note-status-output .alert {
  374. margin: -7px 0 0 0;
  375. padding: 7px 10px 2px 10px;
  376. border-radius: 0;
  377. color: #000;
  378. background-color: #f5f5f5;
  379. }
  380. .note-editor.note-frame .note-status-output .alert .note-icon,
  381. .note-editor.note-airframe .note-status-output .alert .note-icon {
  382. margin-right: 5px;
  383. }
  384. .note-editor.note-frame .note-status-output .alert-success,
  385. .note-editor.note-airframe .note-status-output .alert-success {
  386. color: #3c763d !important;
  387. background-color: #dff0d8 !important;
  388. }
  389. .note-editor.note-frame .note-status-output .alert-info,
  390. .note-editor.note-airframe .note-status-output .alert-info {
  391. color: #31708f !important;
  392. background-color: #d9edf7 !important;
  393. }
  394. .note-editor.note-frame .note-status-output .alert-warning,
  395. .note-editor.note-airframe .note-status-output .alert-warning {
  396. color: #8a6d3b !important;
  397. background-color: #fcf8e3 !important;
  398. }
  399. .note-editor.note-frame .note-status-output .alert-danger,
  400. .note-editor.note-airframe .note-status-output .alert-danger {
  401. color: #a94442 !important;
  402. background-color: #f2dede !important;
  403. }
  404. .note-editor.note-frame .note-statusbar,
  405. .note-editor.note-airframe .note-statusbar {
  406. background-color: #8080801d;
  407. border-bottom-left-radius: 4px;
  408. border-bottom-right-radius: 4px;
  409. border-top: 1px solid #00000032;
  410. }
  411. .note-editor.note-frame .note-statusbar .note-resizebar,
  412. .note-editor.note-airframe .note-statusbar .note-resizebar {
  413. padding-top: 1px;
  414. height: 9px;
  415. width: 100%;
  416. cursor: ns-resize;
  417. }
  418. .note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar,
  419. .note-editor.note-airframe .note-statusbar .note-resizebar .note-icon-bar {
  420. width: 20px;
  421. margin: 1px auto;
  422. border-top: 1px solid #00000032;
  423. }
  424. .note-editor.note-frame .note-statusbar.locked .note-resizebar,
  425. .note-editor.note-airframe .note-statusbar.locked .note-resizebar {
  426. cursor: default;
  427. }
  428. .note-editor.note-frame .note-statusbar.locked .note-resizebar .note-icon-bar,
  429. .note-editor.note-airframe .note-statusbar.locked .note-resizebar .note-icon-bar {
  430. display: none;
  431. }
  432. .note-editor.note-frame .note-placeholder,
  433. .note-editor.note-airframe .note-placeholder {
  434. padding: 10px;
  435. }
  436. .note-editor.note-airframe {
  437. border: 0;
  438. }
  439. .note-editor.note-airframe .note-editing-area .note-editable {
  440. padding: 0;
  441. }
  442. /* Popover
  443. ------------------------------------------ */
  444. .note-popover.popover {
  445. display: none;
  446. max-width: none;
  447. }
  448. .note-popover.popover .popover-content a {
  449. display: inline-block;
  450. max-width: 200px;
  451. overflow: hidden;
  452. text-overflow: ellipsis;
  453. white-space: nowrap;
  454. vertical-align: middle;
  455. }
  456. .note-popover.popover .arrow {
  457. left: 20px !important;
  458. }
  459. /* Popover and Toolbar (Button container)
  460. ------------------------------------------ */
  461. .note-toolbar {
  462. position: relative;
  463. }
  464. .note-popover .popover-content, .note-editor .note-toolbar {
  465. margin: 0;
  466. padding: 0 0 5px 5px;
  467. }
  468. .note-popover .popover-content > .note-btn-group, .note-editor .note-toolbar > .note-btn-group {
  469. margin-top: 5px;
  470. margin-left: 0;
  471. margin-right: 5px;
  472. }
  473. .note-popover .popover-content .note-btn-group .note-table, .note-editor .note-toolbar .note-btn-group .note-table {
  474. min-width: 0;
  475. padding: 5px;
  476. }
  477. .note-popover .popover-content .note-btn-group .note-table .note-dimension-picker, .note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker {
  478. font-size: 18px;
  479. }
  480. .note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher, .note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher {
  481. position: absolute !important;
  482. z-index: 3;
  483. width: 10em;
  484. height: 10em;
  485. cursor: pointer;
  486. }
  487. .note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted, .note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted {
  488. position: relative !important;
  489. z-index: 1;
  490. width: 5em;
  491. height: 5em;
  492. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;
  493. }
  494. .note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted, .note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted {
  495. position: absolute !important;
  496. z-index: 2;
  497. width: 1em;
  498. height: 1em;
  499. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;
  500. }
  501. .note-popover .popover-content .note-style .dropdown-style blockquote, .note-popover .popover-content .note-style .dropdown-style pre, .note-editor .note-toolbar .note-style .dropdown-style blockquote, .note-editor .note-toolbar .note-style .dropdown-style pre {
  502. margin: 0;
  503. padding: 5px 10px;
  504. }
  505. .note-popover .popover-content .note-style .dropdown-style h1, .note-popover .popover-content .note-style .dropdown-style h2, .note-popover .popover-content .note-style .dropdown-style h3, .note-popover .popover-content .note-style .dropdown-style h4, .note-popover .popover-content .note-style .dropdown-style h5, .note-popover .popover-content .note-style .dropdown-style h6, .note-popover .popover-content .note-style .dropdown-style p, .note-editor .note-toolbar .note-style .dropdown-style h1, .note-editor .note-toolbar .note-style .dropdown-style h2, .note-editor .note-toolbar .note-style .dropdown-style h3, .note-editor .note-toolbar .note-style .dropdown-style h4, .note-editor .note-toolbar .note-style .dropdown-style h5, .note-editor .note-toolbar .note-style .dropdown-style h6, .note-editor .note-toolbar .note-style .dropdown-style p {
  506. margin: 0;
  507. padding: 0;
  508. }
  509. .note-popover .popover-content .note-color-all .note-dropdown-menu, .note-editor .note-toolbar .note-color-all .note-dropdown-menu {
  510. min-width: 337px;
  511. }
  512. .note-popover .popover-content .note-color .dropdown-toggle, .note-editor .note-toolbar .note-color .dropdown-toggle {
  513. width: 20px;
  514. padding-left: 5px;
  515. }
  516. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette {
  517. display: inline-block;
  518. margin: 0;
  519. width: 160px;
  520. }
  521. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette:first-child, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette:first-child {
  522. margin: 0 5px;
  523. }
  524. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-palette-title, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-palette-title {
  525. font-size: 12px;
  526. margin: 2px 7px;
  527. text-align: center;
  528. border-bottom: 1px solid #eee;
  529. }
  530. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset,
  531. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset,
  532. .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select {
  533. font-size: 11px;
  534. margin: 3px;
  535. padding: 0 3px;
  536. cursor: pointer;
  537. width: 100%;
  538. border-radius: 5px;
  539. }
  540. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,
  541. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select:hover, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,
  542. .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select:hover {
  543. background: #eee;
  544. }
  545. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-row, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-row {
  546. height: 20px;
  547. }
  548. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select-btn, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select-btn {
  549. display: none;
  550. }
  551. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn {
  552. border: 1px solid #eee;
  553. }
  554. .note-popover .popover-content .note-para .note-dropdown-menu, .note-editor .note-toolbar .note-para .note-dropdown-menu {
  555. min-width: 228px;
  556. padding: 5px;
  557. }
  558. .note-popover .popover-content .note-para .note-dropdown-menu > div + div, .note-editor .note-toolbar .note-para .note-dropdown-menu > div + div {
  559. margin-left: 5px;
  560. }
  561. .note-popover .popover-content .note-dropdown-menu, .note-editor .note-toolbar .note-dropdown-menu {
  562. min-width: 160px;
  563. }
  564. .note-popover .popover-content .note-dropdown-menu.right, .note-editor .note-toolbar .note-dropdown-menu.right {
  565. right: 0;
  566. left: auto;
  567. }
  568. .note-popover .popover-content .note-dropdown-menu.right::before, .note-editor .note-toolbar .note-dropdown-menu.right::before {
  569. right: 9px;
  570. left: auto !important;
  571. }
  572. .note-popover .popover-content .note-dropdown-menu.right::after, .note-editor .note-toolbar .note-dropdown-menu.right::after {
  573. right: 10px;
  574. left: auto !important;
  575. }
  576. .note-popover .popover-content .note-dropdown-menu.note-check a i, .note-editor .note-toolbar .note-dropdown-menu.note-check a i {
  577. color: deepskyblue;
  578. visibility: hidden;
  579. }
  580. .note-popover .popover-content .note-dropdown-menu.note-check a.checked i, .note-editor .note-toolbar .note-dropdown-menu.note-check a.checked i {
  581. visibility: visible;
  582. }
  583. .note-popover .popover-content .note-fontsize-10, .note-editor .note-toolbar .note-fontsize-10 {
  584. font-size: 10px;
  585. }
  586. .note-popover .popover-content .note-color-palette, .note-editor .note-toolbar .note-color-palette {
  587. line-height: 1;
  588. }
  589. .note-popover .popover-content .note-color-palette div .note-color-btn, .note-editor .note-toolbar .note-color-palette div .note-color-btn {
  590. width: 20px;
  591. height: 20px;
  592. padding: 0;
  593. margin: 0;
  594. border: 0;
  595. border-radius: 0;
  596. }
  597. .note-popover .popover-content .note-color-palette div .note-color-btn:hover, .note-editor .note-toolbar .note-color-palette div .note-color-btn:hover {
  598. transform: scale(1.2);
  599. transition: all 0.2s;
  600. }
  601. /* Dialog
  602. ------------------------------------------ */
  603. .note-modal .modal-dialog {
  604. outline: 0;
  605. border-radius: 5px;
  606. box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  607. }
  608. .note-modal .form-group {
  609. margin-left: 0;
  610. margin-right: 0;
  611. }
  612. .note-modal .note-modal-form {
  613. margin: 0;
  614. }
  615. .note-modal .note-image-dialog .note-dropzone {
  616. min-height: 100px;
  617. font-size: 30px;
  618. line-height: 4;
  619. color: lightgray;
  620. text-align: center;
  621. border: 4px dashed lightgray;
  622. margin-bottom: 10px;
  623. }
  624. @-moz-document url-prefix() {
  625. .note-modal .note-image-input {
  626. height: auto;
  627. }
  628. }
  629. /* Placeholder
  630. ------------------------------------------ */
  631. .note-placeholder {
  632. position: absolute;
  633. display: none;
  634. color: gray;
  635. }
  636. /* Handle
  637. ------------------------------------------ */
  638. .note-handle .note-control-selection {
  639. position: absolute;
  640. display: none;
  641. border: 1px solid #000;
  642. }
  643. .note-handle .note-control-selection > div {
  644. position: absolute;
  645. }
  646. .note-handle .note-control-selection .note-control-selection-bg {
  647. width: 100%;
  648. height: 100%;
  649. background-color: #000;
  650. -webkit-opacity: 0.3;
  651. -khtml-opacity: 0.3;
  652. -moz-opacity: 0.3;
  653. opacity: 0.3;
  654. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
  655. filter: alpha(opacity=30);
  656. }
  657. .note-handle .note-control-selection .note-control-handle, .note-handle .note-control-selection .note-control-sizing, .note-handle .note-control-selection .note-control-holder {
  658. width: 7px;
  659. height: 7px;
  660. border: 1px solid #000;
  661. }
  662. .note-handle .note-control-selection .note-control-sizing {
  663. background-color: #000;
  664. }
  665. .note-handle .note-control-selection .note-control-nw {
  666. top: -5px;
  667. left: -5px;
  668. border-right: none;
  669. border-bottom: none;
  670. }
  671. .note-handle .note-control-selection .note-control-ne {
  672. top: -5px;
  673. right: -5px;
  674. border-bottom: none;
  675. border-left: none;
  676. }
  677. .note-handle .note-control-selection .note-control-sw {
  678. bottom: -5px;
  679. left: -5px;
  680. border-top: none;
  681. border-right: none;
  682. }
  683. .note-handle .note-control-selection .note-control-se {
  684. right: -5px;
  685. bottom: -5px;
  686. cursor: se-resize;
  687. }
  688. .note-handle .note-control-selection .note-control-se.note-control-holder {
  689. cursor: default;
  690. border-top: none;
  691. border-left: none;
  692. }
  693. .note-handle .note-control-selection .note-control-selection-info {
  694. right: 0;
  695. bottom: 0;
  696. padding: 5px;
  697. margin: 5px;
  698. color: #fff;
  699. background-color: #000;
  700. font-size: 12px;
  701. border-radius: 5px;
  702. -webkit-opacity: 0.7;
  703. -khtml-opacity: 0.7;
  704. -moz-opacity: 0.7;
  705. opacity: 0.7;
  706. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
  707. filter: alpha(opacity=70);
  708. }
  709. .note-hint-popover {
  710. min-width: 100px;
  711. padding: 2px;
  712. }
  713. .note-hint-popover .popover-content {
  714. padding: 3px;
  715. max-height: 150px;
  716. overflow: auto;
  717. }
  718. .note-hint-popover .popover-content .note-hint-group .note-hint-item {
  719. display: block !important;
  720. padding: 3px;
  721. }
  722. .note-hint-popover .popover-content .note-hint-group .note-hint-item.active, .note-hint-popover .popover-content .note-hint-group .note-hint-item:hover {
  723. display: block;
  724. clear: both;
  725. font-weight: 400;
  726. line-height: 1.4;
  727. color: white;
  728. white-space: nowrap;
  729. text-decoration: none;
  730. background-color: #428bca;
  731. outline: 0;
  732. cursor: pointer;
  733. }
  734. /* Handle
  735. ------------------------------------------ */
  736. html .note-fullscreen-body, body .note-fullscreen-body {
  737. overflow: hidden !important;
  738. }
  739. /*# sourceMappingURL=summernote.css.map*/