daisyui 1.17.1 → 1.18.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
@@ -1638,6 +1638,11 @@
1638
1638
  border-color:hsla(var(--b2) / var(--tw-border-opacity, 1));
1639
1639
  border-width:1px;
1640
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
+ }
1641
1646
  .card.compact .card-body{
1642
1647
  font-size:.875rem;
1643
1648
  line-height:1.25rem;
@@ -2319,23 +2324,23 @@
2319
2324
  padding:.75rem 1.25rem;
2320
2325
  color:currentColor;
2321
2326
  }
2322
- .menu li>a:focus,.menu li>a:hover{
2323
- --tw-bg-opacity:1;
2324
- background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2325
- --tw-bg-opacity:0.1;
2326
- }
2327
- .menu li>a.active{
2328
- --tw-bg-opacity:1;
2329
- background-color:hsla(var(--p) / var(--tw-bg-opacity, 1));
2330
- --tw-text-opacity:1;
2331
- color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2332
- }
2333
- .menu li>a:active{
2334
- --tw-bg-opacity:1;
2335
- background-color:hsla(var(--pf) / var(--tw-bg-opacity, 1));
2336
- --tw-text-opacity:1;
2337
- color:hsla(var(--pc) / var(--tw-text-opacity, 1));
2338
- }
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
+ }
2339
2344
  .menu li.disabled>a:hover,.menu li.disabled>span:hover{
2340
2345
  background-color:transparent;
2341
2346
  }
@@ -3208,7 +3213,7 @@
3208
3213
  }.table{
3209
3214
  text-align:left;
3210
3215
  }
3211
- .table td,.table th{
3216
+ .table :where(th,td){
3212
3217
  padding:1rem;
3213
3218
  vertical-align:middle;
3214
3219
  white-space:nowrap;
@@ -3221,12 +3226,12 @@
3221
3226
  --tw-bg-opacity:1;
3222
3227
  background-color:hsla(var(--b3) / var(--tw-bg-opacity, 1));
3223
3228
  }
3224
- .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{
3225
- --tw-border-opacity:1;
3226
- border-color:hsla(var(--b2) / var(--tw-border-opacity, 1));
3227
- border-bottom-width:1px;
3228
- }
3229
- .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){
3230
3235
  --tw-bg-opacity:1;
3231
3236
  background-color:hsla(var(--b2) / var(--tw-bg-opacity, 1));
3232
3237
  font-weight:700;
@@ -3234,18 +3239,18 @@
3234
3239
  line-height:1rem;
3235
3240
  text-transform:uppercase;
3236
3241
  }
3237
- .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{
3238
3243
  border-top-left-radius:.5rem;
3239
3244
  border-bottom-left-radius:.5rem;
3240
3245
  }
3241
- .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{
3242
3247
  border-top-right-radius:.5rem;
3243
3248
  border-bottom-right-radius:.5rem;
3244
3249
  }
3245
- .table tbody td,.table tbody th{
3246
- --tw-bg-opacity:1;
3247
- background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));
3248
- }
3250
+ .table :where(tbody th,tbody td){
3251
+ --tw-bg-opacity:1;
3252
+ background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));
3253
+ }
3249
3254
  .table-zebra tbody tr td:first-child,.table-zebra tbody tr th:first-child{
3250
3255
  border-top-left-radius:.5rem;
3251
3256
  border-bottom-left-radius:.5rem;