Quill.less 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173
  1. .ql-container {
  2. -webkit-box-sizing: border-box;
  3. box-sizing: border-box;
  4. font-family: Helvetica, Arial, sans-serif;
  5. font-size: 13px;
  6. height: 100%;
  7. margin: 0;
  8. position: relative
  9. }
  10. .ql-container.ql-disabled .ql-tooltip {
  11. visibility: hidden
  12. }
  13. .ql-container.ql-disabled .ql-editor ul[data-checked]>li:before {
  14. pointer-events: none
  15. }
  16. .ql-clipboard {
  17. left: -100000px;
  18. height: 1px;
  19. overflow-y: hidden;
  20. position: absolute;
  21. top: 50%
  22. }
  23. .ql-clipboard p {
  24. margin: 0;
  25. padding: 0
  26. }
  27. .ql-editor {
  28. // -webkit-box-sizing: border-box;
  29. // box-sizing: border-box;
  30. // line-height: 1.42;
  31. // height: 100%;
  32. // outline: none;
  33. // overflow-y: auto;
  34. // padding: 12px 15px;
  35. // -o-tab-size: 4;
  36. // tab-size: 4;
  37. // -moz-tab-size: 4;
  38. // text-align: left;
  39. // white-space: pre-wrap;
  40. // word-wrap: break-word
  41. }
  42. .ql-editor>* {
  43. cursor: text
  44. }
  45. .ql-editor blockquote,
  46. .ql-editor h1,
  47. .ql-editor h2,
  48. .ql-editor h3,
  49. .ql-editor h4,
  50. .ql-editor h5,
  51. .ql-editor h6,
  52. .ql-editor ol,
  53. .ql-editor p,
  54. .ql-editor pre,
  55. .ql-editor ul {
  56. margin: 0;
  57. padding: 0;
  58. counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
  59. }
  60. .ql-editor ol,
  61. .ql-editor ul {
  62. padding-left: 1.5em
  63. }
  64. .ql-editor ol>li,
  65. .ql-editor ul>li {
  66. list-style-type: none
  67. }
  68. .ql-editor ul>li:before {
  69. content: "\2022"
  70. }
  71. .ql-editor ul[data-checked=false],
  72. .ql-editor ul[data-checked=true] {
  73. pointer-events: none
  74. }
  75. .ql-editor ul[data-checked=false]>li *,
  76. .ql-editor ul[data-checked=true]>li * {
  77. pointer-events: all
  78. }
  79. .ql-editor ul[data-checked=false]>li:before,
  80. .ql-editor ul[data-checked=true]>li:before {
  81. color: #777;
  82. cursor: pointer;
  83. pointer-events: all
  84. }
  85. .ql-editor ul[data-checked=true]>li:before {
  86. content: "\2611"
  87. }
  88. .ql-editor ul[data-checked=false]>li:before {
  89. content: "\2610"
  90. }
  91. .ql-editor li:before {
  92. display: inline-block;
  93. white-space: nowrap;
  94. width: 1.2em
  95. }
  96. .ql-editor li:not(.ql-direction-rtl):before {
  97. margin-left: -1.5em;
  98. margin-right: .3em;
  99. text-align: right
  100. }
  101. .ql-editor li.ql-direction-rtl:before {
  102. margin-left: .3em;
  103. margin-right: -1.5em
  104. }
  105. .ql-editor ol li:not(.ql-direction-rtl),
  106. .ql-editor ul li:not(.ql-direction-rtl) {
  107. padding-left: 1.5em
  108. }
  109. .ql-editor ol li.ql-direction-rtl,
  110. .ql-editor ul li.ql-direction-rtl {
  111. padding-right: 1.5em
  112. }
  113. .ql-editor ol li {
  114. counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  115. counter-increment: list-0
  116. }
  117. .ql-editor ol li:before {
  118. content: counter(list-0, decimal) ". "
  119. }
  120. .ql-editor ol li.ql-indent-1 {
  121. counter-increment: list-1
  122. }
  123. .ql-editor ol li.ql-indent-1:before {
  124. content: counter(list-1, lower-alpha) ". "
  125. }
  126. .ql-editor ol li.ql-indent-1 {
  127. counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
  128. }
  129. .ql-editor ol li.ql-indent-2 {
  130. counter-increment: list-2
  131. }
  132. .ql-editor ol li.ql-indent-2:before {
  133. content: counter(list-2, lower-roman) ". "
  134. }
  135. .ql-editor ol li.ql-indent-2 {
  136. counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9
  137. }
  138. .ql-editor ol li.ql-indent-3 {
  139. counter-increment: list-3
  140. }
  141. .ql-editor ol li.ql-indent-3:before {
  142. content: counter(list-3, decimal) ". "
  143. }
  144. .ql-editor ol li.ql-indent-3 {
  145. counter-reset: list-4 list-5 list-6 list-7 list-8 list-9
  146. }
  147. .ql-editor ol li.ql-indent-4 {
  148. counter-increment: list-4
  149. }
  150. .ql-editor ol li.ql-indent-4:before {
  151. content: counter(list-4, lower-alpha) ". "
  152. }
  153. .ql-editor ol li.ql-indent-4 {
  154. counter-reset: list-5 list-6 list-7 list-8 list-9
  155. }
  156. .ql-editor ol li.ql-indent-5 {
  157. counter-increment: list-5
  158. }
  159. .ql-editor ol li.ql-indent-5:before {
  160. content: counter(list-5, lower-roman) ". "
  161. }
  162. .ql-editor ol li.ql-indent-5 {
  163. counter-reset: list-6 list-7 list-8 list-9
  164. }
  165. .ql-editor ol li.ql-indent-6 {
  166. counter-increment: list-6
  167. }
  168. .ql-editor ol li.ql-indent-6:before {
  169. content: counter(list-6, decimal) ". "
  170. }
  171. .ql-editor ol li.ql-indent-6 {
  172. counter-reset: list-7 list-8 list-9
  173. }
  174. .ql-editor ol li.ql-indent-7 {
  175. counter-increment: list-7
  176. }
  177. .ql-editor ol li.ql-indent-7:before {
  178. content: counter(list-7, lower-alpha) ". "
  179. }
  180. .ql-editor ol li.ql-indent-7 {
  181. counter-reset: list-8 list-9
  182. }
  183. .ql-editor ol li.ql-indent-8 {
  184. counter-increment: list-8
  185. }
  186. .ql-editor ol li.ql-indent-8:before {
  187. content: counter(list-8, lower-roman) ". "
  188. }
  189. .ql-editor ol li.ql-indent-8 {
  190. counter-reset: list-9
  191. }
  192. .ql-editor ol li.ql-indent-9 {
  193. counter-increment: list-9
  194. }
  195. .ql-editor ol li.ql-indent-9:before {
  196. content: counter(list-9, decimal) ". "
  197. }
  198. .ql-editor .ql-indent-1:not(.ql-direction-rtl) {
  199. padding-left: 3em
  200. }
  201. .ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
  202. padding-left: 4.5em
  203. }
  204. .ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
  205. padding-right: 3em
  206. }
  207. .ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
  208. padding-right: 4.5em
  209. }
  210. .ql-editor .ql-indent-2:not(.ql-direction-rtl) {
  211. padding-left: 6em
  212. }
  213. .ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
  214. padding-left: 7.5em
  215. }
  216. .ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
  217. padding-right: 6em
  218. }
  219. .ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
  220. padding-right: 7.5em
  221. }
  222. .ql-editor .ql-indent-3:not(.ql-direction-rtl) {
  223. padding-left: 9em
  224. }
  225. .ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
  226. padding-left: 10.5em
  227. }
  228. .ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
  229. padding-right: 9em
  230. }
  231. .ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
  232. padding-right: 10.5em
  233. }
  234. .ql-editor .ql-indent-4:not(.ql-direction-rtl) {
  235. padding-left: 12em
  236. }
  237. .ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
  238. padding-left: 13.5em
  239. }
  240. .ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
  241. padding-right: 12em
  242. }
  243. .ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
  244. padding-right: 13.5em
  245. }
  246. .ql-editor .ql-indent-5:not(.ql-direction-rtl) {
  247. padding-left: 15em
  248. }
  249. .ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
  250. padding-left: 16.5em
  251. }
  252. .ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
  253. padding-right: 15em
  254. }
  255. .ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
  256. padding-right: 16.5em
  257. }
  258. .ql-editor .ql-indent-6:not(.ql-direction-rtl) {
  259. padding-left: 18em
  260. }
  261. .ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
  262. padding-left: 19.5em
  263. }
  264. .ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
  265. padding-right: 18em
  266. }
  267. .ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
  268. padding-right: 19.5em
  269. }
  270. .ql-editor .ql-indent-7:not(.ql-direction-rtl) {
  271. padding-left: 21em
  272. }
  273. .ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
  274. padding-left: 22.5em
  275. }
  276. .ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
  277. padding-right: 21em
  278. }
  279. .ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
  280. padding-right: 22.5em
  281. }
  282. .ql-editor .ql-indent-8:not(.ql-direction-rtl) {
  283. padding-left: 24em
  284. }
  285. .ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
  286. padding-left: 25.5em
  287. }
  288. .ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
  289. padding-right: 24em
  290. }
  291. .ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
  292. padding-right: 25.5em
  293. }
  294. .ql-editor .ql-indent-9:not(.ql-direction-rtl) {
  295. padding-left: 27em
  296. }
  297. .ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
  298. padding-left: 28.5em
  299. }
  300. .ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
  301. padding-right: 27em
  302. }
  303. .ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
  304. padding-right: 28.5em
  305. }
  306. .ql-editor .ql-video {
  307. display: block;
  308. max-width: 100%
  309. }
  310. .ql-editor .ql-video.ql-align-center {
  311. margin: 0 auto
  312. }
  313. .ql-editor .ql-video.ql-align-right {
  314. margin: 0 0 0 auto
  315. }
  316. .ql-editor .ql-bg-black {
  317. background-color: #000
  318. }
  319. .ql-editor .ql-bg-red {
  320. background-color: #e60000
  321. }
  322. .ql-editor .ql-bg-orange {
  323. background-color: #f90
  324. }
  325. .ql-editor .ql-bg-yellow {
  326. background-color: #ff0
  327. }
  328. .ql-editor .ql-bg-green {
  329. background-color: #008a00
  330. }
  331. .ql-editor .ql-bg-blue {
  332. background-color: #06c
  333. }
  334. .ql-editor .ql-bg-purple {
  335. background-color: #93f
  336. }
  337. .ql-editor .ql-color-white {
  338. color: #fff
  339. }
  340. .ql-editor .ql-color-red {
  341. color: #e60000
  342. }
  343. .ql-editor .ql-color-orange {
  344. color: #f90
  345. }
  346. .ql-editor .ql-color-yellow {
  347. color: #ff0
  348. }
  349. .ql-editor .ql-color-green {
  350. color: #008a00
  351. }
  352. .ql-editor .ql-color-blue {
  353. color: #06c
  354. }
  355. .ql-editor .ql-color-purple {
  356. color: #93f
  357. }
  358. .ql-editor .ql-font-serif {
  359. font-family: Georgia, Times New Roman, serif
  360. }
  361. .ql-editor .ql-font-monospace {
  362. font-family: Monaco, Courier New, monospace
  363. }
  364. .ql-editor .ql-size-small {
  365. font-size: .75em
  366. }
  367. .ql-editor .ql-size-large {
  368. font-size: 1.5em
  369. }
  370. .ql-editor .ql-size-huge {
  371. font-size: 2.5em
  372. }
  373. .ql-editor .ql-direction-rtl {
  374. direction: rtl;
  375. text-align: inherit
  376. }
  377. .ql-editor .ql-align-center {
  378. text-align: center
  379. }
  380. .ql-editor .ql-align-justify {
  381. text-align: justify
  382. }
  383. .ql-editor .ql-align-right {
  384. text-align: right
  385. }
  386. .ql-editor.ql-blank:before {
  387. color: rgba(0, 0, 0, .6);
  388. content: attr(data-placeholder);
  389. font-style: italic;
  390. left: 15px;
  391. pointer-events: none;
  392. position: absolute;
  393. right: 15px
  394. }
  395. .ql-bubble.ql-toolbar:after,
  396. .ql-bubble .ql-toolbar:after {
  397. clear: both;
  398. content: "";
  399. display: table
  400. }
  401. .ql-bubble.ql-toolbar button,
  402. .ql-bubble .ql-toolbar button {
  403. background: none;
  404. border: none;
  405. cursor: pointer;
  406. display: inline-block;
  407. float: left;
  408. height: 24px;
  409. padding: 3px 5px;
  410. width: 28px
  411. }
  412. .ql-bubble.ql-toolbar button svg,
  413. .ql-bubble .ql-toolbar button svg {
  414. float: left;
  415. height: 100%
  416. }
  417. .ql-bubble.ql-toolbar button:active:hover,
  418. .ql-bubble .ql-toolbar button:active:hover {
  419. outline: none
  420. }
  421. .ql-bubble.ql-toolbar input.ql-image[type=file],
  422. .ql-bubble .ql-toolbar input.ql-image[type=file] {
  423. display: none
  424. }
  425. .ql-bubble.ql-toolbar .ql-picker-item.ql-selected,
  426. .ql-bubble .ql-toolbar .ql-picker-item.ql-selected,
  427. .ql-bubble.ql-toolbar .ql-picker-item:hover,
  428. .ql-bubble .ql-toolbar .ql-picker-item:hover,
  429. .ql-bubble.ql-toolbar .ql-picker-label.ql-active,
  430. .ql-bubble .ql-toolbar .ql-picker-label.ql-active,
  431. .ql-bubble.ql-toolbar .ql-picker-label:hover,
  432. .ql-bubble .ql-toolbar .ql-picker-label:hover,
  433. .ql-bubble.ql-toolbar button.ql-active,
  434. .ql-bubble .ql-toolbar button.ql-active,
  435. .ql-bubble.ql-toolbar button:focus,
  436. .ql-bubble .ql-toolbar button:focus,
  437. .ql-bubble.ql-toolbar button:hover,
  438. .ql-bubble .ql-toolbar button:hover {
  439. color: #fff
  440. }
  441. .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,
  442. .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,
  443. .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,
  444. .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,
  445. .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,
  446. .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,
  447. .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
  448. .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
  449. .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,
  450. .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,
  451. .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
  452. .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
  453. .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,
  454. .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,
  455. .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
  456. .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
  457. .ql-bubble.ql-toolbar button.ql-active .ql-fill,
  458. .ql-bubble .ql-toolbar button.ql-active .ql-fill,
  459. .ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,
  460. .ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,
  461. .ql-bubble.ql-toolbar button:focus .ql-fill,
  462. .ql-bubble .ql-toolbar button:focus .ql-fill,
  463. .ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,
  464. .ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,
  465. .ql-bubble.ql-toolbar button:hover .ql-fill,
  466. .ql-bubble .ql-toolbar button:hover .ql-fill,
  467. .ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,
  468. .ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill {
  469. fill: #fff
  470. }
  471. .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
  472. .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
  473. .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,
  474. .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,
  475. .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,
  476. .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,
  477. .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
  478. .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
  479. .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
  480. .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,
  481. .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
  482. .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
  483. .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,
  484. .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,
  485. .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
  486. .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
  487. .ql-bubble.ql-toolbar button.ql-active .ql-stroke,
  488. .ql-bubble .ql-toolbar button.ql-active .ql-stroke,
  489. .ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,
  490. .ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,
  491. .ql-bubble.ql-toolbar button:focus .ql-stroke,
  492. .ql-bubble .ql-toolbar button:focus .ql-stroke,
  493. .ql-bubble.ql-toolbar button:focus .ql-stroke-miter,
  494. .ql-bubble .ql-toolbar button:focus .ql-stroke-miter,
  495. .ql-bubble.ql-toolbar button:hover .ql-stroke,
  496. .ql-bubble .ql-toolbar button:hover .ql-stroke,
  497. .ql-bubble.ql-toolbar button:hover .ql-stroke-miter,
  498. .ql-bubble .ql-toolbar button:hover .ql-stroke-miter {
  499. stroke: #fff
  500. }
  501. @media (pointer:coarse) {
  502. .ql-bubble.ql-toolbar button:hover:not(.ql-active),
  503. .ql-bubble .ql-toolbar button:hover:not(.ql-active) {
  504. color: #ccc
  505. }
  506. .ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,
  507. .ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,
  508. .ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,
  509. .ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {
  510. fill: #ccc
  511. }
  512. .ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,
  513. .ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,
  514. .ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,
  515. .ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {
  516. stroke: #ccc
  517. }
  518. }
  519. .ql-bubble,
  520. .ql-bubble * {
  521. -webkit-box-sizing: border-box;
  522. box-sizing: border-box
  523. }
  524. .ql-bubble .ql-hidden {
  525. display: none
  526. }
  527. .ql-bubble .ql-out-bottom,
  528. .ql-bubble .ql-out-top {
  529. visibility: hidden
  530. }
  531. .ql-bubble .ql-tooltip {
  532. position: absolute;
  533. -webkit-transform: translateY(10px);
  534. transform: translateY(10px)
  535. }
  536. .ql-bubble .ql-tooltip a {
  537. cursor: pointer;
  538. text-decoration: none
  539. }
  540. .ql-bubble .ql-tooltip.ql-flip {
  541. -webkit-transform: translateY(-10px);
  542. transform: translateY(-10px)
  543. }
  544. .ql-bubble .ql-formats {
  545. display: inline-block;
  546. vertical-align: middle
  547. }
  548. .ql-bubble .ql-formats:after {
  549. clear: both;
  550. content: "";
  551. display: table
  552. }
  553. .ql-bubble .ql-stroke {
  554. fill: none;
  555. stroke: #ccc;
  556. stroke-linecap: round;
  557. stroke-linejoin: round;
  558. stroke-width: 2
  559. }
  560. .ql-bubble .ql-stroke-miter {
  561. fill: none;
  562. stroke: #ccc;
  563. stroke-miterlimit: 10;
  564. stroke-width: 2
  565. }
  566. .ql-bubble .ql-fill,
  567. .ql-bubble .ql-stroke.ql-fill {
  568. fill: #ccc
  569. }
  570. .ql-bubble .ql-empty {
  571. fill: none
  572. }
  573. .ql-bubble .ql-even {
  574. fill-rule: evenodd
  575. }
  576. .ql-bubble .ql-stroke.ql-thin,
  577. .ql-bubble .ql-thin {
  578. stroke-width: 1
  579. }
  580. .ql-bubble .ql-transparent {
  581. opacity: .4
  582. }
  583. .ql-bubble .ql-direction svg:last-child {
  584. display: none
  585. }
  586. .ql-bubble .ql-direction.ql-active svg:last-child {
  587. display: inline
  588. }
  589. .ql-bubble .ql-direction.ql-active svg:first-child {
  590. display: none
  591. }
  592. .ql-bubble .ql-editor h1 {
  593. font-size: 2em
  594. }
  595. .ql-bubble .ql-editor h2 {
  596. font-size: 1.5em
  597. }
  598. .ql-bubble .ql-editor h3 {
  599. font-size: 1.17em
  600. }
  601. .ql-bubble .ql-editor h4 {
  602. font-size: 1em
  603. }
  604. .ql-bubble .ql-editor h5 {
  605. font-size: .83em
  606. }
  607. .ql-bubble .ql-editor h6 {
  608. font-size: .67em
  609. }
  610. .ql-bubble .ql-editor a {
  611. text-decoration: underline
  612. }
  613. .ql-bubble .ql-editor blockquote {
  614. border-left: 4px solid #ccc;
  615. margin-bottom: 5px;
  616. margin-top: 5px;
  617. padding-left: 16px
  618. }
  619. .ql-bubble .ql-editor code,
  620. .ql-bubble .ql-editor pre {
  621. background-color: #f0f0f0;
  622. border-radius: 3px
  623. }
  624. .ql-bubble .ql-editor pre {
  625. white-space: pre-wrap;
  626. margin-bottom: 5px;
  627. margin-top: 5px;
  628. padding: 5px 10px
  629. }
  630. .ql-bubble .ql-editor code {
  631. font-size: 85%;
  632. padding: 2px 4px
  633. }
  634. .ql-bubble .ql-editor pre.ql-syntax {
  635. background-color: #23241f;
  636. color: #f8f8f2;
  637. overflow: visible
  638. }
  639. .ql-bubble .ql-editor img {
  640. max-width: 100%
  641. }
  642. .ql-bubble .ql-picker {
  643. color: #ccc;
  644. display: inline-block;
  645. float: left;
  646. font-size: 14px;
  647. font-weight: 500;
  648. height: 24px;
  649. position: relative;
  650. vertical-align: middle
  651. }
  652. .ql-bubble .ql-picker-label {
  653. cursor: pointer;
  654. display: inline-block;
  655. height: 100%;
  656. padding-left: 8px;
  657. padding-right: 2px;
  658. position: relative;
  659. width: 100%
  660. }
  661. .ql-bubble .ql-picker-label:before {
  662. display: inline-block;
  663. line-height: 22px
  664. }
  665. .ql-bubble .ql-picker-options {
  666. background-color: #444;
  667. display: none;
  668. min-width: 100%;
  669. padding: 4px 8px;
  670. position: absolute;
  671. white-space: nowrap
  672. }
  673. .ql-bubble .ql-picker-options .ql-picker-item {
  674. cursor: pointer;
  675. display: block;
  676. padding-bottom: 5px;
  677. padding-top: 5px
  678. }
  679. .ql-bubble .ql-picker.ql-expanded .ql-picker-label {
  680. color: #777;
  681. z-index: 2
  682. }
  683. .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill {
  684. fill: #777
  685. }
  686. .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
  687. stroke: #777
  688. }
  689. .ql-bubble .ql-picker.ql-expanded .ql-picker-options {
  690. display: block;
  691. margin-top: -1px;
  692. top: 100%;
  693. z-index: 1
  694. }
  695. .ql-bubble .ql-color-picker,
  696. .ql-bubble .ql-icon-picker {
  697. width: 28px
  698. }
  699. .ql-bubble .ql-color-picker .ql-picker-label,
  700. .ql-bubble .ql-icon-picker .ql-picker-label {
  701. padding: 2px 4px
  702. }
  703. .ql-bubble .ql-color-picker .ql-picker-label svg,
  704. .ql-bubble .ql-icon-picker .ql-picker-label svg {
  705. right: 4px
  706. }
  707. .ql-bubble .ql-icon-picker .ql-picker-options {
  708. padding: 4px 0
  709. }
  710. .ql-bubble .ql-icon-picker .ql-picker-item {
  711. height: 24px;
  712. width: 24px;
  713. padding: 2px 4px
  714. }
  715. .ql-bubble .ql-color-picker .ql-picker-options {
  716. padding: 3px 5px;
  717. width: 152px
  718. }
  719. .ql-bubble .ql-color-picker .ql-picker-item {
  720. border: 1px solid transparent;
  721. float: left;
  722. height: 16px;
  723. margin: 2px;
  724. padding: 0;
  725. width: 16px
  726. }
  727. .ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
  728. position: absolute;
  729. margin-top: -9px;
  730. right: 0;
  731. top: 50%;
  732. width: 18px
  733. }
  734. .ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,
  735. .ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,
  736. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,
  737. .ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,
  738. .ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,
  739. .ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before {
  740. content: attr(data-label)
  741. }
  742. .ql-bubble .ql-picker.ql-header {
  743. width: 98px
  744. }
  745. .ql-bubble .ql-picker.ql-header .ql-picker-item:before,
  746. .ql-bubble .ql-picker.ql-header .ql-picker-label:before {
  747. content: "Normal"
  748. }
  749. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,
  750. .ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before {
  751. content: "Heading 1"
  752. }
  753. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,
  754. .ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before {
  755. content: "Heading 2"
  756. }
  757. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,
  758. .ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before {
  759. content: "Heading 3"
  760. }
  761. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,
  762. .ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before {
  763. content: "Heading 4"
  764. }
  765. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,
  766. .ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before {
  767. content: "Heading 5"
  768. }
  769. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,
  770. .ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before {
  771. content: "Heading 6"
  772. }
  773. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before {
  774. font-size: 2em
  775. }
  776. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before {
  777. font-size: 1.5em
  778. }
  779. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before {
  780. font-size: 1.17em
  781. }
  782. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before {
  783. font-size: 1em
  784. }
  785. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before {
  786. font-size: .83em
  787. }
  788. .ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before {
  789. font-size: .67em
  790. }
  791. .ql-bubble .ql-picker.ql-font {
  792. width: 108px
  793. }
  794. .ql-bubble .ql-picker.ql-font .ql-picker-item:before,
  795. .ql-bubble .ql-picker.ql-font .ql-picker-label:before {
  796. content: "Sans Serif"
  797. }
  798. .ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,
  799. .ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before {
  800. content: "Serif"
  801. }
  802. .ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,
  803. .ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before {
  804. content: "Monospace"
  805. }
  806. .ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before {
  807. font-family: Georgia, Times New Roman, serif
  808. }
  809. .ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before {
  810. font-family: Monaco, Courier New, monospace
  811. }
  812. .ql-bubble .ql-picker.ql-size {
  813. width: 98px
  814. }
  815. .ql-bubble .ql-picker.ql-size .ql-picker-item:before,
  816. .ql-bubble .ql-picker.ql-size .ql-picker-label:before {
  817. content: "Normal"
  818. }
  819. .ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,
  820. .ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before {
  821. content: "Small"
  822. }
  823. .ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,
  824. .ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before {
  825. content: "Large"
  826. }
  827. .ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,
  828. .ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before {
  829. content: "Huge"
  830. }
  831. .ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before {
  832. font-size: 10px
  833. }
  834. .ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before {
  835. font-size: 18px
  836. }
  837. .ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before {
  838. font-size: 32px
  839. }
  840. .ql-bubble .ql-color-picker.ql-background .ql-picker-item {
  841. background-color: #fff
  842. }
  843. .ql-bubble .ql-color-picker.ql-color .ql-picker-item {
  844. background-color: #000
  845. }
  846. .ql-bubble .ql-toolbar .ql-formats {
  847. margin: 8px 12px 8px 0
  848. }
  849. .ql-bubble .ql-toolbar .ql-formats:first-child {
  850. margin-left: 12px
  851. }
  852. .ql-bubble .ql-color-picker svg {
  853. margin: 1px
  854. }
  855. .ql-bubble .ql-color-picker .ql-picker-item.ql-selected,
  856. .ql-bubble .ql-color-picker .ql-picker-item:hover {
  857. border-color: #fff
  858. }
  859. .ql-bubble .ql-tooltip {
  860. background-color: #444;
  861. border-radius: 25px;
  862. color: #fff
  863. }
  864. .ql-bubble .ql-tooltip-arrow {
  865. border-left: 6px solid transparent;
  866. border-right: 6px solid transparent;
  867. content: " ";
  868. display: block;
  869. left: 50%;
  870. margin-left: -6px;
  871. position: absolute
  872. }
  873. .ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow {
  874. border-bottom: 6px solid #444;
  875. top: -6px
  876. }
  877. .ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow {
  878. border-top: 6px solid #444;
  879. bottom: -6px
  880. }
  881. .ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor {
  882. display: block
  883. }
  884. .ql-bubble .ql-tooltip.ql-editing .ql-formats {
  885. visibility: hidden
  886. }
  887. .ql-bubble .ql-tooltip-editor {
  888. display: none
  889. }
  890. .ql-bubble .ql-tooltip-editor input[type=text] {
  891. background: transparent;
  892. border: none;
  893. color: #fff;
  894. font-size: 13px;
  895. height: 100%;
  896. outline: none;
  897. padding: 10px 20px;
  898. position: absolute;
  899. width: 100%
  900. }
  901. .ql-bubble .ql-tooltip-editor a {
  902. top: 10px;
  903. position: absolute;
  904. right: 20px
  905. }
  906. .ql-bubble .ql-tooltip-editor a:before {
  907. color: #ccc;
  908. content: "\D7";
  909. font-size: 16px;
  910. font-weight: 700
  911. }
  912. .ql-container.ql-bubble:not(.ql-disabled) a {
  913. position: relative;
  914. white-space: nowrap
  915. }
  916. .ql-container.ql-bubble:not(.ql-disabled) a:before {
  917. background-color: #444;
  918. border-radius: 15px;
  919. top: -5px;
  920. font-size: 12px;
  921. color: #fff;
  922. content: attr(href);
  923. font-weight: 400;
  924. overflow: hidden;
  925. padding: 5px 15px;
  926. text-decoration: none;
  927. z-index: 1
  928. }
  929. .ql-container.ql-bubble:not(.ql-disabled) a:after {
  930. border-top: 6px solid #444;
  931. border-left: 6px solid transparent;
  932. border-right: 6px solid transparent;
  933. top: 0;
  934. content: " ";
  935. height: 0;
  936. width: 0
  937. }
  938. .ql-container.ql-bubble:not(.ql-disabled) a:after,
  939. .ql-container.ql-bubble:not(.ql-disabled) a:before {
  940. left: 0;
  941. margin-left: 50%;
  942. position: absolute;
  943. -webkit-transform: translate(-50%, -100%);
  944. transform: translate(-50%, -100%);
  945. -webkit-transition: visibility 0s ease .2s;
  946. transition: visibility 0s ease .2s;
  947. visibility: hidden
  948. }
  949. .ql-container.ql-bubble:not(.ql-disabled) a:hover:after,
  950. .ql-container.ql-bubble:not(.ql-disabled) a:hover:before {
  951. visibility: visible
  952. }