quill.bubble.css 25 KB

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