daisyui 4.0.0-alpha.4 → 4.0.0-alpha.6

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.
package/dist/full.css CHANGED
@@ -1749,12 +1749,6 @@ html {
1749
1749
  width: 3rem;
1750
1750
  border-radius: 9999px;
1751
1751
  padding: 0px}
1752
- .btn-group {
1753
- display: inline-flex}
1754
- .btn-group > input[type="radio"].btn {
1755
- appearance: none}
1756
- .btn-group > input[type="radio"].btn:before {
1757
- content: attr(data-title)}
1758
1752
  :where(.btn:is(input[type="checkbox"])),
1759
1753
  :where(.btn:is(input[type="radio"])) {
1760
1754
  width: auto;
@@ -2416,61 +2410,6 @@ html {
2416
2410
  --tw-bg-opacity: 1;
2417
2411
  background-color: oklch(var(--b1) / var(--tw-bg-opacity));
2418
2412
  border-radius: var(--rounded-btn, 0.5rem)}
2419
- .input-group {
2420
- display: flex;
2421
- width: 100%;
2422
- align-items: stretch}
2423
- .input-group > .input {
2424
- isolation: isolate}
2425
- .input-group > *,
2426
- .input-group > .input,
2427
- .input-group > .textarea,
2428
- .input-group > .select {
2429
- border-radius: 0px}
2430
- .input-group-md {
2431
- font-size: 0.875rem;
2432
- line-height: 1.25rem;
2433
- line-height: 2}
2434
- .input-group-lg {
2435
- font-size: 1.125rem;
2436
- line-height: 1.75rem;
2437
- line-height: 2}
2438
- .input-group-sm {
2439
- font-size: 0.875rem;
2440
- line-height: 2rem}
2441
- .input-group-xs {
2442
- font-size: 0.75rem;
2443
- line-height: 1rem;
2444
- line-height: 1.625}
2445
- .input-group :where(span) {
2446
- display: flex;
2447
- align-items: center;
2448
- --tw-bg-opacity: 1;
2449
- background-color: oklch(var(--b3) / var(--tw-bg-opacity));
2450
- padding-left: 1rem;
2451
- padding-right: 1rem}
2452
- .input-group > :first-child {
2453
- border-top-left-radius: var(--rounded-btn, 0.5rem);
2454
- border-top-right-radius: 0;
2455
- border-bottom-left-radius: var(--rounded-btn, 0.5rem);
2456
- border-bottom-right-radius: 0}
2457
- .input-group > :last-child {
2458
- border-top-left-radius: 0;
2459
- border-top-right-radius: var(--rounded-btn, 0.5rem);
2460
- border-bottom-left-radius: 0;
2461
- border-bottom-right-radius: var(--rounded-btn, 0.5rem)}
2462
- .input-group-vertical {
2463
- flex-direction: column}
2464
- .input-group-vertical :first-child {
2465
- border-top-left-radius: var(--rounded-btn, 0.5rem);
2466
- border-top-right-radius: var(--rounded-btn, 0.5rem);
2467
- border-bottom-left-radius: 0;
2468
- border-bottom-right-radius: 0}
2469
- .input-group-vertical :last-child {
2470
- border-top-left-radius: 0;
2471
- border-top-right-radius: 0;
2472
- border-bottom-left-radius: var(--rounded-btn, 0.5rem);
2473
- border-bottom-right-radius: var(--rounded-btn, 0.5rem)}
2474
2413
  .join {
2475
2414
  display: inline-flex;
2476
2415
  align-items: stretch;
@@ -3045,18 +2984,21 @@ input.tab:checked + .tab-content,
3045
2984
  position: relative;
3046
2985
  display: grid;
3047
2986
  align-items: center;
3048
- grid-template-rows: 1fr auto 1fr;
3049
- grid-template-columns: 1fr auto 1fr}
2987
+ grid-template-rows: var(--timeline-row-start, 1fr) auto var(--timeline-row-end, 1fr);
2988
+ grid-template-columns: var(--timeline-col-start, 1fr) auto var(--timeline-col-end, 1fr)}
3050
2989
  :where(.timeline:not(:has(.timeline-start)) li) {
3051
- grid-template-rows: min-content auto 1fr}
2990
+ --timeline-row-start: min-content}
3052
2991
  :where(.timeline:not(:has(.timeline-end)) li) {
3053
- grid-template-rows: 1fr auto min-content}
2992
+ --timeline-row-end: min-content}
3054
2993
  :where(.timeline:not(:has(.timeline-start)):not(:has(.timeline-end)) li) {
3055
- grid-template-rows: min-content auto min-content}
2994
+ --timeline-row-start: min-content;
2995
+ --timeline-row-end: min-content}
3056
2996
  .timeline hr {
3057
2997
  width: 100%;
3058
2998
  border-width: 0px;
3059
2999
  height: 0.25rem}
3000
+ .timeline-snap-icon li {
3001
+ --timeline-col-start: 0.5rem}
3060
3002
  :where(.timeline hr):first-child {
3061
3003
  grid-column-start: 1;
3062
3004
  grid-row-start: 2}
@@ -3516,18 +3458,6 @@ input.tab:checked + .tab-content,
3516
3458
  --tw-bg-opacity: 0.2;
3517
3459
  color: oklch(var(--bc) / var(--tw-text-opacity));
3518
3460
  --tw-text-opacity: 0.2}
3519
- .btn-group > input[type="radio"]:checked.btn,
3520
- .btn-group > .btn-active {
3521
- --tw-border-opacity: 1;
3522
- border-color: oklch(var(--p) / var(--tw-border-opacity));
3523
- --tw-bg-opacity: 1;
3524
- background-color: oklch(var(--p) / var(--tw-bg-opacity));
3525
- --tw-text-opacity: 1;
3526
- color: oklch(var(--pc) / var(--tw-text-opacity))}
3527
- .btn-group > input[type="radio"]:checked.btn:focus-visible, .btn-group > .btn-active:focus-visible {
3528
- outline-style: solid;
3529
- outline-width: 2px;
3530
- outline-color: oklch(var(--p) / 1)}
3531
3461
  .btn:is(input[type="checkbox"]:checked),
3532
3462
  .btn:is(input[type="radio"]:checked) {
3533
3463
  --tw-border-opacity: 1;
@@ -3886,7 +3816,7 @@ details.collapse summary::-webkit-details-marker {
3886
3816
  .divider:not(:empty) {
3887
3817
  gap: 1rem}
3888
3818
  .drawer-toggle:checked ~ .drawer-side > .drawer-overlay {
3889
- background-color: oklch(0 0% 0%/0.4)}
3819
+ background-color: oklch(0 0 0/0.4)}
3890
3820
  .drawer-toggle:focus-visible ~ .drawer-content label.drawer-button {
3891
3821
  outline-style: solid;
3892
3822
  outline-width: 2px;
@@ -4863,6 +4793,31 @@ details.collapse summary::-webkit-details-marker {
4863
4793
  [dir="rtl"] .select {
4864
4794
  background-position: calc(0% + 12px) calc(1px + 50%),
4865
4795
  calc(0% + 16px) calc(1px + 50%)}
4796
+ .skeleton {
4797
+ --tw-bg-opacity: 1;
4798
+ background-color: oklch(var(--b3) / var(--tw-bg-opacity));
4799
+ border-radius: var(--rounded-box, 1rem);
4800
+ will-change: background-position;
4801
+ animation: skeleton 2.5s ease-in-out infinite;
4802
+ background-image: linear-gradient(
4803
+ 105deg,
4804
+ transparent 0%,
4805
+ transparent 40%,
4806
+ oklch(var(--b1)) 50%,
4807
+ transparent 60%,
4808
+ transparent 100%
4809
+ );
4810
+ background-size: 200% auto;
4811
+ background-repeat: no-repeat;
4812
+ background-position-x: -50%}
4813
+ @media (prefers-reduced-motion) {
4814
+ .skeleton {
4815
+ animation-duration: 15s}}
4816
+ @keyframes skeleton {
4817
+ from {
4818
+ background-position: 150%}
4819
+ to {
4820
+ background-position: -50%}}
4866
4821
  :where(.stats) > :not([hidden]) ~ :not([hidden]) {
4867
4822
  --tw-divide-x-reverse: 0;
4868
4823
  border-right-width: calc(1px * var(--tw-divide-x-reverse));
@@ -23211,10 +23166,6 @@ details.collapse summary::-webkit-details-marker {
23211
23166
  width: 4rem;
23212
23167
  border-radius: 9999px;
23213
23168
  padding: 0px}
23214
- .btn-group-horizontal {
23215
- flex-direction: row}
23216
- .btn-group-vertical {
23217
- flex-direction: column}
23218
23169
  .card-side {
23219
23170
  align-items: stretch;
23220
23171
  flex-direction: row}
@@ -23675,14 +23626,16 @@ details.collapse summary::-webkit-details-marker {
23675
23626
  .timeline-vertical {
23676
23627
  flex-direction: column}
23677
23628
  :where(.timeline-vertical li) {
23678
- grid-template-rows: 1fr auto 1fr;
23629
+ --timeline-row-start: 1fr;
23630
+ --timeline-row-end: 1fr;
23679
23631
  justify-items: center}
23680
23632
  :where(.timeline-vertical:not(:has(.timeline-start)) li) {
23681
- grid-template-columns: min-content auto 1fr}
23633
+ --timeline-col-start: min-content}
23682
23634
  :where(.timeline-vertical:not(:has(.timeline-end)) li) {
23683
- grid-template-columns: 1fr auto min-content}
23635
+ --timeline-col-end: min-content}
23684
23636
  :where(.timeline-vertical:not(:has(.timeline-start)):not(:has(.timeline-end)) li) {
23685
- grid-template-columns: min-content auto min-content}
23637
+ --timeline-col-start: min-content;
23638
+ --timeline-col-end: min-content}
23686
23639
  .timeline-vertical hr {
23687
23640
  height: 100%}
23688
23641
  :where(.timeline-vertical hr):first-child {
@@ -23705,17 +23658,21 @@ details.collapse summary::-webkit-details-marker {
23705
23658
  grid-row-end: 4;
23706
23659
  align-self: center;
23707
23660
  justify-self: start}
23661
+ .timeline-vertical.timeline-snap-icon li {
23662
+ --timeline-row-start: 0.5rem}
23708
23663
  .timeline-horizontal {
23709
23664
  flex-direction: row}
23710
23665
  :where(.timeline-horizontal li) {
23711
- grid-template-columns: 1fr auto 1fr;
23666
+ --timeline-col-start: 1fr;
23667
+ --timeline-col-end: 1fr;
23712
23668
  align-items: center}
23713
23669
  :where(.timeline-horizontal:not(:has(.timeline-start)) li) {
23714
- grid-template-rows: min-content auto 1fr}
23670
+ --timeline-row-start: min-content}
23715
23671
  :where(.timeline-horizontal:not(:has(.timeline-end)) li) {
23716
- grid-template-rows: 1fr auto min-content}
23672
+ --timeline-row-end: min-content}
23717
23673
  :where(.timeline-horizontal:not(:has(.timeline-start)):not(:has(.timeline-end)) li) {
23718
- grid-template-rows: min-content auto min-content}
23674
+ --timeline-row-start: min-content;
23675
+ --timeline-row-end: min-content}
23719
23676
  .timeline-horizontal hr {
23720
23677
  width: 100%}
23721
23678
  :where(.timeline-horizontal hr):first-child {
@@ -23738,6 +23695,8 @@ details.collapse summary::-webkit-details-marker {
23738
23695
  grid-row-end: 4;
23739
23696
  align-self: flex-start;
23740
23697
  justify-self: center}
23698
+ .timeline-horizontal.timeline-snap-icon li {
23699
+ --timeline-col-start: 0.5rem}
23741
23700
  :where(.toast) {
23742
23701
  bottom: 0px;
23743
23702
  inset-inline-end: 0px;
@@ -25484,17 +25443,6 @@ details.collapse summary::-webkit-details-marker {
25484
25443
  --tw-text-opacity: 1;
25485
25444
  color: oklch(var(--erc) / var(--tw-text-opacity))}
25486
25445
  @media (min-width: 640px) {
25487
- .sm\:input-group-md {
25488
- font-size: 0.875rem;
25489
- line-height: 1.25rem;
25490
- line-height: 2}
25491
- .sm\:input-group-lg {
25492
- font-size: 1.125rem;
25493
- line-height: 1.75rem;
25494
- line-height: 2}
25495
- .sm\:input-group-sm {
25496
- font-size: 0.875rem;
25497
- line-height: 2rem}
25498
25446
  .sm\:stats {
25499
25447
  display: inline-grid;
25500
25448
  --tw-bg-opacity: 1;
@@ -25521,17 +25469,6 @@ details.collapse summary::-webkit-details-marker {
25521
25469
  :is([dir="rtl"] .sm\:stats > :not([hidden]) ~ :not([hidden])) {
25522
25470
  --tw-divide-x-reverse: 1}}
25523
25471
  @media (min-width: 768px) {
25524
- .md\:input-group-md {
25525
- font-size: 0.875rem;
25526
- line-height: 1.25rem;
25527
- line-height: 2}
25528
- .md\:input-group-lg {
25529
- font-size: 1.125rem;
25530
- line-height: 1.75rem;
25531
- line-height: 2}
25532
- .md\:input-group-sm {
25533
- font-size: 0.875rem;
25534
- line-height: 2rem}
25535
25472
  .md\:stats {
25536
25473
  display: inline-grid;
25537
25474
  --tw-bg-opacity: 1;
@@ -25558,17 +25495,6 @@ details.collapse summary::-webkit-details-marker {
25558
25495
  :is([dir="rtl"] .md\:stats > :not([hidden]) ~ :not([hidden])) {
25559
25496
  --tw-divide-x-reverse: 1}}
25560
25497
  @media (min-width: 1024px) {
25561
- .lg\:input-group-md {
25562
- font-size: 0.875rem;
25563
- line-height: 1.25rem;
25564
- line-height: 2}
25565
- .lg\:input-group-lg {
25566
- font-size: 1.125rem;
25567
- line-height: 1.75rem;
25568
- line-height: 2}
25569
- .lg\:input-group-sm {
25570
- font-size: 0.875rem;
25571
- line-height: 2rem}
25572
25498
  .lg\:stats {
25573
25499
  display: inline-grid;
25574
25500
  --tw-bg-opacity: 1;
@@ -25595,17 +25521,6 @@ details.collapse summary::-webkit-details-marker {
25595
25521
  :is([dir="rtl"] .lg\:stats > :not([hidden]) ~ :not([hidden])) {
25596
25522
  --tw-divide-x-reverse: 1}}
25597
25523
  @media (min-width: 1280px) {
25598
- .xl\:input-group-md {
25599
- font-size: 0.875rem;
25600
- line-height: 1.25rem;
25601
- line-height: 2}
25602
- .xl\:input-group-lg {
25603
- font-size: 1.125rem;
25604
- line-height: 1.75rem;
25605
- line-height: 2}
25606
- .xl\:input-group-sm {
25607
- font-size: 0.875rem;
25608
- line-height: 2rem}
25609
25524
  .xl\:stats {
25610
25525
  display: inline-grid;
25611
25526
  --tw-bg-opacity: 1;
package/dist/styled.css CHANGED
@@ -121,54 +121,40 @@
121
121
  padding-left: 1rem;
122
122
  padding-right: 1rem;
123
123
  font-size: 0.875rem;
124
- line-height: 1em;
124
+ line-height: 1em
125
125
  }
126
126
 
127
127
  /* disabled */
128
128
  .btn-disabled,
129
129
  .btn[disabled],
130
130
  .btn:disabled {
131
- pointer-events: none;
131
+ pointer-events: none
132
132
  }
133
133
  /* shapes */
134
134
  .btn-square {
135
135
  height: 3rem;
136
136
  width: 3rem;
137
- padding: 0px;
137
+ padding: 0px
138
138
  }
139
139
  .btn-circle {
140
140
  height: 3rem;
141
141
  width: 3rem;
142
142
  border-radius: 9999px;
143
- padding: 0px;
144
- }
145
-
146
- /* group */
147
-
148
- .btn-group {
149
- display: inline-flex;
150
- }
151
-
152
- .btn-group > input[type="radio"].btn {
153
- appearance: none;
143
+ padding: 0px
154
144
  }
155
145
 
156
- .btn-group > input[type="radio"].btn:before {
157
- content: attr(data-title);
158
- }
159
-
160
146
  /* radio input and checkbox as button */
161
147
 
162
148
  :where(.btn:is(input[type="checkbox"])),
163
149
  :where(.btn:is(input[type="radio"])) {
164
150
  width: auto;
165
- appearance: none;
151
+ appearance: none
166
152
  }
167
153
 
168
154
  .btn:is(input[type="checkbox"]):after,
169
155
  .btn:is(input[type="radio"]):after {
170
156
  --tw-content: attr(aria-label);
171
- content: var(--tw-content);
157
+ content: var(--tw-content)
172
158
  }
173
159
  .card {
174
160
  position: relative;
@@ -652,76 +638,8 @@
652
638
  padding-right: 1rem;
653
639
  font-size: 0.875rem;
654
640
  line-height: 1.25rem;
655
- line-height: 2;
656
- }
657
- .input-group {
658
- display: flex;
659
- width: 100%;
660
- align-items: stretch;
661
- }
662
- .input-group > .input {
663
- isolation: isolate;
664
- }
665
- .input-group > *,
666
- .input-group > .input,
667
- .input-group > .textarea,
668
- .input-group > .select {
669
- border-radius: 0px;
670
- }
671
- .input-group-md {
672
- font-size: 0.875rem;
673
- line-height: 1.25rem;
674
- line-height: 2;
675
- }
676
- .input-group-lg {
677
- font-size: 1.125rem;
678
- line-height: 1.75rem;
679
- line-height: 2;
680
- }
681
- .input-group-sm {
682
- font-size: 0.875rem;
683
- line-height: 2rem;
684
- }
685
- .input-group-xs {
686
- font-size: 0.75rem;
687
- line-height: 1rem;
688
- line-height: 1.625;
689
- }
690
- .input-group :where(span) {
691
- display: flex;
692
- align-items: center;
693
- --tw-bg-opacity: 1;
694
- background-color: oklch(var(--b3) / var(--tw-bg-opacity));
695
- padding-left: 1rem;
696
- padding-right: 1rem;
697
- }
698
- .input-group > :first-child {
699
- border-top-left-radius: var(--rounded-btn, 0.5rem);
700
- border-top-right-radius: 0;
701
- border-bottom-left-radius: var(--rounded-btn, 0.5rem);
702
- border-bottom-right-radius: 0;
703
- }
704
- .input-group > :last-child {
705
- border-top-left-radius: 0;
706
- border-top-right-radius: var(--rounded-btn, 0.5rem);
707
- border-bottom-left-radius: 0;
708
- border-bottom-right-radius: var(--rounded-btn, 0.5rem);
709
- }
710
- .input-group-vertical {
711
- flex-direction: column;
641
+ line-height: 2
712
642
  }
713
- .input-group-vertical :first-child {
714
- border-top-left-radius: var(--rounded-btn, 0.5rem);
715
- border-top-right-radius: var(--rounded-btn, 0.5rem);
716
- border-bottom-left-radius: 0;
717
- border-bottom-right-radius: 0;
718
- }
719
- .input-group-vertical :last-child {
720
- border-top-left-radius: 0;
721
- border-top-right-radius: 0;
722
- border-bottom-left-radius: var(--rounded-btn, 0.5rem);
723
- border-bottom-right-radius: var(--rounded-btn, 0.5rem);
724
- }
725
643
  .join {
726
644
  display: inline-flex;
727
645
  align-items: stretch;
@@ -1255,22 +1173,26 @@ input.tab:checked + .tab-content,
1255
1173
  position: relative;
1256
1174
  display: grid;
1257
1175
  align-items: center;
1258
- grid-template-rows: 1fr auto 1fr;
1259
- grid-template-columns: 1fr auto 1fr;
1176
+ grid-template-rows: var(--timeline-row-start, 1fr) auto var(--timeline-row-end, 1fr);
1177
+ grid-template-columns: var(--timeline-col-start, 1fr) auto var(--timeline-col-end, 1fr);
1260
1178
  }
1261
1179
  :where(.timeline:not(:has(.timeline-start)) li) {
1262
- grid-template-rows: min-content auto 1fr;
1180
+ --timeline-row-start: min-content;
1263
1181
  }
1264
1182
  :where(.timeline:not(:has(.timeline-end)) li) {
1265
- grid-template-rows: 1fr auto min-content;
1183
+ --timeline-row-end: min-content;
1266
1184
  }
1267
1185
  :where(.timeline:not(:has(.timeline-start)):not(:has(.timeline-end)) li) {
1268
- grid-template-rows: min-content auto min-content;
1186
+ --timeline-row-start: min-content;
1187
+ --timeline-row-end: min-content;
1269
1188
  }
1270
1189
  .timeline hr {
1271
1190
  width: 100%;
1272
1191
  border-width: 0px;
1273
1192
  }
1193
+ .timeline-snap-icon li {
1194
+ --timeline-col-start: 0.5rem;
1195
+ }
1274
1196
  :where(.timeline hr):first-child {
1275
1197
  grid-column-start: 1;
1276
1198
  grid-row-start: 2;
@@ -2050,22 +1972,9 @@ input.tab:checked + .tab-content,
2050
1972
  --tw-text-opacity: 0.2;
2051
1973
  }
2052
1974
  }
2053
- /* group */
2054
- .btn-group > input[type="radio"]:checked.btn,
2055
- .btn-group > .btn-active {
2056
- --tw-border-opacity: 1;
2057
- border-color: oklch(var(--p) / var(--tw-border-opacity));
2058
- --tw-bg-opacity: 1;
2059
- background-color: oklch(var(--p) / var(--tw-bg-opacity));
2060
- --tw-text-opacity: 1;
2061
- color: oklch(var(--pc) / var(--tw-text-opacity));
2062
- }
2063
- .btn-group > input[type="radio"]:checked.btn:focus-visible, .btn-group > .btn-active:focus-visible {
2064
- outline-style: solid;
2065
- outline-width: 2px;
2066
- outline-color: oklch(var(--p) / 1);
2067
- }
1975
+
2068
1976
  /* radio input and checkbox as button */
1977
+
2069
1978
  .btn:is(input[type="checkbox"]:checked),
2070
1979
  .btn:is(input[type="radio"]:checked) {
2071
1980
  --tw-border-opacity: 1;
@@ -2075,6 +1984,7 @@ input.tab:checked + .tab-content,
2075
1984
  --tw-text-opacity: 1;
2076
1985
  color: oklch(var(--pc) / var(--tw-text-opacity));
2077
1986
  }
1987
+
2078
1988
  @media (hover: hover) {
2079
1989
  .btn:is(input[type="checkbox"]:checked):hover, .btn:is(input[type="radio"]:checked):hover {
2080
1990
  --tw-border-opacity: 1;
@@ -2083,9 +1993,11 @@ input.tab:checked + .tab-content,
2083
1993
  background-color: oklch(var(--pf) / var(--tw-bg-opacity));
2084
1994
  }
2085
1995
  }
1996
+
2086
1997
  .btn:is(input[type="checkbox"]:checked):focus-visible, .btn:is(input[type="radio"]:checked):focus-visible {
2087
1998
  outline-color: oklch(var(--p) / 1);
2088
1999
  }
2000
+
2089
2001
  @keyframes button-pop {
2090
2002
  0% {
2091
2003
  transform: scale(var(--btn-focus-scale, 0.98));
@@ -2648,7 +2560,7 @@ details.collapse summary {
2648
2560
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
2649
2561
  }
2650
2562
  .drawer-toggle:checked ~ .drawer-side > .drawer-overlay {
2651
- background-color: oklch(0 0% 0%/0.4);
2563
+ background-color: oklch(0 0 0/0.4);
2652
2564
  }
2653
2565
  .drawer-toggle:focus-visible ~ .drawer-content label.drawer-button {
2654
2566
  outline-style: solid;
@@ -4207,6 +4119,37 @@ details.collapse summary {
4207
4119
  calc(0% + 12px) calc(1px + 50%),
4208
4120
  calc(0% + 16px) calc(1px + 50%);
4209
4121
  }
4122
+ .skeleton {
4123
+ --tw-bg-opacity: 1;
4124
+ background-color: oklch(var(--b3) / var(--tw-bg-opacity));
4125
+ border-radius: var(--rounded-box, 1rem);
4126
+ will-change: background-position;
4127
+ animation: skeleton 2.5s ease-in-out infinite;
4128
+ background-image: linear-gradient(
4129
+ 105deg,
4130
+ transparent 0%,
4131
+ transparent 40%,
4132
+ oklch(var(--b1)) 50%,
4133
+ transparent 60%,
4134
+ transparent 100%
4135
+ );
4136
+ background-size: 200% auto;
4137
+ background-repeat: no-repeat;
4138
+ background-position-x: -50%;
4139
+ }
4140
+ @media (prefers-reduced-motion) {
4141
+ .skeleton {
4142
+ animation-duration: 15s;
4143
+ }
4144
+ }
4145
+ @keyframes skeleton {
4146
+ from {
4147
+ background-position: 150%;
4148
+ }
4149
+ to {
4150
+ background-position: -50%;
4151
+ }
4152
+ }
4210
4153
  .stack {
4211
4154
  place-items: center;
4212
4155
  align-items: flex-end