|
41 | 41 |
|
42 | 42 | &:checked, |
43 | 43 | &:is(label:has(:checked)), |
44 | | - &:is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 44 | + &:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) { |
45 | 45 | & + .tab-content { |
46 | 46 | @apply block; |
47 | 47 | height: calc(100% - var(--tab-height) + var(--border)); |
48 | 48 | } |
49 | 49 | } |
50 | | - &:not(:checked, label:has(:checked), :hover, .tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 50 | + &:not( |
| 51 | + :checked, |
| 52 | + label:has(:checked), |
| 53 | + :hover, |
| 54 | + .tab-active, |
| 55 | + [aria-selected="true"], |
| 56 | + [aria-current="true"], |
| 57 | + [aria-current="page"] |
| 58 | + ) { |
51 | 59 | @apply text-base-content/50; |
52 | 60 | } |
53 | 61 |
|
|
97 | 105 | left: 10%; |
98 | 106 | position: absolute; |
99 | 107 | } |
100 | | - &:is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]):not(.tab-disabled, [disabled]), |
| 108 | + &:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( |
| 109 | + .tab-disabled, |
| 110 | + [disabled] |
| 111 | + ), |
101 | 112 | &:is(input:checked), |
102 | 113 | &:is(label:has(:checked)) { |
103 | 114 | &:before { |
|
133 | 144 | padding: var(--tab-paddings); |
134 | 145 | border-color: var(--tab-border-colors); |
135 | 146 |
|
136 | | - &:is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]):not(.tab-disabled, [disabled]), |
| 147 | + &:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( |
| 148 | + .tab-disabled, |
| 149 | + [disabled] |
| 150 | + ), |
137 | 151 | &:is(input:checked, label:has(:checked)) { |
138 | 152 | --tab-border: var(--border) var(--border) 0 var(--border); |
139 | 153 | --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 |
|
195 | 209 |
|
196 | 210 | &:has(.tab-content) { |
197 | 211 | > .tab:first-child { |
198 | | - &:not(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 212 | + &:not(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) { |
199 | 213 | --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 |
200 | 214 | var(--tab-border-color); |
201 | 215 | } |
|
212 | 226 |
|
213 | 227 | :checked, |
214 | 228 | label:has(:checked), |
215 | | - :is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 229 | + :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) { |
216 | 230 | & + .tab-content { |
217 | 231 | &:nth-child(1), |
218 | 232 | &:nth-child(n + 3) { |
|
240 | 254 | --tab-corner-position: top left, top right; |
241 | 255 | /* --last-tab-margin: 0 var(--tab-p) 0 0; */ |
242 | 256 |
|
243 | | - &:is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]):not(.tab-disabled, [disabled]), |
| 257 | + &:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( |
| 258 | + .tab-disabled, |
| 259 | + [disabled] |
| 260 | + ), |
244 | 261 | &:is(input:checked), |
245 | 262 | &:is(label:has(:checked)) { |
246 | 263 | --tab-border: var(--border) var(--border) 0 var(--border); |
|
268 | 285 |
|
269 | 286 | &:has(.tab-content) { |
270 | 287 | > .tab:first-child { |
271 | | - &:not(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 288 | + &:not(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) { |
272 | 289 | --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 |
273 | 290 | var(--tab-border-color); |
274 | 291 | } |
|
286 | 303 |
|
287 | 304 | :checked, |
288 | 305 | label:has(:checked), |
289 | | - :is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 306 | + :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) { |
290 | 307 | & + .tab-content { |
291 | 308 | &:nth-child(1), |
292 | 309 | &:nth-child(n + 3) { |
|
314 | 331 | --tab-corner-position: top left, top right; |
315 | 332 | /* --last-tab-margin: 0 var(--tab-p) 0 0; */ |
316 | 333 |
|
317 | | - &:is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]):not(.tab-disabled, [disabled]), |
| 334 | + &:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( |
| 335 | + .tab-disabled, |
| 336 | + [disabled] |
| 337 | + ), |
318 | 338 | &:is(input:checked), |
319 | 339 | &:is(label:has(:checked)) { |
320 | 340 | --tab-border: 0 var(--border) var(--border) var(--border); |
|
342 | 362 |
|
343 | 363 | &:has(.tab-content) { |
344 | 364 | > .tab:first-child { |
345 | | - &:not(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 365 | + &:not(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) { |
346 | 366 | --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) |
347 | 367 | var(--tab-border-color); |
348 | 368 | } |
|
360 | 380 |
|
361 | 381 | > :checked, |
362 | 382 | > :is(label:has(:checked)), |
363 | | - > :is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]) { |
| 383 | + > :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) { |
364 | 384 | & + .tab-content:not(:nth-child(2)) { |
365 | 385 | --tabcontent-radius-es: var(--radius-box); |
366 | 386 | } |
|
453 | 473 | } |
454 | 474 | } |
455 | 475 |
|
456 | | - > :is(.tab-active, [aria-selected=true], [aria-current=true], [aria-current=page]):not(.tab-disabled, [disabled]), |
| 476 | + > :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( |
| 477 | + .tab-disabled, |
| 478 | + [disabled] |
| 479 | + ), |
457 | 480 | > :is(input:checked), |
458 | 481 | > :is(label:has(:checked)) { |
459 | 482 | background-color: var(--tab-bg, var(--color-base-100)); |
|
0 commit comments