summernote-bs4.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. @font-face {
  2. font-family: "summernote";
  3. font-style: normal;
  4. font-weight: normal;
  5. src: url("./font/summernote.eot?e557617934c52ea068954af79ed7c221");
  6. src: url("./font/summernote.eot?#iefix") format("embedded-opentype"),url("./font/summernote.woff?e557617934c52ea068954af79ed7c221") format("woff"),url("./font/summernote.ttf?e557617934c52ea068954af79ed7c221") format("truetype");
  7. }[class^="note-icon-"]:before, [class*=" note-icon-"]:before {
  8. display: inline-block;
  9. font: normal normal normal 14px summernote;
  10. font-size: inherit;
  11. -webkit-font-smoothing: antialiased;
  12. text-decoration: inherit;
  13. text-rendering: auto;
  14. text-transform: none;
  15. vertical-align: middle;
  16. speak: none;
  17. -moz-osx-font-smoothing: grayscale;
  18. }.note-icon-align-center:before, .note-icon-align-indent:before, .note-icon-align-justify:before, .note-icon-align-left:before, .note-icon-align-outdent:before, .note-icon-align-right:before, .note-icon-align:before, .note-icon-arrow-circle-down:before, .note-icon-arrow-circle-left:before, .note-icon-arrow-circle-right:before, .note-icon-arrow-circle-up:before, .note-icon-arrows-alt:before, .note-icon-arrows-h:before, .note-icon-arrows-v:before, .note-icon-bold:before, .note-icon-caret:before, .note-icon-chain-broken:before, .note-icon-circle:before, .note-icon-close:before, .note-icon-code:before, .note-icon-col-after:before, .note-icon-col-before:before, .note-icon-col-remove:before, .note-icon-eraser:before, .note-icon-font:before, .note-icon-frame:before, .note-icon-italic:before, .note-icon-link:before, .note-icon-magic:before, .note-icon-menu-check:before, .note-icon-minus:before, .note-icon-orderedlist:before, .note-icon-pencil:before, .note-icon-picture:before, .note-icon-question:before, .note-icon-redo:before, .note-icon-row-above:before, .note-icon-row-below:before, .note-icon-row-remove:before, .note-icon-special-character:before, .note-icon-square:before, .note-icon-strikethrough:before, .note-icon-subscript:before, .note-icon-summernote:before, .note-icon-superscript:before, .note-icon-table:before, .note-icon-text-height:before, .note-icon-trash:before, .note-icon-underline:before, .note-icon-undo:before, .note-icon-unorderedlist:before, .note-icon-video:before {
  19. display: inline-block;
  20. font-family: "summernote";
  21. font-style: normal;
  22. font-weight: normal;
  23. text-decoration: inherit;
  24. }.note-icon-align-center:before {
  25. content: "\f101";
  26. }.note-icon-align-indent:before {
  27. content: "\f102";
  28. }.note-icon-align-justify:before {
  29. content: "\f103";
  30. }.note-icon-align-left:before {
  31. content: "\f104";
  32. }.note-icon-align-outdent:before {
  33. content: "\f105";
  34. }.note-icon-align-right:before {
  35. content: "\f106";
  36. }.note-icon-align:before {
  37. content: "\f107";
  38. }.note-icon-arrow-circle-down:before {
  39. content: "\f108";
  40. }.note-icon-arrow-circle-left:before {
  41. content: "\f109";
  42. }.note-icon-arrow-circle-right:before {
  43. content: "\f10a";
  44. }.note-icon-arrow-circle-up:before {
  45. content: "\f10b";
  46. }.note-icon-arrows-alt:before {
  47. content: "\f10c";
  48. }.note-icon-arrows-h:before {
  49. content: "\f10d";
  50. }.note-icon-arrows-v:before {
  51. content: "\f10e";
  52. }.note-icon-bold:before {
  53. content: "\f10f";
  54. }.note-icon-caret:before {
  55. content: "\f110";
  56. }.note-icon-chain-broken:before {
  57. content: "\f111";
  58. }.note-icon-circle:before {
  59. content: "\f112";
  60. }.note-icon-close:before {
  61. content: "\f113";
  62. }.note-icon-code:before {
  63. content: "\f114";
  64. }.note-icon-col-after:before {
  65. content: "\f115";
  66. }.note-icon-col-before:before {
  67. content: "\f116";
  68. }.note-icon-col-remove:before {
  69. content: "\f117";
  70. }.note-icon-eraser:before {
  71. content: "\f118";
  72. }.note-icon-font:before {
  73. content: "\f119";
  74. }.note-icon-frame:before {
  75. content: "\f11a";
  76. }.note-icon-italic:before {
  77. content: "\f11b";
  78. }.note-icon-link:before {
  79. content: "\f11c";
  80. }.note-icon-magic:before {
  81. content: "\f11d";
  82. }.note-icon-menu-check:before {
  83. content: "\f11e";
  84. }.note-icon-minus:before {
  85. content: "\f11f";
  86. }.note-icon-orderedlist:before {
  87. content: "\f120";
  88. }.note-icon-pencil:before {
  89. content: "\f121";
  90. }.note-icon-picture:before {
  91. content: "\f122";
  92. }.note-icon-question:before {
  93. content: "\f123";
  94. }.note-icon-redo:before {
  95. content: "\f124";
  96. }.note-icon-row-above:before {
  97. content: "\f125";
  98. }.note-icon-row-below:before {
  99. content: "\f126";
  100. }.note-icon-row-remove:before {
  101. content: "\f127";
  102. }.note-icon-special-character:before {
  103. content: "\f128";
  104. }.note-icon-square:before {
  105. content: "\f129";
  106. }.note-icon-strikethrough:before {
  107. content: "\f12a";
  108. }.note-icon-subscript:before {
  109. content: "\f12b";
  110. }.note-icon-summernote:before {
  111. content: "\f12c";
  112. }.note-icon-superscript:before {
  113. content: "\f12d";
  114. }.note-icon-table:before {
  115. content: "\f12e";
  116. }.note-icon-text-height:before {
  117. content: "\f12f";
  118. }.note-icon-trash:before {
  119. content: "\f130";
  120. }.note-icon-underline:before {
  121. content: "\f131";
  122. }.note-icon-undo:before {
  123. content: "\f132";
  124. }.note-icon-unorderedlist:before {
  125. content: "\f133";
  126. }.note-icon-video:before {
  127. content: "\f134";
  128. }.note-editor {
  129. position: relative;
  130. }.note-editor .note-dropzone {
  131. position: absolute;
  132. z-index: 100;
  133. display: none;
  134. color: #87cefa;
  135. background-color: white;
  136. opacity: .95;
  137. }.note-editor .note-dropzone .note-dropzone-message {
  138. display: table-cell;
  139. font-size: 28px;
  140. font-weight: bold;
  141. text-align: center;
  142. vertical-align: middle;
  143. }.note-editor .note-dropzone.hover {
  144. color: #098ddf;
  145. }.note-editor.dragover .note-dropzone {
  146. display: table;
  147. }.note-editor .note-editing-area {
  148. position: relative;
  149. }.note-editor .note-editing-area .note-editable {
  150. outline: 0;
  151. }.note-editor .note-editing-area .note-editable sup {
  152. vertical-align: super;
  153. }.note-editor .note-editing-area .note-editable sub {
  154. vertical-align: sub;
  155. }.note-editor .note-editing-area img.note-float-left {
  156. margin-right: 10px;
  157. }.note-editor .note-editing-area img.note-float-right {
  158. margin-left: 10px;
  159. }.note-editor.note-frame {
  160. border: 1px solid #a9a9a9;
  161. }.note-editor.note-frame.codeview .note-editing-area .note-editable {
  162. display: none;
  163. }.note-editor.note-frame.codeview .note-editing-area .note-codable {
  164. display: block;
  165. }.note-editor.note-frame .note-editing-area {
  166. overflow: hidden;
  167. }.note-editor.note-frame .note-editing-area .note-editable {
  168. padding: 10px;
  169. overflow: auto;
  170. color: #000;
  171. word-wrap: break-word;
  172. background-color: #fff;
  173. }.note-editor.note-frame .note-editing-area .note-editable[contenteditable="false"] {
  174. background-color: #e5e5e5;
  175. }.note-editor.note-frame .note-editing-area .note-codable {
  176. display: none;
  177. width: 100%;
  178. padding: 10px;
  179. margin-bottom: 0;
  180. font-family: Menlo,Monaco,monospace,sans-serif;
  181. font-size: 14px;
  182. color: #ccc;
  183. background-color: #222;
  184. border: 0;
  185. border-radius: 0;
  186. -webkit-box-shadow: none;
  187. box-shadow: none;
  188. -webkit-box-sizing: border-box;
  189. -moz-box-sizing: border-box;
  190. -ms-box-sizing: border-box;
  191. box-sizing: border-box;
  192. resize: none;
  193. }.note-editor.note-frame.fullscreen {
  194. position: fixed;
  195. top: 0;
  196. left: 0;
  197. z-index: 1050;
  198. width: 100%!important;
  199. }.note-editor.note-frame.fullscreen .note-editable {
  200. background-color: white;
  201. }.note-editor.note-frame.fullscreen .note-resizebar {
  202. display: none;
  203. }.note-editor.note-frame .note-statusbar {
  204. background-color: #f5f5f5;
  205. border-bottom-right-radius: 4px;
  206. border-bottom-left-radius: 4px;
  207. }.note-editor.note-frame .note-statusbar .note-resizebar {
  208. width: 100%;
  209. height: 8px;
  210. padding-top: 1px;
  211. cursor: ns-resize;
  212. }.note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar {
  213. width: 20px;
  214. margin: 1px auto;
  215. border-top: 1px solid #a9a9a9;
  216. }.note-editor.note-frame .note-placeholder {
  217. padding: 10px;
  218. }.note-popover.popover {
  219. display: none;
  220. max-width: none;
  221. }.note-popover.popover .popover-content a {
  222. display: inline-block;
  223. max-width: 200px;
  224. overflow: hidden;
  225. text-overflow: ellipsis;
  226. white-space: nowrap;
  227. vertical-align: middle;
  228. }.note-popover.popover .arrow {
  229. left: 20px!important;
  230. }.note-toolbar {
  231. position: relative;
  232. z-index: 500;
  233. }.note-popover .popover-content, .card-header.note-toolbar {
  234. padding: 0 0 5px 5px;
  235. margin: 0;
  236. }.note-popover .popover-content > .btn-group, .card-header.note-toolbar > .btn-group {
  237. margin-top: 5px;
  238. margin-right: 5px;
  239. margin-left: 0;
  240. }.note-popover .popover-content .btn-group .note-table, .card-header.note-toolbar .btn-group .note-table {
  241. min-width: 0;
  242. padding: 5px;
  243. }.note-popover .popover-content .btn-group .note-table .note-dimension-picker, .card-header.note-toolbar .btn-group .note-table .note-dimension-picker {
  244. font-size: 18px;
  245. }.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher, .card-header.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher {
  246. position: absolute!important;
  247. z-index: 3;
  248. width: 10em;
  249. height: 10em;
  250. cursor: pointer;
  251. }.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted, .card-header.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted {
  252. position: relative!important;
  253. z-index: 1;
  254. width: 5em;
  255. height: 5em;
  256. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;
  257. }.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted, .card-header.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted {
  258. position: absolute!important;
  259. z-index: 2;
  260. width: 1em;
  261. height: 1em;
  262. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;
  263. }.note-popover .popover-content .note-style .dropdown-style blockquote, .card-header.note-toolbar .note-style .dropdown-style blockquote, .note-popover .popover-content .note-style .dropdown-style pre, .card-header.note-toolbar .note-style .dropdown-style pre {
  264. padding: 5px 10px;
  265. margin: 0;
  266. }.note-popover .popover-content .note-style .dropdown-style h1, .card-header.note-toolbar .note-style .dropdown-style h1, .note-popover .popover-content .note-style .dropdown-style h2, .card-header.note-toolbar .note-style .dropdown-style h2, .note-popover .popover-content .note-style .dropdown-style h3, .card-header.note-toolbar .note-style .dropdown-style h3, .note-popover .popover-content .note-style .dropdown-style h4, .card-header.note-toolbar .note-style .dropdown-style h4, .note-popover .popover-content .note-style .dropdown-style h5, .card-header.note-toolbar .note-style .dropdown-style h5, .note-popover .popover-content .note-style .dropdown-style h6, .card-header.note-toolbar .note-style .dropdown-style h6, .note-popover .popover-content .note-style .dropdown-style p, .card-header.note-toolbar .note-style .dropdown-style p {
  267. padding: 0;
  268. margin: 0;
  269. }.note-popover .popover-content .note-color .dropdown-toggle, .card-header.note-toolbar .note-color .dropdown-toggle {
  270. width: 20px;
  271. padding-left: 5px;
  272. }.note-popover .popover-content .note-color .dropdown-menu, .card-header.note-toolbar .note-color .dropdown-menu {
  273. min-width: 337px;
  274. }.note-popover .popover-content .note-color .dropdown-menu .note-palette, .card-header.note-toolbar .note-color .dropdown-menu .note-palette {
  275. display: inline-block;
  276. width: 160px;
  277. margin: 0;
  278. }.note-popover .popover-content .note-color .dropdown-menu .note-palette:first-child, .card-header.note-toolbar .note-color .dropdown-menu .note-palette:first-child {
  279. margin: 0 5px;
  280. }.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-palette-title, .card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-palette-title {
  281. margin: 2px 7px;
  282. font-size: 12px;
  283. text-align: center;
  284. border-bottom: 1px solid #eee;
  285. }.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-reset, .card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-reset {
  286. width: 100%;
  287. padding: 0 3px;
  288. margin: 3px;
  289. font-size: 11px;
  290. cursor: pointer;
  291. border-radius: 5px;
  292. }.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-row, .card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-row {
  293. height: 20px;
  294. }.note-popover .popover-content .note-color .dropdown-menu .note-palette .note-color-reset:hover, .card-header.note-toolbar .note-color .dropdown-menu .note-palette .note-color-reset:hover {
  295. background: #eee;
  296. }.note-popover .popover-content .note-para .dropdown-menu, .card-header.note-toolbar .note-para .dropdown-menu {
  297. min-width: 216px;
  298. padding: 5px;
  299. }.note-popover .popover-content .note-para .dropdown-menu > div:first-child, .card-header.note-toolbar .note-para .dropdown-menu > div:first-child {
  300. margin-right: 5px;
  301. }.note-popover .popover-content .dropdown-menu, .card-header.note-toolbar .dropdown-menu {
  302. min-width: 90px;
  303. }.note-popover .popover-content .dropdown-menu.right, .card-header.note-toolbar .dropdown-menu.right {
  304. right: 0;
  305. left: auto;
  306. }.note-popover .popover-content .dropdown-menu.right::before, .card-header.note-toolbar .dropdown-menu.right::before {
  307. right: 9px;
  308. left: auto!important;
  309. }.note-popover .popover-content .dropdown-menu.right::after, .card-header.note-toolbar .dropdown-menu.right::after {
  310. right: 10px;
  311. left: auto!important;
  312. }.note-popover .popover-content .dropdown-menu.note-check a i, .card-header.note-toolbar .dropdown-menu.note-check a i {
  313. color: deepskyblue;
  314. visibility: hidden;
  315. }.note-popover .popover-content .dropdown-menu.note-check a.checked i, .card-header.note-toolbar .dropdown-menu.note-check a.checked i {
  316. visibility: visible;
  317. }.note-popover .popover-content .note-fontsize-10, .card-header.note-toolbar .note-fontsize-10 {
  318. font-size: 10px;
  319. }.note-popover .popover-content .note-color-palette, .card-header.note-toolbar .note-color-palette {
  320. line-height: 1;
  321. }.note-popover .popover-content .note-color-palette div .note-color-btn, .card-header.note-toolbar .note-color-palette div .note-color-btn {
  322. width: 20px;
  323. height: 20px;
  324. padding: 0;
  325. margin: 0;
  326. border: 1px solid #fff;
  327. }.note-popover .popover-content .note-color-palette div .note-color-btn:hover, .card-header.note-toolbar .note-color-palette div .note-color-btn:hover {
  328. border: 1px solid #000;
  329. }.note-dialog > div {
  330. display: none;
  331. }.note-dialog .form-group {
  332. margin-right: 0;
  333. margin-left: 0;
  334. }.note-dialog .note-modal-form {
  335. margin: 0;
  336. }.note-dialog .note-image-dialog .note-dropzone {
  337. min-height: 100px;
  338. margin-bottom: 10px;
  339. font-size: 30px;
  340. line-height: 4;
  341. color: lightgray;
  342. text-align: center;
  343. border: 4px dashed lightgray;
  344. }@-moz-document url-prefix() {
  345. .note-image-input {
  346. height: auto;
  347. }
  348. }.note-placeholder {
  349. position: absolute;
  350. display: none;
  351. color: gray;
  352. }.note-handle .note-control-selection {
  353. position: absolute;
  354. display: none;
  355. border: 1px solid black;
  356. }.note-handle .note-control-selection > div {
  357. position: absolute;
  358. }.note-handle .note-control-selection .note-control-selection-bg {
  359. width: 100%;
  360. height: 100%;
  361. background-color: black;
  362. -webkit-opacity: .3;
  363. -khtml-opacity: .3;
  364. -moz-opacity: .3;
  365. opacity: .3;
  366. -ms-filter: alpha(opacity=30);
  367. filter: alpha(opacity=30);
  368. }.note-handle .note-control-selection .note-control-handle {
  369. width: 7px;
  370. height: 7px;
  371. border: 1px solid black;
  372. }.note-handle .note-control-selection .note-control-holder {
  373. width: 7px;
  374. height: 7px;
  375. border: 1px solid black;
  376. }.note-handle .note-control-selection .note-control-sizing {
  377. width: 7px;
  378. height: 7px;
  379. background-color: white;
  380. border: 1px solid black;
  381. }.note-handle .note-control-selection .note-control-nw {
  382. top: -5px;
  383. left: -5px;
  384. border-right: 0;
  385. border-bottom: 0;
  386. }.note-handle .note-control-selection .note-control-ne {
  387. top: -5px;
  388. right: -5px;
  389. border-bottom: 0;
  390. border-left: none;
  391. }.note-handle .note-control-selection .note-control-sw {
  392. bottom: -5px;
  393. left: -5px;
  394. border-top: 0;
  395. border-right: 0;
  396. }.note-handle .note-control-selection .note-control-se {
  397. right: -5px;
  398. bottom: -5px;
  399. cursor: se-resize;
  400. }.note-handle .note-control-selection .note-control-se.note-control-holder {
  401. cursor: default;
  402. border-top: 0;
  403. border-left: none;
  404. }.note-handle .note-control-selection .note-control-selection-info {
  405. right: 0;
  406. bottom: 0;
  407. padding: 5px;
  408. margin: 5px;
  409. font-size: 12px;
  410. color: white;
  411. background-color: black;
  412. border-radius: 5px;
  413. -webkit-opacity: .7;
  414. -khtml-opacity: .7;
  415. -moz-opacity: .7;
  416. opacity: .7;
  417. -ms-filter: alpha(opacity=70);
  418. filter: alpha(opacity=70);
  419. }.note-hint-popover {
  420. min-width: 100px;
  421. padding: 2px;
  422. }.note-hint-popover .popover-content {
  423. max-height: 150px;
  424. padding: 3px;
  425. overflow: auto;
  426. }.note-hint-popover .popover-content .note-hint-group .note-hint-item {
  427. display: block!important;
  428. padding: 3px;
  429. }.note-hint-popover .popover-content .note-hint-group .note-hint-item.active, .note-hint-popover .popover-content .note-hint-group .note-hint-item:hover {
  430. display: block;
  431. clear: both;
  432. font-weight: 400;
  433. line-height: 1.4;
  434. color: white;
  435. text-decoration: none;
  436. white-space: nowrap;
  437. cursor: pointer;
  438. background-color: #428bca;
  439. outline: 0;
  440. }