quill.bubble.css 25 KB

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