daisyui 1.16.5 → 1.19.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.
package/dist/styled.css CHANGED
@@ -827,7 +827,7 @@
827
827
  appearance:none;
828
828
  height:0;
829
829
  opacity:0;
830
- position:absolute;
830
+ position:fixed;
831
831
  width:0;
832
832
  }.navbar{
833
833
  display:flex;
@@ -961,22 +961,13 @@
961
961
  overflow-x:auto;
962
962
  grid-auto-flow:column;
963
963
  }
964
- .steps .step{
964
+ .steps [class~=step]{
965
965
  display:grid;
966
966
  place-items:center;
967
967
  text-align:center;
968
968
  grid-template-columns:repeat(1, minmax(0, 1fr));
969
969
  grid-template-rows:repeat(2, minmax(0, 1fr));
970
- }
971
- .steps-vertical{
972
- grid-auto-rows:1fr;
973
- grid-auto-flow:row;
974
- }
975
- .steps-vertical .step{
976
- display:grid;
977
- grid-template-columns:repeat(2, minmax(0, 1fr));
978
- grid-template-rows:repeat(1, minmax(0, 1fr));
979
- }.tabs{
970
+ }.tabs{
980
971
  display:flex;
981
972
  flex-wrap:wrap;
982
973
  align-items:flex-end;
@@ -1647,6 +1638,11 @@
1647
1638
  border-color:hsla(var(--b2) / var(--tw-border-opacity, 1));
1648
1639
  border-width:1px;
1649
1640
  }
1641
+ .card-bordered{
1642
+ --tw-border-opacity:1;
1643
+ border-color:hsla(var(--b2) / var(--tw-border-opacity, 1));
1644
+ border-width:1px;
1645
+ }
1650
1646
  .card.compact .card-body{
1651
1647
  font-size:.875rem;
1652
1648
  line-height:1.25rem;
@@ -2324,27 +2320,27 @@
2324
2320
  .menu[class*=p-] li a{
2325
2321
  border-radius:var(--rounded-btn, .5rem);
2326
2322
  }
2327
- .menu li>a,.menu li>span{
2323
+ .menu li>:where(a),.menu li>:where(span){
2328
2324
  padding:.75rem 1.25rem;
2329
2325
  color:currentColor;
2330
2326
  }
2331
- .menu li>a:focus,.menu li>a:hover{
2332
- --tw-bg-opacity:1;
2333
- background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2334
- --tw-bg-opacity:0.1;
2335
- }
2336
- .menu li>a.active{
2337
- --tw-bg-opacity:1;
2338
- background-color:hsla(var(--p) / var(--tw-bg-opacity, 1));
2339
- --tw-text-opacity:1;
2340
- color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2341
- }
2342
- .menu li>a:active{
2343
- --tw-bg-opacity:1;
2344
- background-color:hsla(var(--pf) / var(--tw-bg-opacity, 1));
2345
- --tw-text-opacity:1;
2346
- color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2347
- }
2327
+ .menu li>:where(a:focus),.menu li>:where(a:hover){
2328
+ --tw-bg-opacity:1;
2329
+ background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2330
+ --tw-bg-opacity:0.1;
2331
+ }
2332
+ .menu li>:where(a.active){
2333
+ --tw-bg-opacity:1;
2334
+ background-color:hsla(var(--p) / var(--tw-bg-opacity, 1));
2335
+ --tw-text-opacity:1;
2336
+ color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2337
+ }
2338
+ .menu li>:where(a:active){
2339
+ --tw-bg-opacity:1;
2340
+ background-color:hsla(var(--pf) / var(--tw-bg-opacity, 1));
2341
+ --tw-text-opacity:1;
2342
+ color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2343
+ }
2348
2344
  .menu li.disabled>a:hover,.menu li.disabled>span:hover{
2349
2345
  background-color:transparent;
2350
2346
  }
@@ -2965,11 +2961,12 @@
2965
2961
  .stats.grid-flow-row .stat+.stat{
2966
2962
  border-left-width:0;
2967
2963
  border-top-width:1px;
2968
- }.steps .step{
2964
+ }.steps [class~=step]{
2969
2965
  grid-template-rows:40px 1fr;
2966
+ grid-template-columns:auto;
2970
2967
  min-width:4rem;
2971
2968
  }
2972
- .steps .step:before{
2969
+ .steps [class~=step]:before{
2973
2970
  --tw-bg-opacity:1;
2974
2971
  background-color:hsla(var(--b3) / var(--tw-bg-opacity, 1));
2975
2972
  height:.5rem;
@@ -2979,17 +2976,24 @@
2979
2976
  width:100%;
2980
2977
  grid-column-start:1;
2981
2978
  grid-row-start:1;
2979
+ --tw-translate-x:0;
2980
+ --tw-translate-y:0;
2981
+ --tw-rotate:0;
2982
+ --tw-skew-x:0;
2983
+ --tw-skew-y:0;
2984
+ --tw-scale-x:1;
2985
+ --tw-scale-y:1;
2986
+ transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2982
2987
  content:"";
2983
2988
  margin-left:-100%;
2984
2989
  }
2985
- .steps .step:after{
2990
+ .steps [class~=step]:after{
2986
2991
  content:counter(step);
2987
2992
  counter-increment:step;
2988
2993
  z-index:1;
2989
2994
  --tw-bg-opacity:1;
2990
2995
  background-color:hsla(var(--b3) / var(--tw-bg-opacity, 1));
2991
2996
  border-radius:9999px;
2992
- display:block;
2993
2997
  display:grid;
2994
2998
  place-items:center;
2995
2999
  place-self:center;
@@ -3001,10 +3005,10 @@
3001
3005
  grid-column-start:1;
3002
3006
  grid-row-start:1;
3003
3007
  }
3004
- .steps .step:first-child:before{
3008
+ .steps [class~=step]:first-child:before{
3005
3009
  content:none;
3006
3010
  }
3007
- .steps .step[data-content]:after{
3011
+ .steps [class~=step][data-content]:after{
3008
3012
  content:attr(data-content);
3009
3013
  }
3010
3014
  .steps .step-neutral+.step-neutral:before,.steps .step-neutral:after{
@@ -3070,30 +3074,7 @@
3070
3074
  background-color:hsla(var(--er) / var(--tw-bg-opacity, 1));
3071
3075
  --tw-text-opacity:1;
3072
3076
  color:hsla(var(--b1) / var(--tw-text-opacity, 1));
3073
- }
3074
- .steps-vertical .step{
3075
- gap:.5rem;
3076
- grid-template-columns:40px 1fr;
3077
- grid-template-rows:auto;
3078
- min-height:4rem;
3079
- justify-items:start;
3080
- }
3081
- .steps-vertical .step:before{
3082
- height:100%;
3083
- top:0;
3084
- width:.5rem;
3085
- --tw-translate-x:0;
3086
- --tw-translate-y:0;
3087
- --tw-rotate:0;
3088
- --tw-skew-x:0;
3089
- --tw-skew-y:0;
3090
- --tw-scale-x:1;
3091
- --tw-scale-y:1;
3092
- transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
3093
- --tw-translate-x:-50%;
3094
- --tw-translate-y:-50%;
3095
- margin-left:50%;
3096
- }.tab{
3077
+ }.tab{
3097
3078
  --tw-text-opacity:1;
3098
3079
  color:hsla(var(--bc) / var(--tw-text-opacity, 1));
3099
3080
  --tw-text-opacity:0.5
@@ -3232,7 +3213,7 @@
3232
3213
  }.table{
3233
3214
  text-align:left;
3234
3215
  }
3235
- .table td,.table th{
3216
+ .table :where(th,td){
3236
3217
  padding:1rem;
3237
3218
  vertical-align:middle;
3238
3219
  white-space:nowrap;
@@ -3245,12 +3226,12 @@
3245
3226
  --tw-bg-opacity:1;
3246
3227
  background-color:hsla(var(--b3) / var(--tw-bg-opacity, 1));
3247
3228
  }
3248
- .table:not(.table-zebra) tbody tr:not(:last-child) td,.table:not(.table-zebra) tbody tr:not(:last-child) th,.table:not(.table-zebra) tfoot tr:not(:last-child) td,.table:not(.table-zebra) tfoot tr:not(:last-child) th,.table:not(.table-zebra) thead tr:not(:last-child) td,.table:not(.table-zebra) thead tr:not(:last-child) th{
3249
- --tw-border-opacity:1;
3250
- border-color:hsla(var(--b2) / var(--tw-border-opacity, 1));
3251
- border-bottom-width:1px;
3252
- }
3253
- .table tfoot td,.table tfoot th,.table thead td,.table thead th{
3229
+ .table:where(:not(.table-zebra)) :where(thead,tbody,tfoot) :where(tr:not(:last-child) :where(th,td)){
3230
+ --tw-border-opacity:1;
3231
+ border-color:hsla(var(--b2) / var(--tw-border-opacity, 1));
3232
+ border-bottom-width:1px;
3233
+ }
3234
+ .table :where(thead,tfoot) :where(th,td){
3254
3235
  --tw-bg-opacity:1;
3255
3236
  background-color:hsla(var(--b2) / var(--tw-bg-opacity, 1));
3256
3237
  font-weight:700;
@@ -3258,18 +3239,18 @@
3258
3239
  line-height:1rem;
3259
3240
  text-transform:uppercase;
3260
3241
  }
3261
- .table tfoot td:first-child,.table tfoot th:first-child,.table thead td:first-child,.table thead th:first-child{
3242
+ .table :where(thead,tfoot) :where(th,td):first-child{
3262
3243
  border-top-left-radius:.5rem;
3263
3244
  border-bottom-left-radius:.5rem;
3264
3245
  }
3265
- .table tfoot td:last-child,.table tfoot th:last-child,.table thead td:last-child,.table thead th:last-child{
3246
+ .table :where(thead,tfoot) :where(th,td):last-child{
3266
3247
  border-top-right-radius:.5rem;
3267
3248
  border-bottom-right-radius:.5rem;
3268
3249
  }
3269
- .table tbody td,.table tbody th{
3270
- --tw-bg-opacity:1;
3271
- background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));
3272
- }
3250
+ .table :where(tbody th,tbody td){
3251
+ --tw-bg-opacity:1;
3252
+ background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));
3253
+ }
3273
3254
  .table-zebra tbody tr td:first-child,.table-zebra tbody tr th:first-child{
3274
3255
  border-top-left-radius:.5rem;
3275
3256
  border-bottom-left-radius:.5rem;
@@ -3603,43 +3584,47 @@
3603
3584
  }.prose{
3604
3585
  color:inherit;
3605
3586
  }
3606
- .prose .lead,.prose a,.prose a code,.prose blockquote,.prose figure figcaption,.prose h1,.prose h2,.prose h3,.prose h4,.prose strong,.prose thead{
3587
+
3588
+ .prose :where(a,blockquote,figure figcaption,a code,thead,strong,.lead,h1,h2,h3,h4):not(:where([class~=not-prose] *)){
3607
3589
  color:inherit;
3608
3590
  }
3609
- .prose .lead:hover,.prose a:hover,.prose a code:hover,.prose blockquote:hover,.prose figure figcaption:hover,.prose h1:hover,.prose h2:hover,.prose h3:hover,.prose h4:hover,.prose strong:hover,.prose thead:hover{
3610
- color:inherit;
3611
- }
3612
- .prose code{
3613
- background:hsla(var(--bc) / .2);
3591
+
3592
+ .prose :where(code):not(:where([class~=not-prose] *)){
3593
+ background:hsla(var(--bc) / .1);
3614
3594
  color:hsl(var(--bc));
3615
- padding:2px 6px;
3595
+ padding:2px 8px;
3616
3596
  border-radius:var(--rounded-badge);
3617
3597
  }
3618
- .prose pre{
3598
+
3599
+ .prose code:after,.prose code:before{
3600
+ content:none;
3601
+ }
3602
+
3603
+ .prose pre{
3619
3604
  background:hsl(var(--n));
3620
3605
  color:hsl(var(--nc));
3621
3606
  border-radius:var(--rounded-box);
3622
3607
  }
3623
- .prose pre code{
3608
+
3609
+ .prose pre code{
3624
3610
  border-radius:none;
3625
3611
  background:inherit;
3612
+ padding:0;
3626
3613
  color:inherit;
3627
3614
  }
3628
- .prose code:after,.prose code:before{
3629
- content:none;
3630
- }
3631
- .prose ol>li:before,.prose ol>li:hover:before{
3632
- color:inherit;
3633
- }
3634
- .prose blockquote{
3615
+
3616
+ .prose blockquote{
3635
3617
  border-left-color:hsl(var(--bc) / 40%);
3636
3618
  }
3637
- .prose ul>li:before{
3638
- background-color:hsl(var(--bc) / 40%);
3619
+
3620
+ .prose :where(ul>li,ol>li):not(:where([class~=not-prose] *))::marker{
3621
+ color:hsl(var(--bc) / 40%);
3639
3622
  }
3640
- .prose thead{
3641
- border-bottom-color:hsl(var(--bc) / 40%);
3623
+
3624
+ .prose :where(thead th,tbody td):not(:where([class~=not-prose] *)){
3625
+ color:inherit;
3642
3626
  }
3643
- .prose tbody tr{
3644
- border-bottom-color:hsl(var(--bc) / 40%);
3627
+
3628
+ .prose :where(tbody tr,thead):not(:where([class~=not-prose] *)){
3629
+ border-bottom-color:hsl(var(--bc) / 20%);
3645
3630
  }