from-quill-editor.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. /* Trimmed from: https://cdn.quilljs.com/1.3.6/quill.snow.css */
  2. .ql-editor p,
  3. .ql-editor ol,
  4. .ql-editor ul,
  5. .ql-editor pre,
  6. .ql-editor blockquote,
  7. .ql-editor h1,
  8. .ql-editor h2,
  9. .ql-editor h3,
  10. .ql-editor h4,
  11. .ql-editor h5,
  12. .ql-editor h6 {
  13. counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  14. }
  15. .ql-editor ol,
  16. .ql-editor ul {
  17. padding-left: 1.5em;
  18. }
  19. .ql-editor ol > li,
  20. .ql-editor ul > li {
  21. list-style-type: none;
  22. }
  23. .ql-editor ul > li::before {
  24. content: "\2022";
  25. }
  26. /* .ql-editor ul[data-checked=true],
  27. .ql-editor ul[data-checked=false] {
  28. pointer-events: none;
  29. }
  30. .ql-editor ul[data-checked=true] > li *,
  31. .ql-editor ul[data-checked=false] > li * {
  32. pointer-events: all;
  33. }
  34. .ql-editor ul[data-checked=true] > li::before,
  35. .ql-editor ul[data-checked=false] > li::before {
  36. color: #777;
  37. cursor: pointer;
  38. pointer-events: all;
  39. }
  40. .ql-editor ul[data-checked=true] > li::before {
  41. content: "\2611";
  42. }
  43. .ql-editor ul[data-checked=false] > li::before {
  44. content: "\2610";
  45. } */
  46. .ql-editor li::before {
  47. display: inline-block;
  48. white-space: nowrap;
  49. width: 1.2em;
  50. }
  51. .ql-editor li:not(.ql-direction-rtl)::before {
  52. margin-left: -1.5em;
  53. margin-right: 0.3em;
  54. text-align: right;
  55. }
  56. .ql-editor li.ql-direction-rtl::before {
  57. margin-left: 0.3em;
  58. margin-right: -1.5em;
  59. }
  60. .ql-editor ol li:not(.ql-direction-rtl),
  61. .ql-editor ul li:not(.ql-direction-rtl) {
  62. padding-left: 1.5em;
  63. }
  64. .ql-editor ol li.ql-direction-rtl,
  65. .ql-editor ul li.ql-direction-rtl {
  66. padding-right: 1.5em;
  67. }
  68. .ql-editor ol li {
  69. counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  70. counter-increment: list-0;
  71. }
  72. .ql-editor ol li:before {
  73. content: counter(list-0, decimal) ". ";
  74. }
  75. .ql-editor ol li.ql-indent-1 {
  76. counter-increment: list-1;
  77. }
  78. .ql-editor ol li.ql-indent-1:before {
  79. content: counter(list-1, lower-alpha) ". ";
  80. }
  81. .ql-editor ol li.ql-indent-1 {
  82. counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  83. }
  84. .ql-editor ol li.ql-indent-2 {
  85. counter-increment: list-2;
  86. }
  87. .ql-editor ol li.ql-indent-2:before {
  88. content: counter(list-2, lower-roman) ". ";
  89. }
  90. .ql-editor ol li.ql-indent-2 {
  91. counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  92. }
  93. .ql-editor ol li.ql-indent-3 {
  94. counter-increment: list-3;
  95. }
  96. .ql-editor ol li.ql-indent-3:before {
  97. content: counter(list-3, decimal) ". ";
  98. }
  99. .ql-editor ol li.ql-indent-3 {
  100. counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
  101. }
  102. .ql-editor ol li.ql-indent-4 {
  103. counter-increment: list-4;
  104. }
  105. .ql-editor ol li.ql-indent-4:before {
  106. content: counter(list-4, lower-alpha) ". ";
  107. }
  108. .ql-editor ol li.ql-indent-4 {
  109. counter-reset: list-5 list-6 list-7 list-8 list-9;
  110. }
  111. .ql-editor ol li.ql-indent-5 {
  112. counter-increment: list-5;
  113. }
  114. .ql-editor ol li.ql-indent-5:before {
  115. content: counter(list-5, lower-roman) ". ";
  116. }
  117. .ql-editor ol li.ql-indent-5 {
  118. counter-reset: list-6 list-7 list-8 list-9;
  119. }
  120. .ql-editor ol li.ql-indent-6 {
  121. counter-increment: list-6;
  122. }
  123. .ql-editor ol li.ql-indent-6:before {
  124. content: counter(list-6, decimal) ". ";
  125. }
  126. .ql-editor ol li.ql-indent-6 {
  127. counter-reset: list-7 list-8 list-9;
  128. }
  129. .ql-editor ol li.ql-indent-7 {
  130. counter-increment: list-7;
  131. }
  132. .ql-editor ol li.ql-indent-7:before {
  133. content: counter(list-7, lower-alpha) ". ";
  134. }
  135. .ql-editor ol li.ql-indent-7 {
  136. counter-reset: list-8 list-9;
  137. }
  138. .ql-editor ol li.ql-indent-8 {
  139. counter-increment: list-8;
  140. }
  141. .ql-editor ol li.ql-indent-8:before {
  142. content: counter(list-8, lower-roman) ". ";
  143. }
  144. .ql-editor ol li.ql-indent-8 {
  145. counter-reset: list-9;
  146. }
  147. .ql-editor ol li.ql-indent-9 {
  148. counter-increment: list-9;
  149. }
  150. .ql-editor ol li.ql-indent-9:before {
  151. content: counter(list-9, decimal) ". ";
  152. }
  153. .ql-editor .ql-indent-1:not(.ql-direction-rtl) {
  154. padding-left: 3em;
  155. }
  156. .ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
  157. padding-left: 4.5em;
  158. }
  159. .ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
  160. padding-right: 3em;
  161. }
  162. .ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
  163. padding-right: 4.5em;
  164. }
  165. .ql-editor .ql-indent-2:not(.ql-direction-rtl) {
  166. padding-left: 6em;
  167. }
  168. .ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
  169. padding-left: 7.5em;
  170. }
  171. .ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
  172. padding-right: 6em;
  173. }
  174. .ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
  175. padding-right: 7.5em;
  176. }
  177. .ql-editor .ql-indent-3:not(.ql-direction-rtl) {
  178. padding-left: 9em;
  179. }
  180. .ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
  181. padding-left: 10.5em;
  182. }
  183. .ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
  184. padding-right: 9em;
  185. }
  186. .ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
  187. padding-right: 10.5em;
  188. }
  189. .ql-editor .ql-indent-4:not(.ql-direction-rtl) {
  190. padding-left: 12em;
  191. }
  192. .ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
  193. padding-left: 13.5em;
  194. }
  195. .ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
  196. padding-right: 12em;
  197. }
  198. .ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
  199. padding-right: 13.5em;
  200. }
  201. .ql-editor .ql-indent-5:not(.ql-direction-rtl) {
  202. padding-left: 15em;
  203. }
  204. .ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
  205. padding-left: 16.5em;
  206. }
  207. .ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
  208. padding-right: 15em;
  209. }
  210. .ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
  211. padding-right: 16.5em;
  212. }
  213. .ql-editor .ql-indent-6:not(.ql-direction-rtl) {
  214. padding-left: 18em;
  215. }
  216. .ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
  217. padding-left: 19.5em;
  218. }
  219. .ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
  220. padding-right: 18em;
  221. }
  222. .ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
  223. padding-right: 19.5em;
  224. }
  225. .ql-editor .ql-indent-7:not(.ql-direction-rtl) {
  226. padding-left: 21em;
  227. }
  228. .ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
  229. padding-left: 22.5em;
  230. }
  231. .ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
  232. padding-right: 21em;
  233. }
  234. .ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
  235. padding-right: 22.5em;
  236. }
  237. .ql-editor .ql-indent-8:not(.ql-direction-rtl) {
  238. padding-left: 24em;
  239. }
  240. .ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
  241. padding-left: 25.5em;
  242. }
  243. .ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
  244. padding-right: 24em;
  245. }
  246. .ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
  247. padding-right: 25.5em;
  248. }
  249. .ql-editor .ql-indent-9:not(.ql-direction-rtl) {
  250. padding-left: 27em;
  251. }
  252. .ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
  253. padding-left: 28.5em;
  254. }
  255. .ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
  256. padding-right: 27em;
  257. }
  258. .ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
  259. padding-right: 28.5em;
  260. }
  261. .ql-editor .ql-align-center {
  262. text-align: center;
  263. }
  264. .ql-editor .ql-align-justify {
  265. text-align: justify;
  266. }
  267. .ql-editor .ql-align-right {
  268. text-align: right;
  269. }