quill.scss
387 lines
| 1 | .ql-description { |
| 2 | .ql-font-serif { |
| 3 | font-family: |
| 4 | Georgia, |
| 5 | Times New Roman, |
| 6 | serif; |
| 7 | } |
| 8 | |
| 9 | .ql-font-monospace { |
| 10 | font-family: |
| 11 | Monaco, |
| 12 | Courier New, |
| 13 | monospace; |
| 14 | } |
| 15 | |
| 16 | .ql-size-small { |
| 17 | font-size: 0.75em; |
| 18 | } |
| 19 | |
| 20 | .ql-size-large { |
| 21 | font-size: 1.5em; |
| 22 | } |
| 23 | |
| 24 | .ql-size-huge { |
| 25 | font-size: 2.5em; |
| 26 | } |
| 27 | |
| 28 | .ql-direction-rtl { |
| 29 | direction: rtl; |
| 30 | text-align: inherit; |
| 31 | } |
| 32 | |
| 33 | .ql-align-center { |
| 34 | text-align: center; |
| 35 | } |
| 36 | |
| 37 | .ql-align-justify { |
| 38 | text-align: justify; |
| 39 | } |
| 40 | |
| 41 | .ql-align-right { |
| 42 | text-align: right; |
| 43 | } |
| 44 | |
| 45 | p { |
| 46 | text-align: revert; |
| 47 | } |
| 48 | |
| 49 | p, |
| 50 | ol, |
| 51 | ul, |
| 52 | pre, |
| 53 | blockquote, |
| 54 | h1, |
| 55 | h2, |
| 56 | h3, |
| 57 | h4, |
| 58 | h5, |
| 59 | h6 { |
| 60 | margin: 0; |
| 61 | padding: 0; |
| 62 | counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; |
| 63 | } |
| 64 | |
| 65 | ol, |
| 66 | ul { |
| 67 | padding-left: 1.5em; |
| 68 | } |
| 69 | |
| 70 | ol > li, |
| 71 | ul > li { |
| 72 | list-style-type: none; |
| 73 | } |
| 74 | ul > li::before { |
| 75 | content: '\2022'; |
| 76 | } |
| 77 | |
| 78 | ul[data-checked='true']='true'], |
| 79 | ul[data-checked='false']='false'] { |
| 80 | pointer-events: none; |
| 81 | } |
| 82 | |
| 83 | ul[data-checked='true']='true'] > li *, |
| 84 | ul[data-checked='false']='false'] > li * { |
| 85 | pointer-events: all; |
| 86 | } |
| 87 | |
| 88 | ul[data-checked='true']='true'] > li::before, |
| 89 | ul[data-checked='false']='false'] > li::before { |
| 90 | color: #777; |
| 91 | cursor: pointer; |
| 92 | pointer-events: all; |
| 93 | } |
| 94 | |
| 95 | ul[data-checked='true']='true'] > li::before { |
| 96 | content: '\2611'; |
| 97 | } |
| 98 | |
| 99 | ul[data-checked='false']='false'] > li::before { |
| 100 | content: '\2610'; |
| 101 | } |
| 102 | |
| 103 | li::before { |
| 104 | display: inline-block; |
| 105 | white-space: nowrap; |
| 106 | width: 1.2em; |
| 107 | } |
| 108 | |
| 109 | li:not(.ql-direction-rtl)::before { |
| 110 | margin-left: -1.5em; |
| 111 | margin-right: 0.3em; |
| 112 | text-align: right; |
| 113 | } |
| 114 | |
| 115 | li.ql-direction-rtl::before { |
| 116 | margin-left: 0.3em; |
| 117 | margin-right: -1.5em; |
| 118 | } |
| 119 | |
| 120 | ol li:not(.ql-direction-rtl), |
| 121 | ul li:not(.ql-direction-rtl) { |
| 122 | padding-left: 1.5em; |
| 123 | } |
| 124 | |
| 125 | ol li.ql-direction-rtl, |
| 126 | ul li.ql-direction-rtl { |
| 127 | padding-right: 1.5em; |
| 128 | } |
| 129 | |
| 130 | ol li { |
| 131 | counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; |
| 132 | counter-increment: list-0; |
| 133 | } |
| 134 | |
| 135 | ol li:before { |
| 136 | content: counter(list-0, decimal) '. '; |
| 137 | } |
| 138 | |
| 139 | ol li.ql-indent-1 { |
| 140 | counter-increment: list-1; |
| 141 | } |
| 142 | |
| 143 | ol li.ql-indent-1:before { |
| 144 | content: counter(list-1, lower-alpha) '. '; |
| 145 | } |
| 146 | |
| 147 | ol li.ql-indent-1 { |
| 148 | counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; |
| 149 | } |
| 150 | |
| 151 | ol li.ql-indent-2 { |
| 152 | counter-increment: list-2; |
| 153 | } |
| 154 | |
| 155 | ol li.ql-indent-2:before { |
| 156 | content: counter(list-2, lower-roman) '. '; |
| 157 | } |
| 158 | |
| 159 | ol li.ql-indent-2 { |
| 160 | counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9; |
| 161 | } |
| 162 | |
| 163 | ol li.ql-indent-3 { |
| 164 | counter-increment: list-3; |
| 165 | } |
| 166 | |
| 167 | ol li.ql-indent-3:before { |
| 168 | content: counter(list-3, decimal) '. '; |
| 169 | } |
| 170 | |
| 171 | ol li.ql-indent-3 { |
| 172 | counter-reset: list-4 list-5 list-6 list-7 list-8 list-9; |
| 173 | } |
| 174 | |
| 175 | ol li.ql-indent-4 { |
| 176 | counter-increment: list-4; |
| 177 | } |
| 178 | |
| 179 | ol li.ql-indent-4:before { |
| 180 | content: counter(list-4, lower-alpha) '. '; |
| 181 | } |
| 182 | |
| 183 | ol li.ql-indent-4 { |
| 184 | counter-reset: list-5 list-6 list-7 list-8 list-9; |
| 185 | } |
| 186 | |
| 187 | ol li.ql-indent-5 { |
| 188 | counter-increment: list-5; |
| 189 | } |
| 190 | |
| 191 | ol li.ql-indent-5:before { |
| 192 | content: counter(list-5, lower-roman) '. '; |
| 193 | } |
| 194 | |
| 195 | ol li.ql-indent-5 { |
| 196 | counter-reset: list-6 list-7 list-8 list-9; |
| 197 | } |
| 198 | |
| 199 | ol li.ql-indent-6 { |
| 200 | counter-increment: list-6; |
| 201 | } |
| 202 | |
| 203 | ol li.ql-indent-6:before { |
| 204 | content: counter(list-6, decimal) '. '; |
| 205 | } |
| 206 | |
| 207 | ol li.ql-indent-6 { |
| 208 | counter-reset: list-7 list-8 list-9; |
| 209 | } |
| 210 | |
| 211 | ol li.ql-indent-7 { |
| 212 | counter-increment: list-7; |
| 213 | } |
| 214 | |
| 215 | ol li.ql-indent-7:before { |
| 216 | content: counter(list-7, lower-alpha) '. '; |
| 217 | } |
| 218 | |
| 219 | ol li.ql-indent-7 { |
| 220 | counter-reset: list-8 list-9; |
| 221 | } |
| 222 | |
| 223 | ol li.ql-indent-8 { |
| 224 | counter-increment: list-8; |
| 225 | } |
| 226 | |
| 227 | ol li.ql-indent-8:before { |
| 228 | content: counter(list-8, lower-roman) '. '; |
| 229 | } |
| 230 | |
| 231 | ol li.ql-indent-8 { |
| 232 | counter-reset: list-9; |
| 233 | } |
| 234 | |
| 235 | ol li.ql-indent-9 { |
| 236 | counter-increment: list-9; |
| 237 | } |
| 238 | |
| 239 | ol li.ql-indent-9:before { |
| 240 | content: counter(list-9, decimal) '. '; |
| 241 | } |
| 242 | |
| 243 | .ql-indent-1:not(.ql-direction-rtl) { |
| 244 | padding-left: 3em; |
| 245 | } |
| 246 | |
| 247 | li.ql-indent-1:not(.ql-direction-rtl) { |
| 248 | padding-left: 4.5em; |
| 249 | } |
| 250 | |
| 251 | .ql-indent-1.ql-direction-rtl.ql-align-right { |
| 252 | padding-right: 3em; |
| 253 | } |
| 254 | |
| 255 | li.ql-indent-1.ql-direction-rtl.ql-align-right { |
| 256 | padding-right: 4.5em; |
| 257 | } |
| 258 | |
| 259 | .ql-indent-2:not(.ql-direction-rtl) { |
| 260 | padding-left: 6em; |
| 261 | } |
| 262 | |
| 263 | li.ql-indent-2:not(.ql-direction-rtl) { |
| 264 | padding-left: 7.5em; |
| 265 | } |
| 266 | |
| 267 | .ql-indent-2.ql-direction-rtl.ql-align-right { |
| 268 | padding-right: 6em; |
| 269 | } |
| 270 | |
| 271 | li.ql-indent-2.ql-direction-rtl.ql-align-right { |
| 272 | padding-right: 7.5em; |
| 273 | } |
| 274 | |
| 275 | .ql-indent-3:not(.ql-direction-rtl) { |
| 276 | padding-left: 9em; |
| 277 | } |
| 278 | |
| 279 | li.ql-indent-3:not(.ql-direction-rtl) { |
| 280 | padding-left: 10.5em; |
| 281 | } |
| 282 | |
| 283 | .ql-indent-3.ql-direction-rtl.ql-align-right { |
| 284 | padding-right: 9em; |
| 285 | } |
| 286 | |
| 287 | li.ql-indent-3.ql-direction-rtl.ql-align-right { |
| 288 | padding-right: 10.5em; |
| 289 | } |
| 290 | |
| 291 | .ql-indent-4:not(.ql-direction-rtl) { |
| 292 | padding-left: 12em; |
| 293 | } |
| 294 | |
| 295 | li.ql-indent-4:not(.ql-direction-rtl) { |
| 296 | padding-left: 13.5em; |
| 297 | } |
| 298 | |
| 299 | .ql-indent-4.ql-direction-rtl.ql-align-right { |
| 300 | padding-right: 12em; |
| 301 | } |
| 302 | |
| 303 | li.ql-indent-4.ql-direction-rtl.ql-align-right { |
| 304 | padding-right: 13.5em; |
| 305 | } |
| 306 | |
| 307 | .ql-indent-5:not(.ql-direction-rtl) { |
| 308 | padding-left: 15em; |
| 309 | } |
| 310 | |
| 311 | li.ql-indent-5:not(.ql-direction-rtl) { |
| 312 | padding-left: 16.5em; |
| 313 | } |
| 314 | |
| 315 | .ql-indent-5.ql-direction-rtl.ql-align-right { |
| 316 | padding-right: 15em; |
| 317 | } |
| 318 | |
| 319 | li.ql-indent-5.ql-direction-rtl.ql-align-right { |
| 320 | padding-right: 16.5em; |
| 321 | } |
| 322 | |
| 323 | .ql-indent-6:not(.ql-direction-rtl) { |
| 324 | padding-left: 18em; |
| 325 | } |
| 326 | |
| 327 | li.ql-indent-6:not(.ql-direction-rtl) { |
| 328 | padding-left: 19.5em; |
| 329 | } |
| 330 | |
| 331 | .ql-indent-6.ql-direction-rtl.ql-align-right { |
| 332 | padding-right: 18em; |
| 333 | } |
| 334 | |
| 335 | li.ql-indent-6.ql-direction-rtl.ql-align-right { |
| 336 | padding-right: 19.5em; |
| 337 | } |
| 338 | |
| 339 | .ql-indent-7:not(.ql-direction-rtl) { |
| 340 | padding-left: 21em; |
| 341 | } |
| 342 | |
| 343 | li.ql-indent-7:not(.ql-direction-rtl) { |
| 344 | padding-left: 22.5em; |
| 345 | } |
| 346 | |
| 347 | .ql-indent-7.ql-direction-rtl.ql-align-right { |
| 348 | padding-right: 21em; |
| 349 | } |
| 350 | |
| 351 | li.ql-indent-7.ql-direction-rtl.ql-align-right { |
| 352 | padding-right: 22.5em; |
| 353 | } |
| 354 | |
| 355 | .ql-indent-8:not(.ql-direction-rtl) { |
| 356 | padding-left: 24em; |
| 357 | } |
| 358 | |
| 359 | li.ql-indent-8:not(.ql-direction-rtl) { |
| 360 | padding-left: 25.5em; |
| 361 | } |
| 362 | |
| 363 | .ql-indent-8.ql-direction-rtl.ql-align-right { |
| 364 | padding-right: 24em; |
| 365 | } |
| 366 | |
| 367 | li.ql-indent-8.ql-direction-rtl.ql-align-right { |
| 368 | padding-right: 25.5em; |
| 369 | } |
| 370 | |
| 371 | .ql-indent-9:not(.ql-direction-rtl) { |
| 372 | padding-left: 27em; |
| 373 | } |
| 374 | |
| 375 | li.ql-indent-9:not(.ql-direction-rtl) { |
| 376 | padding-left: 28.5em; |
| 377 | } |
| 378 | |
| 379 | .ql-indent-9.ql-direction-rtl.ql-align-right { |
| 380 | padding-right: 27em; |
| 381 | } |
| 382 | |
| 383 | li.ql-indent-9.ql-direction-rtl.ql-align-right { |
| 384 | padding-right: 28.5em; |
| 385 | } |
| 386 | } |
| 387 |