summernote.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910
  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-editor .note-toolbar > .note-btn-group .note-btn {
  474. background-color: #fff;
  475. }
  476. .note-popover .popover-content .note-btn-group .note-table, .note-editor .note-toolbar .note-btn-group .note-table {
  477. min-width: 0;
  478. padding: 5px;
  479. }
  480. .note-popover .popover-content .note-btn-group .note-table .note-dimension-picker, .note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker {
  481. font-size: 18px;
  482. }
  483. .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 {
  484. position: absolute !important;
  485. z-index: 3;
  486. width: 10em;
  487. height: 10em;
  488. cursor: pointer;
  489. }
  490. .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 {
  491. position: relative !important;
  492. z-index: 1;
  493. width: 5em;
  494. height: 5em;
  495. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;
  496. }
  497. .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 {
  498. position: absolute !important;
  499. z-index: 2;
  500. width: 1em;
  501. height: 1em;
  502. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;
  503. }
  504. .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 {
  505. margin: 0;
  506. padding: 5px 10px;
  507. }
  508. .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 {
  509. margin: 0;
  510. padding: 0;
  511. }
  512. .note-popover .popover-content .note-color-all .note-dropdown-menu, .note-editor .note-toolbar .note-color-all .note-dropdown-menu {
  513. min-width: 337px;
  514. }
  515. .note-popover .popover-content .note-color .dropdown-toggle, .note-editor .note-toolbar .note-color .dropdown-toggle {
  516. width: 20px;
  517. padding-left: 5px;
  518. }
  519. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette, .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette {
  520. display: inline-block;
  521. margin: 0;
  522. width: 160px;
  523. }
  524. .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 {
  525. margin: 0 5px;
  526. }
  527. .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 {
  528. font-size: 12px;
  529. margin: 2px 7px;
  530. text-align: center;
  531. border-bottom: 1px solid #eee;
  532. }
  533. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset,
  534. .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,
  535. .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select {
  536. font-size: 11px;
  537. margin: 3px;
  538. padding: 0 3px;
  539. cursor: pointer;
  540. width: 100%;
  541. border-radius: 5px;
  542. }
  543. .note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,
  544. .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,
  545. .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select:hover {
  546. background: #eee;
  547. }
  548. .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 {
  549. height: 20px;
  550. }
  551. .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 {
  552. display: none;
  553. }
  554. .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 {
  555. border: 1px solid #eee;
  556. }
  557. .note-popover .popover-content .note-para .note-dropdown-menu, .note-editor .note-toolbar .note-para .note-dropdown-menu {
  558. min-width: 228px;
  559. padding: 5px;
  560. }
  561. .note-popover .popover-content .note-para .note-dropdown-menu > div + div, .note-editor .note-toolbar .note-para .note-dropdown-menu > div + div {
  562. margin-left: 5px;
  563. }
  564. .note-popover .popover-content .note-dropdown-menu, .note-editor .note-toolbar .note-dropdown-menu {
  565. min-width: 160px;
  566. }
  567. .note-popover .popover-content .note-dropdown-menu.right, .note-editor .note-toolbar .note-dropdown-menu.right {
  568. right: 0;
  569. left: auto;
  570. }
  571. .note-popover .popover-content .note-dropdown-menu.right::before, .note-editor .note-toolbar .note-dropdown-menu.right::before {
  572. right: 9px;
  573. left: auto !important;
  574. }
  575. .note-popover .popover-content .note-dropdown-menu.right::after, .note-editor .note-toolbar .note-dropdown-menu.right::after {
  576. right: 10px;
  577. left: auto !important;
  578. }
  579. .note-popover .popover-content .note-dropdown-menu.note-check a i, .note-editor .note-toolbar .note-dropdown-menu.note-check a i {
  580. color: deepskyblue;
  581. visibility: hidden;
  582. }
  583. .note-popover .popover-content .note-dropdown-menu.note-check a.checked i, .note-editor .note-toolbar .note-dropdown-menu.note-check a.checked i {
  584. visibility: visible;
  585. }
  586. .note-popover .popover-content .note-fontsize-10, .note-editor .note-toolbar .note-fontsize-10 {
  587. font-size: 10px;
  588. }
  589. .note-popover .popover-content .note-color-palette, .note-editor .note-toolbar .note-color-palette {
  590. line-height: 1;
  591. }
  592. .note-popover .popover-content .note-color-palette div .note-color-btn, .note-editor .note-toolbar .note-color-palette div .note-color-btn {
  593. width: 20px;
  594. height: 20px;
  595. padding: 0;
  596. margin: 0;
  597. border: 0;
  598. border-radius: 0;
  599. }
  600. .note-popover .popover-content .note-color-palette div .note-color-btn:hover, .note-editor .note-toolbar .note-color-palette div .note-color-btn:hover {
  601. transform: scale(1.2);
  602. transition: all 0.2s;
  603. }
  604. /* Dialog
  605. ------------------------------------------ */
  606. .note-modal .modal-dialog {
  607. outline: 0;
  608. border-radius: 5px;
  609. box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  610. }
  611. .note-modal .form-group {
  612. margin-left: 0;
  613. margin-right: 0;
  614. }
  615. .note-modal .note-modal-form {
  616. margin: 0;
  617. }
  618. .note-modal .note-image-dialog .note-dropzone {
  619. min-height: 100px;
  620. font-size: 30px;
  621. line-height: 4;
  622. color: lightgray;
  623. text-align: center;
  624. border: 4px dashed lightgray;
  625. margin-bottom: 10px;
  626. }
  627. @-moz-document url-prefix() {
  628. .note-modal .note-image-input {
  629. height: auto;
  630. }
  631. }
  632. /* Placeholder
  633. ------------------------------------------ */
  634. .note-placeholder {
  635. position: absolute;
  636. display: none;
  637. color: gray;
  638. }
  639. /* Handle
  640. ------------------------------------------ */
  641. .note-handle .note-control-selection {
  642. position: absolute;
  643. display: none;
  644. border: 1px solid #000;
  645. }
  646. .note-handle .note-control-selection > div {
  647. position: absolute;
  648. }
  649. .note-handle .note-control-selection .note-control-selection-bg {
  650. width: 100%;
  651. height: 100%;
  652. background-color: #000;
  653. -webkit-opacity: 0.3;
  654. -khtml-opacity: 0.3;
  655. -moz-opacity: 0.3;
  656. opacity: 0.3;
  657. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
  658. filter: alpha(opacity=30);
  659. }
  660. .note-handle .note-control-selection .note-control-handle, .note-handle .note-control-selection .note-control-sizing, .note-handle .note-control-selection .note-control-holder {
  661. width: 7px;
  662. height: 7px;
  663. border: 1px solid #000;
  664. }
  665. .note-handle .note-control-selection .note-control-sizing {
  666. background-color: #000;
  667. }
  668. .note-handle .note-control-selection .note-control-nw {
  669. top: -5px;
  670. left: -5px;
  671. border-right: none;
  672. border-bottom: none;
  673. }
  674. .note-handle .note-control-selection .note-control-ne {
  675. top: -5px;
  676. right: -5px;
  677. border-bottom: none;
  678. border-left: none;
  679. }
  680. .note-handle .note-control-selection .note-control-sw {
  681. bottom: -5px;
  682. left: -5px;
  683. border-top: none;
  684. border-right: none;
  685. }
  686. .note-handle .note-control-selection .note-control-se {
  687. right: -5px;
  688. bottom: -5px;
  689. cursor: se-resize;
  690. }
  691. .note-handle .note-control-selection .note-control-se.note-control-holder {
  692. cursor: default;
  693. border-top: none;
  694. border-left: none;
  695. }
  696. .note-handle .note-control-selection .note-control-selection-info {
  697. right: 0;
  698. bottom: 0;
  699. padding: 5px;
  700. margin: 5px;
  701. color: #fff;
  702. background-color: #000;
  703. font-size: 12px;
  704. border-radius: 5px;
  705. -webkit-opacity: 0.7;
  706. -khtml-opacity: 0.7;
  707. -moz-opacity: 0.7;
  708. opacity: 0.7;
  709. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
  710. filter: alpha(opacity=70);
  711. }
  712. .note-hint-popover {
  713. min-width: 100px;
  714. padding: 2px;
  715. }
  716. .note-hint-popover .popover-content {
  717. padding: 3px;
  718. max-height: 150px;
  719. overflow: auto;
  720. }
  721. .note-hint-popover .popover-content .note-hint-group .note-hint-item {
  722. display: block !important;
  723. padding: 3px;
  724. }
  725. .note-hint-popover .popover-content .note-hint-group .note-hint-item.active, .note-hint-popover .popover-content .note-hint-group .note-hint-item:hover {
  726. display: block;
  727. clear: both;
  728. font-weight: 400;
  729. line-height: 1.4;
  730. color: white;
  731. white-space: nowrap;
  732. text-decoration: none;
  733. background-color: #428bca;
  734. outline: 0;
  735. cursor: pointer;
  736. }
  737. /* Handle
  738. ------------------------------------------ */
  739. html .note-fullscreen-body, body .note-fullscreen-body {
  740. overflow: hidden !important;
  741. }
  742. body.darktheme .note-popover .popover-content > .note-btn-group, body.darktheme .note-editor .note-toolbar > .note-btn-group .note-btn {
  743. background: #262626;
  744. color: #ccc;
  745. }