summernote-wysiwyg.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. .note-editor {
  2. border: 1px solid #bfc8d1;
  3. }
  4. .note-editor .note-dropzone {
  5. position: absolute;
  6. z-index: 1;
  7. display: none;
  8. opacity: .95;
  9. color: #87cefa;
  10. border: 2px dashed #87cefa;
  11. background-color: white;
  12. pointer-event: none;
  13. }
  14. .note-editor .note-dropzone .note-dropzone-message {
  15. font-size: 28px;
  16. font-weight: bold;
  17. display: table-cell;
  18. text-align: center;
  19. vertical-align: middle;
  20. }
  21. .note-editor .note-dropzone.hover {
  22. color: #098ddf;
  23. border: 2px dashed #098ddf;
  24. }
  25. .note-editor.dragover .note-dropzone {
  26. display: table;
  27. }
  28. .note-editor .note-toolbar {
  29. border-bottom: 1px solid #bfc8d1;
  30. background-color: #FEFEFF;
  31. }
  32. .note-editor.fullscreen {
  33. position: fixed;
  34. z-index: 1050;
  35. top: 0;
  36. left: 0;
  37. width: 100%;
  38. }
  39. .note-editor.fullscreen .note-editable {
  40. background-color: white;
  41. }
  42. .note-editor.fullscreen .note-resizebar {
  43. display: none;
  44. }
  45. .note-editor.codeview .note-editable {
  46. display: none;
  47. }
  48. .note-editor.codeview .note-codable {
  49. display: block;
  50. }
  51. .note-editor .note-statusbar {
  52. background-color: #FEFEFF;
  53. }
  54. .note-editor .note-statusbar .note-resizebar {
  55. width: 100%;
  56. height: 8px;
  57. cursor: s-resize;
  58. border-top: 1px solid #bfc8d1;
  59. }
  60. .note-editor .note-statusbar .note-resizebar .note-icon-bar {
  61. width: 20px;
  62. margin: 1px auto;
  63. border-top: 1px solid #bfc8d1;
  64. }
  65. .note-editor .note-editable {
  66. overflow: auto;
  67. padding: 10px;
  68. outline: 0;
  69. }
  70. .note-editor .note-editable[contenteditable='false'] {
  71. background-color: #dfe8f1;
  72. }
  73. .note-editor .note-codable {
  74. font-family: Menlo, Monaco, monospace, sans-serif;
  75. font-size: 14px;
  76. display: none;
  77. -webkit-box-sizing: border-box;
  78. -moz-box-sizing: border-box;
  79. box-sizing: border-box;
  80. width: 100%;
  81. margin-bottom: 0;
  82. padding: 10px;
  83. resize: none;
  84. color: #ccc;
  85. border: 0;
  86. -webkit-border-radius: 0;
  87. -moz-border-radius: 0;
  88. border-radius: 0;
  89. background-color: #222;
  90. box-shadow: none;
  91. -ms-box-sizing: border-box;
  92. }
  93. .note-air-editor {
  94. outline: 0;
  95. }
  96. .note-popover .popover {
  97. max-width: none;
  98. }
  99. .note-popover .popover .popover-content a {
  100. display: inline-block;
  101. overflow: hidden;
  102. max-width: 200px;
  103. vertical-align: middle;
  104. white-space: nowrap;
  105. text-overflow: ellipsis;
  106. }
  107. .note-popover .popover .arrow {
  108. left: 20px;
  109. }
  110. .note-popover .popover .popover-content,
  111. .note-toolbar {
  112. margin: 0;
  113. padding: 0 0 5px 5px;
  114. }
  115. .note-popover .popover .popover-content > .btn-group,
  116. .note-toolbar > .btn-group {
  117. margin-top: 5px;
  118. margin-right: 5px;
  119. margin-left: 0;
  120. }
  121. .note-popover .popover .popover-content .note-table .dropdown-menu,
  122. .note-toolbar .note-table .dropdown-menu {
  123. min-width: 0;
  124. padding: 5px;
  125. }
  126. .note-popover .popover .popover-content .note-table .dropdown-menu .note-dimension-picker,
  127. .note-toolbar .note-table .dropdown-menu .note-dimension-picker {
  128. font-size: 18px;
  129. }
  130. .note-popover .popover .popover-content .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-mousecatcher,
  131. .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-mousecatcher {
  132. position: absolute!important;
  133. z-index: 3;
  134. width: 10em;
  135. height: 10em;
  136. cursor: pointer;
  137. }
  138. .note-popover .popover .popover-content .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-unhighlighted,
  139. .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-unhighlighted {
  140. position: relative!important;
  141. z-index: 1;
  142. width: 5em;
  143. height: 5em;
  144. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat;
  145. }
  146. .note-popover .popover .popover-content .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-highlighted,
  147. .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-highlighted {
  148. position: absolute!important;
  149. z-index: 2;
  150. width: 1em;
  151. height: 1em;
  152. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat;
  153. }
  154. .note-popover .popover .popover-content .note-style h1,
  155. .note-toolbar .note-style h1,
  156. .note-popover .popover .popover-content .note-style h2,
  157. .note-toolbar .note-style h2,
  158. .note-popover .popover .popover-content .note-style h3,
  159. .note-toolbar .note-style h3,
  160. .note-popover .popover .popover-content .note-style h4,
  161. .note-toolbar .note-style h4,
  162. .note-popover .popover .popover-content .note-style h5,
  163. .note-toolbar .note-style h5,
  164. .note-popover .popover .popover-content .note-style h6,
  165. .note-toolbar .note-style h6,
  166. .note-popover .popover .popover-content .note-style blockquote,
  167. .note-toolbar .note-style blockquote {
  168. margin: 0;
  169. }
  170. .note-popover .popover .popover-content .note-color .dropdown-toggle,
  171. .note-toolbar .note-color .dropdown-toggle {
  172. width: 20px;
  173. padding-left: 5px;
  174. }
  175. .note-popover .popover .popover-content .note-color .dropdown-menu,
  176. .note-toolbar .note-color .dropdown-menu {
  177. min-width: 290px;
  178. }
  179. .note-popover .popover .popover-content .note-color .dropdown-menu .btn-group,
  180. .note-toolbar .note-color .dropdown-menu .btn-group {
  181. margin: 0;
  182. }
  183. .note-popover .popover .popover-content .note-color .dropdown-menu .btn-group:first-child,
  184. .note-toolbar .note-color .dropdown-menu .btn-group:first-child {
  185. margin: 0 5px;
  186. }
  187. .note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-palette-title,
  188. .note-toolbar .note-color .dropdown-menu .btn-group .note-palette-title {
  189. font-size: 12px;
  190. margin: 2px 7px;
  191. text-align: center;
  192. border-bottom: 1px solid #eee;
  193. }
  194. .note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset,
  195. .note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset {
  196. font-size: 12px;
  197. margin: 5px;
  198. padding: 0 3px;
  199. cursor: pointer;
  200. -webkit-border-radius: 5px;
  201. -moz-border-radius: 5px;
  202. border-radius: 5px;
  203. }
  204. .note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset:hover,
  205. .note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset:hover {
  206. background: #eee;
  207. }
  208. .note-popover .popover .popover-content .note-para .dropdown-menu,
  209. .note-toolbar .note-para .dropdown-menu {
  210. min-width: 216px;
  211. padding: 5px;
  212. }
  213. .note-popover .popover .popover-content .note-para .dropdown-menu > div:first-child,
  214. .note-toolbar .note-para .dropdown-menu > div:first-child {
  215. margin-right: 5px;
  216. }
  217. .note-popover .popover .popover-content .dropdown-menu,
  218. .note-toolbar .dropdown-menu {
  219. min-width: 90px;
  220. }
  221. .note-popover .popover .popover-content .dropdown-menu.right,
  222. .note-toolbar .dropdown-menu.right {
  223. right: 0;
  224. left: auto;
  225. }
  226. .note-popover .popover .popover-content .dropdown-menu.right::before,
  227. .note-toolbar .dropdown-menu.right::before {
  228. right: 9px;
  229. left: auto!important;
  230. }
  231. .note-popover .popover .popover-content .dropdown-menu.right::after,
  232. .note-toolbar .dropdown-menu.right::after {
  233. right: 10px;
  234. left: auto!important;
  235. }
  236. .note-popover .popover .popover-content .dropdown-menu li a i,
  237. .note-toolbar .dropdown-menu li a i {
  238. visibility: hidden;
  239. color: deepskyblue;
  240. }
  241. .note-popover .popover .popover-content .dropdown-menu li a.checked i,
  242. .note-toolbar .dropdown-menu li a.checked i {
  243. visibility: visible;
  244. }
  245. .note-popover .popover .popover-content .note-fontsize-10,
  246. .note-toolbar .note-fontsize-10 {
  247. font-size: 10px;
  248. }
  249. .note-popover .popover .popover-content .note-color-palette,
  250. .note-toolbar .note-color-palette {
  251. line-height: 1;
  252. }
  253. .note-popover .popover .popover-content .note-color-palette div .note-color-btn,
  254. .note-toolbar .note-color-palette div .note-color-btn {
  255. width: 17px;
  256. height: 17px;
  257. margin: 0;
  258. padding: 0;
  259. border: 1px solid #fff;
  260. }
  261. .note-popover .popover .popover-content .note-color-palette div .note-color-btn:hover,
  262. .note-toolbar .note-color-palette div .note-color-btn:hover {
  263. border: 1px solid #000;
  264. }
  265. .note-dialog > div {
  266. display: none;
  267. }
  268. .note-dialog .note-image-dialog .note-dropzone {
  269. font-size: 30px;
  270. line-height: 4;
  271. min-height: 100px;
  272. margin-bottom: 10px;
  273. text-align: center;
  274. color: lightgray;
  275. border: 4px dashed lightgray;
  276. }
  277. .note-dialog .note-help-dialog {
  278. font-size: 12px;
  279. opacity: .9;
  280. color: #ccc;
  281. border: 0;
  282. background: transparent;
  283. background-color: #222!important;
  284. -webkit-opacity: .9;
  285. -khtml-opacity: .9;
  286. -moz-opacity: .9;
  287. -ms-filter: alpha(opacity=90);
  288. filter: alpha(opacity=90);
  289. }
  290. .note-dialog .note-help-dialog .modal-content {
  291. border: 1px solid white;
  292. -webkit-border-radius: 5px;
  293. -moz-border-radius: 5px;
  294. border-radius: 5px;
  295. background: transparent;
  296. -webkit-box-shadow: none;
  297. -moz-box-shadow: none;
  298. box-shadow: none;
  299. }
  300. .note-dialog .note-help-dialog a {
  301. font-size: 12px;
  302. color: white;
  303. }
  304. .note-dialog .note-help-dialog .title {
  305. font-size: 14px;
  306. font-weight: bold;
  307. padding-bottom: 5px;
  308. color: white;
  309. border-bottom: white 1px solid;
  310. }
  311. .note-dialog .note-help-dialog .modal-close {
  312. font-size: 14px;
  313. cursor: pointer;
  314. color: #dd0;
  315. }
  316. .note-dialog .note-help-dialog .note-shortcut-layout {
  317. width: 100%;
  318. }
  319. .note-dialog .note-help-dialog .note-shortcut-layout td {
  320. vertical-align: top;
  321. }
  322. .note-dialog .note-help-dialog .note-shortcut {
  323. margin-top: 8px;
  324. }
  325. .note-dialog .note-help-dialog .note-shortcut th {
  326. font-size: 13px;
  327. text-align: left;
  328. color: #dd0;
  329. }
  330. .note-dialog .note-help-dialog .note-shortcut td:first-child {
  331. font-family: 'Courier New';
  332. min-width: 110px;
  333. padding-right: 10px;
  334. text-align: right;
  335. color: #dd0;
  336. }
  337. .note-handle .note-control-selection {
  338. position: absolute;
  339. display: none;
  340. border: 1px solid black;
  341. }
  342. .note-handle .note-control-selection > div {
  343. position: absolute;
  344. }
  345. .note-handle .note-control-selection .note-control-selection-bg {
  346. width: 100%;
  347. height: 100%;
  348. opacity: .3;
  349. background-color: black;
  350. -webkit-opacity: .3;
  351. -khtml-opacity: .3;
  352. -moz-opacity: .3;
  353. -ms-filter: alpha(opacity=30);
  354. filter: alpha(opacity=30);
  355. }
  356. .note-handle .note-control-selection .note-control-handle {
  357. width: 7px;
  358. height: 7px;
  359. border: 1px solid black;
  360. }
  361. .note-handle .note-control-selection .note-control-holder {
  362. width: 7px;
  363. height: 7px;
  364. border: 1px solid black;
  365. }
  366. .note-handle .note-control-selection .note-control-sizing {
  367. width: 7px;
  368. height: 7px;
  369. border: 1px solid black;
  370. background-color: white;
  371. }
  372. .note-handle .note-control-selection .note-control-nw {
  373. top: -5px;
  374. left: -5px;
  375. border-right: 0;
  376. border-bottom: 0;
  377. }
  378. .note-handle .note-control-selection .note-control-ne {
  379. top: -5px;
  380. right: -5px;
  381. border-bottom: 0;
  382. border-left: none;
  383. }
  384. .note-handle .note-control-selection .note-control-sw {
  385. bottom: -5px;
  386. left: -5px;
  387. border-top: 0;
  388. border-right: 0;
  389. }
  390. .note-handle .note-control-selection .note-control-se {
  391. right: -5px;
  392. bottom: -5px;
  393. cursor: se-resize;
  394. }
  395. .note-handle .note-control-selection .note-control-selection-info {
  396. font-size: 12px;
  397. right: 0;
  398. bottom: 0;
  399. margin: 5px;
  400. padding: 5px;
  401. opacity: .7;
  402. color: white;
  403. -webkit-border-radius: 5px;
  404. -moz-border-radius: 5px;
  405. border-radius: 5px;
  406. background-color: black;
  407. -webkit-opacity: .7;
  408. -khtml-opacity: .7;
  409. -moz-opacity: .7;
  410. -ms-filter: alpha(opacity=70);
  411. filter: alpha(opacity=70);
  412. }