twntyx-css 1.0.0

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