nuxt-glorious 2.0.0-develop-32 → 2.0.0-develop-34

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.
@@ -1,763 +1,32 @@
1
- @charset "UTF-8";
2
- .glorious-accordion {
3
- @apply border rounded h-max text-sm cursor-pointer;
4
- }
5
- .glorious-accordion.color-orange {
6
- @apply border-orange-500;
7
- }
8
- .glorious-accordion.color-orange div.header:hover {
9
- @apply rounded bg-orange-100;
10
- }
11
- .glorious-accordion.color-orange.accordion-open + div.body {
12
- @apply mt-2 pt-3 border-t border-orange-500;
1
+ .glorious-loading {
2
+ aspect-ratio: 1;
3
+ border-radius: 50%;
4
+ animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
5
+ @apply border-3;
13
6
  }
14
- .glorious-accordion.color-blue {
15
- @apply border-blue-500;
7
+ .glorious-loading.color-primary {
8
+ @apply border-primary-500;
16
9
  }
17
- .glorious-accordion.color-blue div.header:hover {
18
- @apply rounded bg-blue-100;
10
+ .glorious-loading.color-secondary {
11
+ @apply border-secondary-500;
19
12
  }
20
- .glorious-accordion.color-blue.accordion-open + div.body {
21
- @apply mt-2 pt-3 border-t border-blue-500;
13
+ .glorious-loading.color-sky {
14
+ @apply border-sky-500;
22
15
  }
23
- .glorious-accordion.color-gray {
16
+ .glorious-loading.color-gray {
24
17
  @apply border-gray-500;
25
18
  }
26
- .glorious-accordion.color-gray div.header:hover {
27
- @apply rounded bg-gray-100;
28
- }
29
- .glorious-accordion.color-gray.accordion-open + div.body {
30
- @apply mt-2 pt-3 border-t border-gray-500;
31
- }
32
- .glorious-accordion.color-red {
19
+ .glorious-loading.color-red {
33
20
  @apply border-red-500;
34
21
  }
35
- .glorious-accordion.color-red div.header:hover {
36
- @apply rounded bg-red-100;
37
- }
38
- .glorious-accordion.color-red.accordion-open + div.body {
39
- @apply mt-2 pt-3 border-t border-red-500;
40
- }
41
- .glorious-accordion.color-green {
42
- @apply border-green-500;
43
- }
44
- .glorious-accordion.color-green div.header:hover {
45
- @apply rounded bg-green-100;
46
- }
47
- .glorious-accordion.color-green.accordion-open + div.body {
48
- @apply mt-2 pt-3 border-t border-green-500;
49
- }
50
- .glorious-accordion div.header {
51
- @apply p-3 flex justify-between items-center;
52
- }
53
- .glorious-accordion div.header div:last-child {
54
- @apply rotate-90 transition-[rotate] duration-300 ease-out text-sm;
55
- }
56
- .glorious-accordion div.header.accordion-open div:last-child {
57
- @apply rotate-270 transition-[rotate] duration-300 ease-out;
58
- }
59
- .glorious-accordion div.header.accordion-open + div.body {
60
- @apply border-t py-3;
61
- }
62
- .glorious-accordion div.body {
63
- @apply px-3 max-h-0 overflow-hidden transition-all duration-300 ease-out text-sm;
64
- }
65
-
66
- .glorious-alert {
67
- @apply p-3 rounded-md shadow-md;
68
- }
69
- .glorious-alert.color-orange {
70
- @apply bg-orange-100;
71
- }
72
- .glorious-alert.color-blue {
73
- @apply bg-blue-100;
74
- }
75
- .glorious-alert.color-gray {
76
- @apply bg-gray-100;
77
- }
78
- .glorious-alert.color-red {
79
- @apply bg-red-100;
80
- }
81
- .glorious-alert.color-green {
82
- @apply bg-green-100;
83
- }
84
- .glorious-alert.color-orange {
85
- @apply border border-orange-300;
86
- }
87
- .glorious-alert.color-blue {
88
- @apply border border-blue-300;
89
- }
90
- .glorious-alert.color-gray {
91
- @apply border border-gray-300;
92
- }
93
- .glorious-alert.color-red {
94
- @apply border border-red-300;
95
- }
96
- .glorious-alert.color-green {
97
- @apply border border-green-300;
98
- }
99
-
100
- .glorious-avatar {
101
- @apply overflow-hidden;
102
- }
103
- .glorious-avatar.size-5xl {
104
- @apply w-[58px] h-[58px];
105
- }
106
- .glorious-avatar.size-5xl > img {
107
- @apply w-[58px] h-[58px];
108
- }
109
- .glorious-avatar.size-4xl {
110
- @apply w-[54px] h-[54px];
111
- }
112
- .glorious-avatar.size-4xl > img {
113
- @apply w-[54px] h-[54px];
114
- }
115
- .glorious-avatar.size-3xl {
116
- @apply w-[50px] h-[50px];
117
- }
118
- .glorious-avatar.size-3xl > img {
119
- @apply w-[50px] h-[50px];
120
- }
121
- .glorious-avatar.size-2xl {
122
- @apply w-[46px] h-[46px];
123
- }
124
- .glorious-avatar.size-2xl > img {
125
- @apply w-[46px] h-[46px];
126
- }
127
- .glorious-avatar.size-xl {
128
- @apply w-[42px] h-[42px];
129
- }
130
- .glorious-avatar.size-xl > img {
131
- @apply w-[42px] h-[42px];
132
- }
133
- .glorious-avatar.size-lg {
134
- @apply w-[36px] h-[36px];
135
- }
136
- .glorious-avatar.size-lg > img {
137
- @apply w-[36px] h-[36px];
138
- }
139
- .glorious-avatar.size-md {
140
- @apply w-[32px] h-[32px];
141
- }
142
- .glorious-avatar.size-md > img {
143
- @apply w-[32px] h-[32px];
144
- }
145
- .glorious-avatar.size-sm {
146
- @apply w-[28px] h-[28px];
147
- }
148
- .glorious-avatar.size-sm > img {
149
- @apply w-[28px] h-[28px];
150
- }
151
- .glorious-avatar.size-xs {
152
- @apply w-[24px] h-[24px];
153
- }
154
- .glorious-avatar.size-xs > img {
155
- @apply w-[24px] h-[24px];
156
- }
157
-
158
- .glorious-breadcrumb {
159
- @apply text-sm text-gray-500;
160
- }
161
- .glorious-breadcrumb .end-text {
162
- @apply font-bold text-base text-black;
163
- }
164
-
165
- button:focus-visible {
166
- @apply outline-none;
167
- }
168
-
169
- .glorious-button {
170
- @apply rounded-md text-white px-3 relative cursor-pointer;
171
- }
172
- .glorious-button div > loading {
173
- @apply flex justify-center items-center;
22
+ .glorious-loading.size-sm {
23
+ @apply w-5;
174
24
  }
175
- .glorious-button div.loading > div > div {
25
+ .glorious-loading.size-md {
176
26
  @apply w-6;
177
27
  }
178
- .glorious-button.size-xl {
179
- @apply py-2.5;
180
- }
181
- .glorious-button.size-lg {
182
- @apply py-2;
183
- }
184
- .glorious-button.size-md {
185
- @apply py-1.5;
186
- }
187
- .glorious-button.size-sm {
188
- @apply py-1;
189
- }
190
- .glorious-button.size-xs {
191
- @apply py-0.5;
192
- }
193
-
194
- .button-color-orange {
195
- @apply bg-orange-600 border-orange-700 hover:bg-orange-700;
196
- }
197
- .button-color-orange.outline {
198
- @apply bg-transparent border outline-none;
199
- @apply text-orange-500 hover:bg-orange-100;
200
- }
201
- .button-color-orange.outline div.loading > div > div {
202
- border-color: theme("colors.orange.700") !important;
203
- }
204
- .button-color-orange:disabled {
205
- @apply cursor-not-allowed;
206
- }
207
- .button-color-orange:disabled:not(:disabled) {
208
- @apply bg-orange-300;
209
- }
210
-
211
- .button-color-blue {
212
- @apply bg-blue-600 border-blue-700 hover:bg-blue-700;
213
- }
214
- .button-color-blue.outline {
215
- @apply bg-transparent border outline-none;
216
- @apply text-blue-500 hover:bg-blue-100;
217
- }
218
- .button-color-blue.outline div.loading > div > div {
219
- border-color: theme("colors.blue.700") !important;
220
- }
221
- .button-color-blue:disabled {
222
- @apply cursor-not-allowed;
223
- }
224
- .button-color-blue:disabled:not(:disabled) {
225
- @apply bg-blue-300;
226
- }
227
-
228
- .button-color-gray {
229
- @apply bg-gray-600 border-gray-700 hover:bg-gray-700;
230
- }
231
- .button-color-gray.outline {
232
- @apply bg-transparent border outline-none;
233
- @apply text-gray-500 hover:bg-gray-100;
234
- }
235
- .button-color-gray.outline div.loading > div > div {
236
- border-color: theme("colors.gray.700") !important;
237
- }
238
- .button-color-gray:disabled {
239
- @apply cursor-not-allowed;
240
- }
241
- .button-color-gray:disabled:not(:disabled) {
242
- @apply bg-gray-300;
243
- }
244
-
245
- .button-color-red {
246
- @apply bg-red-600 border-red-700 hover:bg-red-700;
247
- }
248
- .button-color-red.outline {
249
- @apply bg-transparent border outline-none;
250
- @apply text-red-500 hover:bg-red-100;
251
- }
252
- .button-color-red.outline div.loading > div > div {
253
- border-color: theme("colors.red.700") !important;
254
- }
255
- .button-color-red:disabled {
256
- @apply cursor-not-allowed;
257
- }
258
- .button-color-red:disabled:not(:disabled) {
259
- @apply bg-red-300;
260
- }
261
-
262
- .button-color-green {
263
- @apply bg-green-600 border-green-700 hover:bg-green-700;
264
- }
265
- .button-color-green.outline {
266
- @apply bg-transparent border outline-none;
267
- @apply text-green-500 hover:bg-green-100;
268
- }
269
- .button-color-green.outline div.loading > div > div {
270
- border-color: theme("colors.green.700") !important;
271
- }
272
- .button-color-green:disabled {
273
- @apply cursor-not-allowed;
274
- }
275
- .button-color-green:disabled:not(:disabled) {
276
- @apply bg-green-300;
277
- }
278
-
279
- .glorious-checkbox {
280
- @apply block relative cursor-pointer;
281
- }
282
- .glorious-checkbox > input {
283
- @apply hidden;
284
- }
285
- .glorious-checkbox > input:checked ~ div {
286
- @apply border-none;
287
- }
288
- .glorious-checkbox > input:checked ~ div:after {
289
- @apply block h-max w-max;
290
- }
291
- .glorious-checkbox > input:disabled ~ div {
292
- @apply cursor-not-allowed;
293
- }
294
- .glorious-checkbox > div:last-child {
295
- @apply border border-gray-500 rounded bg-white left-0 top-0 absolute hover:shadow-lg;
296
- }
297
- .glorious-checkbox > div:last-child > div:first-child {
298
- @apply hidden;
299
- }
300
- .glorious-checkbox > div:last-child:after {
301
- content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgMzIgMzIiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNIDI4LjI4MTI1IDYuMjgxMjUgTCAxMSAyMy41NjI1IEwgMy43MTg3NSAxNi4yODEyNSBMIDIuMjgxMjUgMTcuNzE4NzUgTCAxMC4yODEyNSAyNS43MTg3NSBMIDExIDI2LjQwNjI1IEwgMTEuNzE4NzUgMjUuNzE4NzUgTCAyOS43MTg3NSA3LjcxODc1IFoiLz48L3N2Zz4K);
302
- @apply absolute hidden top-1 right-0 left-0 bottom-0 m-auto;
303
- }
304
- .glorious-checkbox.color-orange > input:checked ~ div {
305
- @apply bg-orange-500;
306
- }
307
- .glorious-checkbox.color-blue > input:checked ~ div {
308
- @apply bg-blue-500;
309
- }
310
- .glorious-checkbox.color-gray > input:checked ~ div {
311
- @apply bg-gray-500;
312
- }
313
- .glorious-checkbox.color-red > input:checked ~ div {
314
- @apply bg-red-500;
315
- }
316
- .glorious-checkbox.color-green > input:checked ~ div {
317
- @apply bg-green-500;
318
- }
319
- .glorious-checkbox.size-5xl {
320
- @apply w-[54px] h-[54px];
321
- }
322
- .glorious-checkbox.size-5xl > div:last-child {
323
- @apply w-[54px] h-[54px];
324
- }
325
- .glorious-checkbox.size-4xl {
326
- @apply w-[50px] h-[50px];
327
- }
328
- .glorious-checkbox.size-4xl > div:last-child {
329
- @apply w-[50px] h-[50px];
330
- }
331
- .glorious-checkbox.size-3xl {
332
- @apply w-[46px] h-[46px];
333
- }
334
- .glorious-checkbox.size-3xl > div:last-child {
335
- @apply w-[46px] h-[46px];
336
- }
337
- .glorious-checkbox.size-2xl {
338
- @apply w-[42px] h-[42px];
339
- }
340
- .glorious-checkbox.size-2xl > div:last-child {
341
- @apply w-[42px] h-[42px];
342
- }
343
- .glorious-checkbox.size-xl {
344
- @apply w-[38px] h-[38px];
345
- }
346
- .glorious-checkbox.size-xl > div:last-child {
347
- @apply w-[38px] h-[38px];
348
- }
349
- .glorious-checkbox.size-lg {
350
- @apply w-[32px] h-[32px];
351
- }
352
- .glorious-checkbox.size-lg > div:last-child {
353
- @apply w-[32px] h-[32px];
354
- }
355
- .glorious-checkbox.size-md {
356
- @apply w-[28px] h-[28px];
357
- }
358
- .glorious-checkbox.size-md > div:last-child {
359
- @apply w-[28px] h-[28px];
360
- }
361
- .glorious-checkbox.size-sm {
362
- @apply w-[24px] h-[24px];
363
- }
364
- .glorious-checkbox.size-sm > div:last-child {
365
- @apply w-[24px] h-[24px];
366
- }
367
- .glorious-checkbox.size-xs {
368
- @apply w-[20px] h-[20px];
369
- }
370
- .glorious-checkbox.size-xs > div:last-child {
371
- @apply w-[20px] h-[20px];
372
- }
373
-
374
- .glorious-drawer {
375
- @apply fixed top-0 bg-white h-full w-[300px] z-[50];
376
- }
377
- .glorious-drawer > div {
378
- @apply bg-white min-h-screen;
379
- }
380
- .glorious-drawer.close.right {
381
- animation: drawer-close-right 250ms normal forwards;
382
- }
383
- .glorious-drawer.close.left {
384
- animation: drawer-close-left 250ms normal forwards;
385
- }
386
- .glorious-drawer.open {
387
- @apply flex;
388
- }
389
- .glorious-drawer.open.right {
390
- animation: drawer-open-right 100ms normal forwards;
391
- }
392
- .glorious-drawer.open.left {
393
- animation: drawer-open-left 100ms normal forwards;
394
- }
395
-
396
- @keyframes drawer-open-right {
397
- from {
398
- right: -300px;
399
- }
400
- to {
401
- right: 0;
402
- }
403
- }
404
- @keyframes drawer-close-right {
405
- from {
406
- right: 0;
407
- }
408
- to {
409
- right: 300px;
410
- display: hidden;
411
- }
412
- }
413
- @keyframes drawer-open-left {
414
- from {
415
- left: -300px;
416
- }
417
- to {
418
- left: 0;
419
- }
420
- }
421
- @keyframes drawer-close-left {
422
- from {
423
- left: 0;
424
- }
425
- to {
426
- left: -300px;
427
- display: hidden;
428
- }
429
- }
430
- .glorious-file-orange {
431
- @apply ring-orange-500;
432
- @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
433
- }
434
- .glorious-file-orange > div.placeholder {
435
- @apply bg-orange-500;
436
- @apply text-white px-3 w-max;
437
- }
438
- .glorious-file-orange > div.placeholder.size-xl {
439
- @apply py-2.5;
440
- }
441
- .glorious-file-orange > div.placeholder.size-lg {
442
- @apply py-2;
443
- }
444
- .glorious-file-orange > div.placeholder.size-md {
445
- @apply py-1.5;
446
- }
447
- .glorious-file-orange > div.placeholder.size-sm {
448
- @apply py-1;
449
- }
450
- .glorious-file-orange > div.placeholder.size-xs {
451
- @apply py-0.5;
452
- }
453
- .glorious-file-orange > div:last-child {
454
- @apply absolute left-3 hidden;
455
- }
456
-
457
- .glorious-file-blue {
458
- @apply ring-blue-500;
459
- @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
460
- }
461
- .glorious-file-blue > div.placeholder {
462
- @apply bg-blue-500;
463
- @apply text-white px-3 w-max;
464
- }
465
- .glorious-file-blue > div.placeholder.size-xl {
466
- @apply py-2.5;
467
- }
468
- .glorious-file-blue > div.placeholder.size-lg {
469
- @apply py-2;
470
- }
471
- .glorious-file-blue > div.placeholder.size-md {
472
- @apply py-1.5;
473
- }
474
- .glorious-file-blue > div.placeholder.size-sm {
475
- @apply py-1;
476
- }
477
- .glorious-file-blue > div.placeholder.size-xs {
478
- @apply py-0.5;
479
- }
480
- .glorious-file-blue > div:last-child {
481
- @apply absolute left-3 hidden;
482
- }
483
-
484
- .glorious-file-gray {
485
- @apply ring-gray-500;
486
- @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
487
- }
488
- .glorious-file-gray > div.placeholder {
489
- @apply bg-gray-500;
490
- @apply text-white px-3 w-max;
491
- }
492
- .glorious-file-gray > div.placeholder.size-xl {
493
- @apply py-2.5;
494
- }
495
- .glorious-file-gray > div.placeholder.size-lg {
496
- @apply py-2;
497
- }
498
- .glorious-file-gray > div.placeholder.size-md {
499
- @apply py-1.5;
500
- }
501
- .glorious-file-gray > div.placeholder.size-sm {
502
- @apply py-1;
503
- }
504
- .glorious-file-gray > div.placeholder.size-xs {
505
- @apply py-0.5;
506
- }
507
- .glorious-file-gray > div:last-child {
508
- @apply absolute left-3 hidden;
509
- }
510
-
511
- .glorious-file-red {
512
- @apply ring-red-500;
513
- @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
514
- }
515
- .glorious-file-red > div.placeholder {
516
- @apply bg-red-500;
517
- @apply text-white px-3 w-max;
518
- }
519
- .glorious-file-red > div.placeholder.size-xl {
520
- @apply py-2.5;
521
- }
522
- .glorious-file-red > div.placeholder.size-lg {
523
- @apply py-2;
524
- }
525
- .glorious-file-red > div.placeholder.size-md {
526
- @apply py-1.5;
527
- }
528
- .glorious-file-red > div.placeholder.size-sm {
529
- @apply py-1;
530
- }
531
- .glorious-file-red > div.placeholder.size-xs {
532
- @apply py-0.5;
533
- }
534
- .glorious-file-red > div:last-child {
535
- @apply absolute left-3 hidden;
536
- }
537
-
538
- .glorious-file-green {
539
- @apply ring-green-500;
540
- @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
541
- }
542
- .glorious-file-green > div.placeholder {
543
- @apply bg-green-500;
544
- @apply text-white px-3 w-max;
545
- }
546
- .glorious-file-green > div.placeholder.size-xl {
547
- @apply py-2.5;
548
- }
549
- .glorious-file-green > div.placeholder.size-lg {
550
- @apply py-2;
551
- }
552
- .glorious-file-green > div.placeholder.size-md {
553
- @apply py-1.5;
554
- }
555
- .glorious-file-green > div.placeholder.size-sm {
556
- @apply py-1;
557
- }
558
- .glorious-file-green > div.placeholder.size-xs {
559
- @apply py-0.5;
560
- }
561
- .glorious-file-green > div:last-child {
562
- @apply absolute left-3 hidden;
563
- }
564
-
565
- .glorious-input-orange {
566
- @apply ring-orange-500;
567
- @apply rounded-md ring-1 bg-white;
568
- }
569
- .glorious-input-orange.size-xl {
570
- @apply py-2.5;
571
- }
572
- .glorious-input-orange.size-lg {
573
- @apply py-2;
574
- }
575
- .glorious-input-orange.size-md {
576
- @apply py-1.5;
577
- }
578
- .glorious-input-orange.size-sm {
579
- @apply py-1;
580
- }
581
- .glorious-input-orange.size-xs {
582
- @apply py-0.5;
583
- }
584
- .glorious-input-orange:focus-visible {
585
- @apply outline-none ring-2;
586
- }
587
- .glorious-input-orange:disabled {
588
- @apply bg-orange-100;
589
- @apply cursor-not-allowed;
590
- }
591
-
592
- .glorious-input-blue {
593
- @apply ring-blue-500;
594
- @apply rounded-md ring-1 bg-white;
595
- }
596
- .glorious-input-blue.size-xl {
597
- @apply py-2.5;
598
- }
599
- .glorious-input-blue.size-lg {
600
- @apply py-2;
601
- }
602
- .glorious-input-blue.size-md {
603
- @apply py-1.5;
604
- }
605
- .glorious-input-blue.size-sm {
606
- @apply py-1;
607
- }
608
- .glorious-input-blue.size-xs {
609
- @apply py-0.5;
610
- }
611
- .glorious-input-blue:focus-visible {
612
- @apply outline-none ring-2;
613
- }
614
- .glorious-input-blue:disabled {
615
- @apply bg-blue-100;
616
- @apply cursor-not-allowed;
617
- }
618
-
619
- .glorious-input-gray {
620
- @apply ring-gray-500;
621
- @apply rounded-md ring-1 bg-white;
622
- }
623
- .glorious-input-gray.size-xl {
624
- @apply py-2.5;
625
- }
626
- .glorious-input-gray.size-lg {
627
- @apply py-2;
628
- }
629
- .glorious-input-gray.size-md {
630
- @apply py-1.5;
631
- }
632
- .glorious-input-gray.size-sm {
633
- @apply py-1;
634
- }
635
- .glorious-input-gray.size-xs {
636
- @apply py-0.5;
637
- }
638
- .glorious-input-gray:focus-visible {
639
- @apply outline-none ring-2;
640
- }
641
- .glorious-input-gray:disabled {
642
- @apply bg-gray-100;
643
- @apply cursor-not-allowed;
644
- }
645
-
646
- .glorious-input-red {
647
- @apply ring-red-500;
648
- @apply rounded-md ring-1 bg-white;
649
- }
650
- .glorious-input-red.size-xl {
651
- @apply py-2.5;
652
- }
653
- .glorious-input-red.size-lg {
654
- @apply py-2;
655
- }
656
- .glorious-input-red.size-md {
657
- @apply py-1.5;
658
- }
659
- .glorious-input-red.size-sm {
660
- @apply py-1;
661
- }
662
- .glorious-input-red.size-xs {
663
- @apply py-0.5;
664
- }
665
- .glorious-input-red:focus-visible {
666
- @apply outline-none ring-2;
667
- }
668
- .glorious-input-red:disabled {
669
- @apply bg-red-100;
670
- @apply cursor-not-allowed;
671
- }
672
-
673
- .glorious-input-green {
674
- @apply ring-green-500;
675
- @apply rounded-md ring-1 bg-white;
676
- }
677
- .glorious-input-green.size-xl {
678
- @apply py-2.5;
679
- }
680
- .glorious-input-green.size-lg {
681
- @apply py-2;
682
- }
683
- .glorious-input-green.size-md {
684
- @apply py-1.5;
685
- }
686
- .glorious-input-green.size-sm {
687
- @apply py-1;
688
- }
689
- .glorious-input-green.size-xs {
690
- @apply py-0.5;
691
- }
692
- .glorious-input-green:focus-visible {
693
- @apply outline-none ring-2;
694
- }
695
- .glorious-input-green:disabled {
696
- @apply bg-green-100;
697
- @apply cursor-not-allowed;
698
- }
699
-
700
- .glorious-input {
701
- @apply relative w-full;
702
- }
703
- .glorious-input.validation-error > div > input {
704
- @apply ring-red-500 bg-red-50;
705
- }
706
- .glorious-input > input {
707
- @apply w-full;
708
- }
709
- .glorious-input > input::placeholder {
710
- @apply text-sm;
711
- }
712
- .glorious-input.icon-xl > input {
713
- @apply rtl:pr-9 ltr:pl-9;
714
- }
715
- .glorious-input.icon-lg > input {
716
- @apply rtl:pr-9 ltr:pl-8;
717
- }
718
- .glorious-input.icon-md > input {
719
- @apply rtl:pr-9 ltr:pl-8;
720
- }
721
- .glorious-input.icon-sm > input {
722
- @apply rtl:pr-8 ltr:pl-8;
723
- }
724
- .glorious-input.icon-xsm > input {
725
- @apply rtl:pr-8 ltr:pl-7;
726
- }
727
-
728
- .glorious-input-icon {
729
- @apply absolute h-max top-0 bottom-0 my-auto rtl:right-1 ltr:left-1;
730
- }
731
-
732
- /* ----------------------------------------------- TAG */
733
- .glorious-input-tag {
734
- @apply mt-3 gap-2 flex flex-wrap;
735
- }
736
- .glorious-input-tag > div {
737
- @apply bg-green-500 px-1 rounded text-white flex items-center gap-2 cursor-pointer break-all;
738
- }
739
-
740
- .glorious-input-options {
741
- @apply p-1 shadow-lg absolute w-full bg-white rounded border-gray-200 border max-h-[200px] overflow-y-auto z-40;
742
- }
743
- .glorious-input-options > div > div {
744
- @apply p-2 hover:bg-gray-100 cursor-pointer rounded break-words;
745
- }
746
- .glorious-input-options > div > div.disabled {
747
- @apply cursor-not-allowed bg-gray-50;
748
- }
749
- .glorious-input div > input::placeholder {
750
- @apply text-gray-500;
751
- }
752
-
753
- .glorious-input-tag-delete-option {
754
- @apply border border-red-500 rounded p-1 hover:bg-red-50;
755
- }
756
-
757
- .glorious-loading {
758
- aspect-ratio: 1;
759
- border-radius: 50%;
760
- animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
28
+ .glorious-loading.size-lg {
29
+ @apply w-7;
761
30
  }
762
31
 
763
32
  @keyframes l20-1 {
@@ -797,661 +66,439 @@ button:focus-visible {
797
66
  transform: scaleY(-1) rotate(-135deg);
798
67
  }
799
68
  }
800
- html:has(.glorious-scaffold-modal.open) {
801
- @apply overflow-hidden;
802
- }
803
- html:has(.glorious-scaffold-modal.open) div.glorious-input-options {
804
- @apply md:!fixed !absolute;
69
+ .validation-error-text {
70
+ @apply text-red-500 text-sm font-semibold;
71
+ display: inline-block;
72
+ animation: vibrateErrorTextLR 0.3s ease-in-out 1;
805
73
  }
806
74
 
807
- .glorious-scaffold-modal {
808
- @apply fixed bg-white md:top-[15%] z-50 right-0 left-0 mx-auto md:rounded-md rounded-t-md md:bottom-0 bottom-0;
809
- }
810
- .glorious-scaffold-modal .close-modal-btn {
811
- @apply flex justify-center items-center w-6 h-6;
812
- }
813
- .glorious-scaffold-modal-header {
814
- @apply flex justify-between items-center px-3 pt-3;
815
- }
816
- .glorious-scaffold-modal-content {
817
- @apply overflow-y-auto max-h-[50vh] px-3 pb-3;
818
- }
819
- .glorious-scaffold-modal-footer {
820
- @apply flex justify-center gap-3 my-3;
821
- }
822
- .glorious-scaffold-modal-footer > button {
823
- @apply min-w-24;
824
- }
825
- .glorious-scaffold-modal div.glorious-input-options {
826
- @apply fixed;
827
- }
828
- .glorious-scaffold-modal-bg-blur {
829
- @apply fixed top-0 right-0 backdrop-blur-sm bg-gray-500 opacity-50 h-full w-full z-[40];
830
- }
831
- .glorious-scaffold-modal.size-full {
832
- @apply w-full h-full top-0 rounded-none;
833
- }
834
- .glorious-scaffold-modal.size-xl {
835
- @apply md:w-[70%] w-full md:h-max max-h-[calc(100%-15%)];
836
- }
837
- .glorious-scaffold-modal.size-lg {
838
- @apply md:w-[60%] w-full md:h-max max-h-[calc(100%-15%)];
839
- }
840
- .glorious-scaffold-modal.size-md {
841
- @apply md:w-[50%] w-full md:h-max max-h-[calc(100%-15%)];
842
- }
843
- .glorious-scaffold-modal.size-sm {
844
- @apply lg:w-[25%] md:w-[35%] w-full md:h-max max-h-[calc(100%-15%)];
845
- }
846
- .glorious-scaffold-modal.close {
847
- @apply hidden;
848
- }
849
- .glorious-scaffold-modal.open.animation {
850
- animation: animationMobile 0.3s normal forwards;
851
- }
852
- @screen md {
853
- .glorious-scaffold-modal.open.animation {
854
- animation: animationOpacity 0.3s normal forwards;
855
- }
856
- }
857
- @keyframes animationOpacity {
75
+ @keyframes vibrateErrorTextLR {
858
76
  0% {
859
- transform: scale(0.1);
860
- opacity: 0;
861
- }
862
- 99% {
863
- transform: scale(1);
864
- opacity: 1;
77
+ transform: translateX(0);
865
78
  }
866
- 100% {
867
- transform: unset;
868
- opacity: 1;
79
+ 25% {
80
+ transform: translateX(-5px);
869
81
  }
870
- }
871
- @keyframes animationMobile {
872
- 0% {
873
- transform: translateY(100%);
82
+ 50% {
83
+ transform: translateX(5px);
874
84
  }
875
- 99% {
876
- transform: translateY(0);
85
+ 75% {
86
+ transform: translateX(-5px);
877
87
  }
878
88
  100% {
879
- transform: translateY(0);
89
+ transform: translateX(0);
880
90
  }
881
91
  }
882
-
883
- .glorious-paginate > div {
884
- @apply border border-gray-50 rounded-xl h-8 flex items-center px-1 bg-white shadow-md gap-1 w-max;
885
- direction: rtl;
886
- }
887
- .glorious-paginate > div > div {
888
- @apply px-2;
889
- }
890
- .glorious-paginate > div > div:last-child {
891
- @apply rotate-[180deg];
892
- }
893
- .glorious-paginate.color-orange .paginate.active {
894
- @apply bg-orange-500;
895
- }
896
- .glorious-paginate.color-blue .paginate.active {
897
- @apply bg-blue-500;
898
- }
899
- .glorious-paginate.color-gray .paginate.active {
900
- @apply bg-gray-500;
92
+ .glorious-checkbox {
93
+ @apply flex gap-2 items-center cursor-pointer;
901
94
  }
902
- .glorious-paginate.color-red .paginate.active {
903
- @apply bg-red-500;
95
+ .glorious-checkbox.size-md span {
96
+ @apply text-sm;
904
97
  }
905
- .glorious-paginate.color-green .paginate.active {
906
- @apply bg-green-500;
98
+ .glorious-checkbox.size-sm span {
99
+ @apply text-xs;
907
100
  }
908
-
909
- .paginate {
910
- @apply text-[13px];
101
+ .glorious-checkbox.disabled {
102
+ @apply cursor-not-allowed;
911
103
  }
912
- .paginate.active {
913
- @apply bg-green-500 rounded-lg text-white font-bold text-[13px];
104
+ .glorious-checkbox > label {
105
+ @apply block relative;
914
106
  }
915
-
916
- .glorious-radio {
917
- @apply block relative cursor-pointer;
918
- }
919
- .glorious-radio > input {
107
+ .glorious-checkbox > label > input {
920
108
  @apply hidden;
921
109
  }
922
- .glorious-radio > input:checked ~ div {
110
+ .glorious-checkbox > label > input:checked ~ div {
923
111
  @apply border-none;
924
112
  }
925
- .glorious-radio > input:checked ~ div:after {
926
- content: "";
927
- @apply block w-1 h-1 bg-white rounded-full;
113
+ .glorious-checkbox > label > input:checked ~ div:after {
114
+ @apply block h-max w-max;
928
115
  }
929
- .glorious-radio > input:disabled ~ div {
116
+ .glorious-checkbox > label > input:disabled ~ div {
930
117
  @apply cursor-not-allowed;
931
118
  }
932
- .glorious-radio > div:last-child {
933
- @apply border border-gray-500 rounded-full bg-white left-0 top-0 absolute hover:shadow-lg;
119
+ .glorious-checkbox > label > input:hover ~ div {
120
+ @apply border-gray-400 shadow-md;
934
121
  }
935
- .glorious-radio > div:last-child > div:first-child {
122
+ .glorious-checkbox > label > div:last-child {
123
+ @apply border border-gray-300 rounded bg-white left-0 top-0 absolute transition-[border] duration-200 ease-in-out;
124
+ }
125
+ .glorious-checkbox > label > div:last-child > div:first-child {
936
126
  @apply hidden;
937
127
  }
938
- .glorious-radio > div:last-child:after {
939
- @apply absolute hidden right-0 top-0 left-0 bottom-0 m-auto w-10 h-10 bg-white rounded-full;
128
+ .glorious-checkbox > label > div:last-child:after {
129
+ @apply absolute hidden top-1 right-0 left-0 bottom-0 m-auto;
940
130
  }
941
- .glorious-radio.orange > input:checked ~ div {
942
- @apply bg-orange-500;
131
+ .glorious-checkbox > label.color-primary > input:checked ~ div {
132
+ @apply bg-primary-500;
943
133
  }
944
- .glorious-radio.blue > input:checked ~ div {
945
- @apply bg-blue-500;
134
+ .glorious-checkbox > label.color-secondary > input:checked ~ div {
135
+ @apply bg-secondary-500;
946
136
  }
947
- .glorious-radio.gray > input:checked ~ div {
137
+ .glorious-checkbox > label.color-sky > input:checked ~ div {
138
+ @apply bg-sky-500;
139
+ }
140
+ .glorious-checkbox > label.color-gray > input:checked ~ div {
948
141
  @apply bg-gray-500;
949
142
  }
950
- .glorious-radio.red > input:checked ~ div {
143
+ .glorious-checkbox > label.color-red > input:checked ~ div {
951
144
  @apply bg-red-500;
952
145
  }
953
- .glorious-radio.green > input:checked ~ div {
954
- @apply bg-green-500;
955
- }
956
- .glorious-radio.size-5xl {
957
- @apply w-[40px] h-[40px];
958
- }
959
- .glorious-radio.size-5xl > div:last-child {
960
- @apply w-[40px] h-[40px];
961
- }
962
- .glorious-radio.size-5xl > input:checked ~ div:after {
963
- @apply w-[30px] h-[30px];
964
- }
965
- .glorious-radio.size-4xl {
966
- @apply w-[36px] h-[36px];
967
- }
968
- .glorious-radio.size-4xl > div:last-child {
969
- @apply w-[36px] h-[36px];
970
- }
971
- .glorious-radio.size-4xl > input:checked ~ div:after {
972
- @apply w-[26px] h-[26px];
973
- }
974
- .glorious-radio.size-3xl {
975
- @apply w-[32px] h-[32px];
976
- }
977
- .glorious-radio.size-3xl > div:last-child {
978
- @apply w-[32px] h-[32px];
979
- }
980
- .glorious-radio.size-3xl > input:checked ~ div:after {
981
- @apply w-[22px] h-[22px];
982
- }
983
- .glorious-radio.size-2xl {
984
- @apply w-[28px] h-[28px];
985
- }
986
- .glorious-radio.size-2xl > div:last-child {
987
- @apply w-[28px] h-[28px];
988
- }
989
- .glorious-radio.size-2xl > input:checked ~ div:after {
990
- @apply w-[18px] h-[18px];
991
- }
992
- .glorious-radio.size-xl {
993
- @apply w-[24px] h-[24px];
994
- }
995
- .glorious-radio.size-xl > div:last-child {
996
- @apply w-[24px] h-[24px];
997
- }
998
- .glorious-radio.size-xl > input:checked ~ div:after {
999
- @apply w-[14px] h-[14px];
1000
- }
1001
- .glorious-radio.size-lg {
1002
- @apply w-[18px] h-[18px];
1003
- }
1004
- .glorious-radio.size-lg > div:last-child {
1005
- @apply w-[18px] h-[18px];
146
+ .glorious-checkbox > label.size-sm {
147
+ @apply w-4 h-4;
1006
148
  }
1007
- .glorious-radio.size-lg > input:checked ~ div:after {
1008
- @apply w-[8px] h-[8px];
149
+ .glorious-checkbox > label.size-sm > div:last-child {
150
+ content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIxNnB4IiBmaWxsPSJ3aGl0ZSI+PHBhdGggZD0iTTQwMC0zMDQgMjQwLTQ2NGw1Ni01NiAxMDQgMTA0IDI2NC0yNjQgNTYgNTYtMzIwIDMyMFoiLz48L3N2Zz4=);
151
+ @apply w-4 h-4;
1009
152
  }
1010
- .glorious-radio.size-md {
1011
- @apply w-[14px] h-[14px];
153
+ .glorious-checkbox > label.size-md {
154
+ @apply w-5 h-5;
1012
155
  }
1013
- .glorious-radio.size-md > div:last-child {
1014
- @apply w-[14px] h-[14px];
156
+ .glorious-checkbox > label.size-md > div:last-child {
157
+ content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMThweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIxOHB4IiBmaWxsPSJ3aGl0ZSI+PHBhdGggZD0iTTQwMC0zMDQgMjQwLTQ2NGw1Ni01NiAxMDQgMTA0IDI2NC0yNjQgNTYgNTYtMzIwIDMyMFoiLz48L3N2Zz4=);
158
+ @apply w-5 h-5;
1015
159
  }
1016
- .glorious-radio.size-md > input:checked ~ div:after {
1017
- @apply w-[4px] h-[4px];
160
+ .glorious-checkbox > label.size-lg {
161
+ @apply w-6 h-6;
1018
162
  }
1019
- .glorious-radio.size-sm {
1020
- @apply w-[10px] h-[10px];
1021
- }
1022
- .glorious-radio.size-sm > div:last-child {
1023
- @apply w-[10px] h-[10px];
1024
- }
1025
- .glorious-radio.size-sm > input:checked ~ div:after {
1026
- @apply w-[0px] h-[0px];
1027
- }
1028
- .glorious-radio.size-xs {
1029
- @apply w-[6px] h-[6px];
1030
- }
1031
- .glorious-radio.size-xs > div:last-child {
1032
- @apply w-[6px] h-[6px];
1033
- }
1034
- .glorious-radio.size-xs > input:checked ~ div:after {
1035
- @apply w-[-4px] h-[-4px];
1036
- }
1037
-
1038
- .rating {
1039
- display: inline-block;
1040
- }
1041
-
1042
- .rating input {
1043
- display: none;
1044
- }
1045
-
1046
- .rating label {
1047
- float: right;
1048
- cursor: pointer;
1049
- transition: color 0.3s;
1050
- }
1051
-
1052
- .rating label:before {
1053
- content: "★";
1054
- font-size: 30px;
1055
- }
1056
-
1057
- .rating input:checked ~ label,
1058
- .rating label:hover,
1059
- .rating label:hover ~ label {
1060
- color: #ffd700 !important;
1061
- transition: color 0.3s;
1062
- }
1063
-
1064
- label.checked {
1065
- color: #ffd700;
1066
- }
1067
-
1068
- .xl.glorious-select {
1069
- @apply py-[0.657rem];
1070
- }
1071
- .lg.glorious-select {
1072
- @apply py-[0.532rem];
1073
- }
1074
- .md.glorious-select {
1075
- @apply py-[0.407rem];
1076
- }
1077
- .sm.glorious-select {
1078
- @apply py-[0.282rem];
1079
- }
1080
- .xsm.glorious-select {
1081
- @apply py-[0.157rem];
1082
- }
1083
-
1084
- .glorious-select:focus-visible {
1085
- @apply outline-none ring-2;
1086
- }
1087
-
1088
- .color-orange {
1089
- @apply ring-orange-500;
1090
- }
1091
-
1092
- .color-blue {
1093
- @apply ring-blue-500;
163
+ .glorious-checkbox > label.size-lg > div:last-child {
164
+ content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjJweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyMnB4IiBmaWxsPSJ3aGl0ZSI+PHBhdGggZD0iTTQwMC0zMDQgMjQwLTQ2NGw1Ni01NiAxMDQgMTA0IDI2NC0yNjQgNTYgNTYtMzIwIDMyMFoiLz48L3N2Zz4=);
165
+ @apply w-6 h-6;
1094
166
  }
1095
167
 
1096
- .color-gray {
1097
- @apply ring-gray-500;
1098
- }
1099
-
1100
- .color-red {
1101
- @apply ring-red-500;
1102
- }
1103
-
1104
- .color-green {
1105
- @apply ring-green-500;
1106
- }
1107
-
1108
- .glorious-select {
1109
- @apply rounded-md ring-1 px-3 text-gray-500 text-sm h-max;
1110
- }
1111
- .glorious-select:disabled {
1112
- @apply cursor-not-allowed;
1113
- }
1114
- .glorious-select.validation-error {
1115
- @apply ring-red-500 bg-red-50;
1116
- }
1117
-
1118
- .switch {
1119
- direction: ltr;
1120
- --button-width: 3em;
1121
- --button-height: 1.5em;
1122
- --toggle-diameter: 1em;
1123
- --button-toggle-offset: calc(
1124
- (var(--button-height) - var(--toggle-diameter)) / 2
1125
- );
1126
- --toggle-shadow-offset: 10px;
1127
- --toggle-wider: 3em;
1128
- }
1129
- .switch-slider {
1130
- @apply bg-gray-300;
1131
- display: inline-block;
1132
- width: var(--button-width);
1133
- height: var(--button-height);
1134
- border-radius: calc(var(--button-height) / 2);
1135
- position: relative;
1136
- transition: 0.3s all ease-in-out;
1137
- }
1138
- .switch-slider::after {
1139
- content: "";
1140
- display: inline-block;
1141
- width: var(--toggle-diameter);
1142
- height: var(--toggle-diameter);
1143
- background-color: #fff;
1144
- border-radius: calc(var(--toggle-diameter) / 2);
1145
- position: absolute;
1146
- top: var(--button-toggle-offset);
1147
- transform: translateX(var(--button-toggle-offset));
1148
- box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
1149
- transition: 0.3s all ease-in-out;
1150
- }
1151
- .switch.color-orange input[type=checkbox]:checked + .switch-slider {
1152
- background-color: theme("colors.orange.500");
1153
- }
1154
- .switch.color-blue input[type=checkbox]:checked + .switch-slider {
1155
- background-color: theme("colors.blue.500");
1156
- }
1157
- .switch.color-gray input[type=checkbox]:checked + .switch-slider {
1158
- background-color: theme("colors.gray.500");
1159
- }
1160
- .switch.color-red input[type=checkbox]:checked + .switch-slider {
1161
- background-color: theme("colors.red.500");
1162
- }
1163
- .switch.color-green input[type=checkbox]:checked + .switch-slider {
1164
- background-color: theme("colors.green.500");
1165
- }
1166
- .switch input[type=checkbox]:checked + .switch-slider::after {
1167
- transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));
1168
- box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
1169
- }
1170
- .switch input[type=checkbox] {
1171
- display: none;
1172
- }
1173
- .switch input[type=checkbox]:active + .switch-slider::after {
1174
- width: var(--toggle-wider);
1175
- }
1176
- .switch input[type=checkbox]:checked:active + .switch-slider::after {
1177
- transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));
1178
- }
1179
-
1180
- .glorious-tab {
1181
- @apply flex justify-between bg-green-100 rounded-lg gap-3 w-max max-w-full shadow-md;
1182
- }
1183
- .glorious-tab div > div > button {
1184
- @apply text-gray-700 text-sm hover:bg-green-200 hover:text-gray-800 cursor-pointer px-2 py-1 rounded-lg whitespace-nowrap;
1185
- }
1186
- .glorious-tab div > div > button.active {
1187
- @apply font-bold text-white bg-green-700;
1188
- }
1189
-
1190
- .glorious-table {
1191
- @apply overflow-x-auto;
1192
- }
1193
- .glorious-table.color-orange > table > thead {
1194
- @apply rounded-t-md overflow-hidden;
1195
- }
1196
- .glorious-table.color-orange > table > thead > tr > th:first-child {
1197
- @apply rtl:rounded-tr-lg ltr:rounded-tl-lg bg-orange-400;
168
+ .glorious-button > button,
169
+ .glorious-button a {
170
+ @apply rounded-lg text-white cursor-pointer px-3 flex gap-2 items-center transition-["background"] duration-300 ease-in-out;
1198
171
  }
1199
- .glorious-table.color-orange > table > thead > tr > th {
1200
- @apply bg-orange-400;
172
+ .glorious-button > button.raised,
173
+ .glorious-button a.raised {
174
+ @apply shadow-md;
1201
175
  }
1202
- .glorious-table.color-orange > table > thead > tr > th:last-child {
1203
- @apply rtl:rounded-tl-lg ltr:rounded-tr-lg bg-orange-400;
176
+ .glorious-button > button.icon-left,
177
+ .glorious-button a.icon-left {
178
+ @apply flex-row-reverse;
1204
179
  }
1205
- .glorious-table.color-orange > table > tbody > tr:nth-child(even) {
1206
- @apply bg-orange-50;
180
+ .glorious-button > button.rounded,
181
+ .glorious-button a.rounded {
182
+ @apply rounded-full;
1207
183
  }
1208
- .glorious-table.color-orange > table > tbody > tr > td {
1209
- @apply px-4 py-2 text-center;
184
+ .glorious-button > button.size-sm,
185
+ .glorious-button a.size-sm {
186
+ @apply py-1 text-sm;
1210
187
  }
1211
- .glorious-table.color-blue > table > thead {
1212
- @apply rounded-t-md overflow-hidden;
188
+ .glorious-button > button.size-md,
189
+ .glorious-button a.size-md {
190
+ @apply py-1.5 text-base;
1213
191
  }
1214
- .glorious-table.color-blue > table > thead > tr > th:first-child {
1215
- @apply rtl:rounded-tr-lg ltr:rounded-tl-lg bg-blue-400;
192
+ .glorious-button > button.size-lg,
193
+ .glorious-button a.size-lg {
194
+ @apply py-1.5 text-lg;
1216
195
  }
1217
- .glorious-table.color-blue > table > thead > tr > th {
1218
- @apply bg-blue-400;
196
+ .glorious-button > button.color-primary:not(.outline),
197
+ .glorious-button a.color-primary:not(.outline) {
198
+ @apply bg-primary-500;
1219
199
  }
1220
- .glorious-table.color-blue > table > thead > tr > th:last-child {
1221
- @apply rtl:rounded-tl-lg ltr:rounded-tr-lg bg-blue-400;
200
+ .glorious-button > button.color-primary:not(.outline):hover,
201
+ .glorious-button a.color-primary:not(.outline):hover {
202
+ @apply bg-primary-600;
1222
203
  }
1223
- .glorious-table.color-blue > table > tbody > tr:nth-child(even) {
1224
- @apply bg-blue-50;
204
+ .glorious-button > button.color-primary:not(.outline):active,
205
+ .glorious-button a.color-primary:not(.outline):active {
206
+ @apply bg-primary-700;
1225
207
  }
1226
- .glorious-table.color-blue > table > tbody > tr > td {
1227
- @apply px-4 py-2 text-center;
208
+ .glorious-button > button:disabled.color-primary:not(.outline),
209
+ .glorious-button a:disabled.color-primary:not(.outline) {
210
+ @apply bg-primary-200;
1228
211
  }
1229
- .glorious-table.color-gray > table > thead {
1230
- @apply rounded-t-md overflow-hidden;
212
+ .glorious-button > button.color-primary.outline,
213
+ .glorious-button a.color-primary.outline {
214
+ @apply outline;
215
+ @apply outline-primary-500;
216
+ @apply text-primary-500;
1231
217
  }
1232
- .glorious-table.color-gray > table > thead > tr > th:first-child {
1233
- @apply rtl:rounded-tr-lg ltr:rounded-tl-lg bg-gray-400;
218
+ .glorious-button > button.color-primary.outline:hover,
219
+ .glorious-button a.color-primary.outline:hover {
220
+ @apply bg-primary-100;
1234
221
  }
1235
- .glorious-table.color-gray > table > thead > tr > th {
1236
- @apply bg-gray-400;
222
+ .glorious-button > button.color-primary.outline:active,
223
+ .glorious-button a.color-primary.outline:active {
224
+ @apply bg-primary-200;
1237
225
  }
1238
- .glorious-table.color-gray > table > thead > tr > th:last-child {
1239
- @apply rtl:rounded-tl-lg ltr:rounded-tr-lg bg-gray-400;
226
+ .glorious-button > button:disabled.color-primary.outline,
227
+ .glorious-button a:disabled.color-primary.outline {
228
+ @apply bg-primary-100;
1240
229
  }
1241
- .glorious-table.color-gray > table > tbody > tr:nth-child(even) {
1242
- @apply bg-gray-50;
230
+ .glorious-button > button.color-secondary:not(.outline),
231
+ .glorious-button a.color-secondary:not(.outline) {
232
+ @apply bg-secondary-500;
1243
233
  }
1244
- .glorious-table.color-gray > table > tbody > tr > td {
1245
- @apply px-4 py-2 text-center;
234
+ .glorious-button > button.color-secondary:not(.outline):hover,
235
+ .glorious-button a.color-secondary:not(.outline):hover {
236
+ @apply bg-secondary-600;
1246
237
  }
1247
- .glorious-table.color-red > table > thead {
1248
- @apply rounded-t-md overflow-hidden;
238
+ .glorious-button > button.color-secondary:not(.outline):active,
239
+ .glorious-button a.color-secondary:not(.outline):active {
240
+ @apply bg-secondary-700;
1249
241
  }
1250
- .glorious-table.color-red > table > thead > tr > th:first-child {
1251
- @apply rtl:rounded-tr-lg ltr:rounded-tl-lg bg-red-400;
242
+ .glorious-button > button:disabled.color-secondary:not(.outline),
243
+ .glorious-button a:disabled.color-secondary:not(.outline) {
244
+ @apply bg-secondary-200;
1252
245
  }
1253
- .glorious-table.color-red > table > thead > tr > th {
1254
- @apply bg-red-400;
246
+ .glorious-button > button.color-secondary.outline,
247
+ .glorious-button a.color-secondary.outline {
248
+ @apply outline;
249
+ @apply outline-secondary-500;
250
+ @apply text-secondary-500;
1255
251
  }
1256
- .glorious-table.color-red > table > thead > tr > th:last-child {
1257
- @apply rtl:rounded-tl-lg ltr:rounded-tr-lg bg-red-400;
252
+ .glorious-button > button.color-secondary.outline:hover,
253
+ .glorious-button a.color-secondary.outline:hover {
254
+ @apply bg-secondary-100;
1258
255
  }
1259
- .glorious-table.color-red > table > tbody > tr:nth-child(even) {
1260
- @apply bg-red-50;
256
+ .glorious-button > button.color-secondary.outline:active,
257
+ .glorious-button a.color-secondary.outline:active {
258
+ @apply bg-secondary-200;
1261
259
  }
1262
- .glorious-table.color-red > table > tbody > tr > td {
1263
- @apply px-4 py-2 text-center;
1264
- }
1265
- .glorious-table.color-green > table > thead {
1266
- @apply rounded-t-md overflow-hidden;
1267
- }
1268
- .glorious-table.color-green > table > thead > tr > th:first-child {
1269
- @apply rtl:rounded-tr-lg ltr:rounded-tl-lg bg-green-400;
1270
- }
1271
- .glorious-table.color-green > table > thead > tr > th {
1272
- @apply bg-green-400;
1273
- }
1274
- .glorious-table.color-green > table > thead > tr > th:last-child {
1275
- @apply rtl:rounded-tl-lg ltr:rounded-tr-lg bg-green-400;
1276
- }
1277
- .glorious-table.color-green > table > tbody > tr:nth-child(even) {
1278
- @apply bg-green-50;
1279
- }
1280
- .glorious-table.color-green > table > tbody > tr > td {
1281
- @apply px-4 py-2 text-center;
260
+ .glorious-button > button:disabled.color-secondary.outline,
261
+ .glorious-button a:disabled.color-secondary.outline {
262
+ @apply bg-secondary-100;
263
+ }
264
+ .glorious-button > button.color-sky:not(.outline),
265
+ .glorious-button a.color-sky:not(.outline) {
266
+ @apply bg-sky-500;
267
+ }
268
+ .glorious-button > button.color-sky:not(.outline):hover,
269
+ .glorious-button a.color-sky:not(.outline):hover {
270
+ @apply bg-sky-600;
271
+ }
272
+ .glorious-button > button.color-sky:not(.outline):active,
273
+ .glorious-button a.color-sky:not(.outline):active {
274
+ @apply bg-sky-700;
275
+ }
276
+ .glorious-button > button:disabled.color-sky:not(.outline),
277
+ .glorious-button a:disabled.color-sky:not(.outline) {
278
+ @apply bg-sky-200;
279
+ }
280
+ .glorious-button > button.color-sky.outline,
281
+ .glorious-button a.color-sky.outline {
282
+ @apply outline;
283
+ @apply outline-sky-500;
284
+ @apply text-sky-500;
285
+ }
286
+ .glorious-button > button.color-sky.outline:hover,
287
+ .glorious-button a.color-sky.outline:hover {
288
+ @apply bg-sky-100;
289
+ }
290
+ .glorious-button > button.color-sky.outline:active,
291
+ .glorious-button a.color-sky.outline:active {
292
+ @apply bg-sky-200;
293
+ }
294
+ .glorious-button > button:disabled.color-sky.outline,
295
+ .glorious-button a:disabled.color-sky.outline {
296
+ @apply bg-sky-100;
297
+ }
298
+ .glorious-button > button.color-gray:not(.outline),
299
+ .glorious-button a.color-gray:not(.outline) {
300
+ @apply bg-gray-500;
1282
301
  }
1283
- .glorious-table > table {
1284
- @apply w-full;
302
+ .glorious-button > button.color-gray:not(.outline):hover,
303
+ .glorious-button a.color-gray:not(.outline):hover {
304
+ @apply bg-gray-600;
1285
305
  }
1286
- .glorious-table > table > thead > tr > th {
1287
- @apply px-4 py-2 text-center;
306
+ .glorious-button > button.color-gray:not(.outline):active,
307
+ .glorious-button a.color-gray:not(.outline):active {
308
+ @apply bg-gray-700;
1288
309
  }
1289
-
1290
- .glorious-textarea-orange {
1291
- @apply ring-orange-500;
1292
- @apply rounded-md ring-1 px-3;
310
+ .glorious-button > button:disabled.color-gray:not(.outline),
311
+ .glorious-button a:disabled.color-gray:not(.outline) {
312
+ @apply bg-gray-200;
1293
313
  }
1294
- .glorious-textarea-orange:focus-visible {
1295
- @apply outline-none ring-2;
1296
- }
1297
- .glorious-textarea-orange:disabled {
1298
- @apply bg-green-300 cursor-not-allowed;
314
+ .glorious-button > button.color-gray.outline,
315
+ .glorious-button a.color-gray.outline {
316
+ @apply outline;
317
+ @apply outline-gray-500;
318
+ @apply text-gray-500;
1299
319
  }
1300
-
1301
- .glorious-textarea-blue {
1302
- @apply ring-blue-500;
1303
- @apply rounded-md ring-1 px-3;
320
+ .glorious-button > button.color-gray.outline:hover,
321
+ .glorious-button a.color-gray.outline:hover {
322
+ @apply bg-gray-100;
1304
323
  }
1305
- .glorious-textarea-blue:focus-visible {
1306
- @apply outline-none ring-2;
324
+ .glorious-button > button.color-gray.outline:active,
325
+ .glorious-button a.color-gray.outline:active {
326
+ @apply bg-gray-200;
1307
327
  }
1308
- .glorious-textarea-blue:disabled {
1309
- @apply bg-green-300 cursor-not-allowed;
328
+ .glorious-button > button:disabled.color-gray.outline,
329
+ .glorious-button a:disabled.color-gray.outline {
330
+ @apply bg-gray-100;
1310
331
  }
1311
-
1312
- .glorious-textarea-gray {
1313
- @apply ring-gray-500;
1314
- @apply rounded-md ring-1 px-3;
332
+ .glorious-button > button.color-red:not(.outline),
333
+ .glorious-button a.color-red:not(.outline) {
334
+ @apply bg-red-500;
1315
335
  }
1316
- .glorious-textarea-gray:focus-visible {
1317
- @apply outline-none ring-2;
336
+ .glorious-button > button.color-red:not(.outline):hover,
337
+ .glorious-button a.color-red:not(.outline):hover {
338
+ @apply bg-red-600;
1318
339
  }
1319
- .glorious-textarea-gray:disabled {
1320
- @apply bg-green-300 cursor-not-allowed;
340
+ .glorious-button > button.color-red:not(.outline):active,
341
+ .glorious-button a.color-red:not(.outline):active {
342
+ @apply bg-red-700;
1321
343
  }
1322
-
1323
- .glorious-textarea-red {
1324
- @apply ring-red-500;
1325
- @apply rounded-md ring-1 px-3;
344
+ .glorious-button > button:disabled.color-red:not(.outline),
345
+ .glorious-button a:disabled.color-red:not(.outline) {
346
+ @apply bg-red-200;
1326
347
  }
1327
- .glorious-textarea-red:focus-visible {
1328
- @apply outline-none ring-2;
348
+ .glorious-button > button.color-red.outline,
349
+ .glorious-button a.color-red.outline {
350
+ @apply outline;
351
+ @apply outline-red-500;
352
+ @apply text-red-500;
1329
353
  }
1330
- .glorious-textarea-red:disabled {
1331
- @apply bg-green-300 cursor-not-allowed;
354
+ .glorious-button > button.color-red.outline:hover,
355
+ .glorious-button a.color-red.outline:hover {
356
+ @apply bg-red-100;
1332
357
  }
1333
-
1334
- .glorious-textarea-green {
1335
- @apply ring-green-500;
1336
- @apply rounded-md ring-1 px-3;
358
+ .glorious-button > button.color-red.outline:active,
359
+ .glorious-button a.color-red.outline:active {
360
+ @apply bg-red-200;
1337
361
  }
1338
- .glorious-textarea-green:focus-visible {
1339
- @apply outline-none ring-2;
362
+ .glorious-button > button:disabled.color-red.outline,
363
+ .glorious-button a:disabled.color-red.outline {
364
+ @apply bg-red-100;
1340
365
  }
1341
- .glorious-textarea-green:disabled {
1342
- @apply bg-green-300 cursor-not-allowed;
366
+ .glorious-button > button:disabled,
367
+ .glorious-button a:disabled {
368
+ @apply cursor-not-allowed;
1343
369
  }
1344
370
 
1345
- .glorious-textarea {
1346
- @apply relative w-full flex flex-col;
1347
- }
1348
- .glorious-textarea > textarea {
1349
- @apply w-full p-2;
1350
- }
1351
- .glorious-textarea > textarea.validation-error {
1352
- @apply ring-red-500 bg-red-50;
371
+ .glorious-input {
372
+ @apply flex flex-col gap-0.5 relative;
1353
373
  }
1354
- .glorious-textarea > textarea::placeholder {
1355
- @apply text-[14px];
374
+ .glorious-input > .title {
375
+ @apply text-base;
1356
376
  }
1357
-
1358
- .glorious-timeline-items {
377
+ .glorious-input > div.input-content {
1359
378
  @apply relative;
1360
379
  }
1361
- .glorious-timeline-items div {
1362
- @apply relative;
380
+ .glorious-input > div.input-content > input {
381
+ @apply rounded-lg px-3;
1363
382
  }
1364
- .glorious-timeline-items div::before {
1365
- content: "";
1366
- @apply absolute w-[2px] right-[-15px];
383
+ .glorious-input > div.input-content > input.size-sm {
384
+ @apply py-0.25;
1367
385
  }
1368
- .glorious-timeline-items div::before:not(:last-child) {
1369
- @apply h-[calc(100%+20px)];
386
+ .glorious-input > div.input-content > input.size-md {
387
+ @apply py-1.25;
1370
388
  }
1371
- .glorious-timeline-items-count {
1372
- @apply absolute w-5 h-5 top-0 right-[-24px] rounded-full;
1373
- @apply text-white flex justify-center items-center font-medium;
389
+ .glorious-input > div.input-content > input.size-lg {
390
+ @apply py-1.75;
1374
391
  }
1375
- .glorious-timeline-items.color-orange > div::before {
1376
- @apply bg-orange-500;
392
+ .glorious-input > div.input-content > input:disabled {
393
+ @apply cursor-not-allowed bg-gray-200;
1377
394
  }
1378
- .glorious-timeline-items.color-blue > div::before {
1379
- @apply bg-blue-500;
395
+ .glorious-input > div.input-content > input:hover.color-primary {
396
+ @apply border-primary-600;
397
+ @apply shadow;
1380
398
  }
1381
- .glorious-timeline-items.color-gray > div::before {
1382
- @apply bg-gray-500;
399
+ .glorious-input > div.input-content > input:hover.color-secondary {
400
+ @apply border-secondary-600;
401
+ @apply shadow;
1383
402
  }
1384
- .glorious-timeline-items.color-red > div::before {
1385
- @apply bg-red-500;
403
+ .glorious-input > div.input-content > input:hover.color-sky {
404
+ @apply border-sky-600;
405
+ @apply shadow;
1386
406
  }
1387
- .glorious-timeline-items.color-green > div::before {
1388
- @apply bg-green-500;
407
+ .glorious-input > div.input-content > input:hover.color-gray {
408
+ @apply border-gray-600;
409
+ @apply shadow;
1389
410
  }
1390
- .glorious-timeline-items.color-orange .glorious-timeline-items-count {
1391
- @apply bg-orange-500;
411
+ .glorious-input > div.input-content > input:hover.color-red {
412
+ @apply border-red-600;
413
+ @apply shadow;
1392
414
  }
1393
- .glorious-timeline-items.color-blue .glorious-timeline-items-count {
1394
- @apply bg-blue-500;
415
+ .glorious-input > div.input-content > input:focus.color-primary {
416
+ @apply outline-primary-500;
1395
417
  }
1396
- .glorious-timeline-items.color-gray .glorious-timeline-items-count {
1397
- @apply bg-gray-500;
418
+ .glorious-input > div.input-content > input:focus.color-secondary {
419
+ @apply outline-secondary-500;
1398
420
  }
1399
- .glorious-timeline-items.color-red .glorious-timeline-items-count {
1400
- @apply bg-red-500;
421
+ .glorious-input > div.input-content > input:focus.color-sky {
422
+ @apply outline-sky-500;
1401
423
  }
1402
- .glorious-timeline-items.color-green .glorious-timeline-items-count {
1403
- @apply bg-green-500;
424
+ .glorious-input > div.input-content > input:focus.color-gray {
425
+ @apply outline-gray-500;
1404
426
  }
1405
-
1406
- .glorious-tooltip {
1407
- @apply relative w-max;
427
+ .glorious-input > div.input-content > input:focus.color-red {
428
+ @apply outline-red-500;
1408
429
  }
1409
- .glorious-tooltip .tooltip-slot:hover + .tooltip-content {
1410
- opacity: 1;
1411
- display: inline;
1412
- animation: anim-glorious-tooltip 500ms backwards;
430
+ .glorious-input > div.input-content > input.color-primary {
431
+ @apply border;
432
+ @apply border-primary-500;
1413
433
  }
1414
- .glorious-tooltip > .tooltip-content {
1415
- @apply bg-white w-max rounded-lg shadow-md pt-2 px-3 flex absolute bottom-10 right-0 left-0 mx-auto;
1416
- display: none;
1417
- opacity: 0;
434
+ .glorious-input > div.input-content > input.color-secondary {
435
+ @apply border;
436
+ @apply border-secondary-500;
1418
437
  }
1419
-
1420
- @keyframes anim-glorious-tooltip {
1421
- 0% {
1422
- opacity: 0;
1423
- display: none;
1424
- }
1425
- 1% {
1426
- display: inline-block !important;
1427
- }
1428
- 100% {
1429
- opacity: 1 !important;
1430
- display: inline-block !important;
1431
- }
438
+ .glorious-input > div.input-content > input.color-sky {
439
+ @apply border;
440
+ @apply border-sky-500;
1432
441
  }
1433
- .validation-error-text {
1434
- display: inline-block;
1435
- animation: vibrateErrorTextLR 0.3s ease-in-out 1;
442
+ .glorious-input > div.input-content > input.color-gray {
443
+ @apply border;
444
+ @apply border-gray-500;
1436
445
  }
1437
-
1438
- @keyframes vibrateErrorTextLR {
1439
- 0% {
1440
- transform: translateX(0);
1441
- }
1442
- 25% {
1443
- transform: translateX(-5px);
1444
- }
1445
- 50% {
1446
- transform: translateX(5px);
1447
- }
1448
- 75% {
1449
- transform: translateX(-5px);
1450
- }
1451
- 100% {
1452
- transform: translateX(0);
1453
- }
446
+ .glorious-input > div.input-content > input.color-red {
447
+ @apply border;
448
+ @apply border-red-500;
449
+ }
450
+ .glorious-input > div.input-content > input.error {
451
+ @apply border-red-500;
1454
452
  }
1455
- .glorious-backdrop {
1456
- @apply backdrop-blur-md fixed top-0 w-full h-full bg-gray-500/50 z-40;
453
+ .glorious-input > div.input-content > .icon {
454
+ @apply absolute top-0 bottom-0 my-auto h-max px-3 cursor-pointer;
455
+ }
456
+ .glorious-input > div.input-content > .icon.icon-left {
457
+ @apply left-0;
458
+ }
459
+ .glorious-input > div.input-content > .icon.icon-left + input.size-sm {
460
+ @apply pl-7.5;
461
+ }
462
+ .glorious-input > div.input-content > .icon.icon-left + input.size-md {
463
+ @apply pl-9;
464
+ }
465
+ .glorious-input > div.input-content > .icon.icon-left + input.size-lg {
466
+ @apply pl-8.5;
467
+ }
468
+ .glorious-input > div.input-content > .icon.icon-right {
469
+ @apply right-0;
470
+ }
471
+ .glorious-input > div.input-content > .icon.icon-right + input.size-sm {
472
+ @apply pr-7.5;
473
+ }
474
+ .glorious-input > div.input-content > .icon.icon-right + input.size-md {
475
+ @apply pr-9;
476
+ }
477
+ .glorious-input > div.input-content > .icon.icon-right + input.size-lg {
478
+ @apply pr-8.5;
479
+ }
480
+
481
+ @theme {
482
+ --color-primary-50: #f2fbf3;
483
+ --color-primary-100: #e1f7e4;
484
+ --color-primary-200: #c4eeca;
485
+ --color-primary-300: #96dfa1;
486
+ --color-primary-400: #61c770;
487
+ --color-primary-500: #38a248;
488
+ --color-primary-600: #2c8d3b;
489
+ --color-primary-700: #266f31;
490
+ --color-primary-800: #22592b;
491
+ --color-primary-900: #1e4926;
492
+ --color-primary-950: #0b2811;
493
+ --color-secondary-50: #f2f9f9;
494
+ --color-secondary-100: #ddeef0;
495
+ --color-secondary-200: #bedee3;
496
+ --color-secondary-300: #91c6cf;
497
+ --color-secondary-400: #5da5b3;
498
+ --color-secondary-500: #4896a7;
499
+ --color-secondary-600: #397181;
500
+ --color-secondary-700: #345d6a;
501
+ --color-secondary-800: #314f59;
502
+ --color-secondary-900: #2c434d;
503
+ --color-secondary-950: #192a33;
1457
504
  }