Theme Inspinia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

summernote.css 10KB

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