@@ -271,8 +271,16 @@ exports[`NavList renders a simple list 1`] = `
271
271
text - decoration : none ;
272
272
}
273
273
274
+ @media (forced-colors:active) {
275
+ .c2 :focus ,
276
+ .c2 :focus - visible ,
277
+ .c2 > a .focus - visible {
278
+ outline: solid 1px transparent ! important ;
279
+ }
280
+ }
281
+
274
282
@media (hover:hover) and (pointer:fine) {
275
- .c2 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
283
+ .c2 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
276
284
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
277
285
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
278
286
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -286,22 +294,22 @@ exports[`NavList renders a simple list 1`] = `
286
294
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
287
295
}
288
296
289
- .c2 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
297
+ .c2 :active :not ([aria - disabled ]):not ([data - inactive ]) {
290
298
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
291
299
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
292
300
}
293
301
}
294
302
295
303
@media (forced-colors:active) {
296
- .c2 :focus ,
297
- .c2 :focus - visible ,
298
- .c2 > a .focus - visible {
304
+ .c7 :focus ,
305
+ .c7 :focus - visible ,
306
+ .c7 > a .focus - visible {
299
307
outline: solid 1px transparent ! important ;
300
308
}
301
309
}
302
310
303
311
@media (hover:hover) and (pointer:fine) {
304
- .c7 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
312
+ .c7 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
305
313
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
306
314
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
307
315
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -315,20 +323,12 @@ exports[`NavList renders a simple list 1`] = `
315
323
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
316
324
}
317
325
318
- .c7 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
326
+ .c7 :active :not ([aria - disabled ]):not ([data - inactive ]) {
319
327
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
320
328
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
321
329
}
322
330
}
323
331
324
- @media (forced-colors:active) {
325
- .c7 :focus ,
326
- .c7 :focus - visible ,
327
- .c7 > a .focus - visible {
328
- outline: solid 1px transparent ! important ;
329
- }
330
- }
331
-
332
332
<div >
333
333
<nav
334
334
class = " "
@@ -719,8 +719,16 @@ exports[`NavList renders with groups 1`] = `
719
719
text - decoration : none ;
720
720
}
721
721
722
+ @media (forced-colors:active) {
723
+ .c6 :focus ,
724
+ .c6 :focus - visible ,
725
+ .c6 > a .focus - visible {
726
+ outline: solid 1px transparent ! important ;
727
+ }
728
+ }
729
+
722
730
@media (hover:hover) and (pointer:fine) {
723
- .c6 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
731
+ .c6 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
724
732
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
725
733
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
726
734
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -734,22 +742,22 @@ exports[`NavList renders with groups 1`] = `
734
742
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
735
743
}
736
744
737
- .c6 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
745
+ .c6 :active :not ([aria - disabled ]):not ([data - inactive ]) {
738
746
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
739
747
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
740
748
}
741
749
}
742
750
743
751
@media (forced-colors:active) {
744
- .c6 :focus ,
745
- .c6 :focus - visible ,
746
- .c6 > a .focus - visible {
752
+ .c11 :focus ,
753
+ .c11 :focus - visible ,
754
+ .c11 > a .focus - visible {
747
755
outline: solid 1px transparent ! important ;
748
756
}
749
757
}
750
758
751
759
@media (hover:hover) and (pointer:fine) {
752
- .c11 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
760
+ .c11 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
753
761
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
754
762
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
755
763
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -763,20 +771,12 @@ exports[`NavList renders with groups 1`] = `
763
771
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
764
772
}
765
773
766
- .c11 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
774
+ .c11 :active :not ([aria - disabled ]):not ([data - inactive ]) {
767
775
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
768
776
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
769
777
}
770
778
}
771
779
772
- @media (forced-colors:active) {
773
- .c11 :focus ,
774
- .c11 :focus - visible ,
775
- .c11 > a .focus - visible {
776
- outline: solid 1px transparent ! important ;
777
- }
778
- }
779
-
780
780
<div >
781
781
<nav
782
782
class = " "
@@ -1200,16 +1200,24 @@ exports[`NavList.Item with NavList.SubNav does not have active styles if SubNav
1200
1200
text - decoration : none ;
1201
1201
}
1202
1202
1203
+ @media (forced-colors:active) {
1204
+
1205
+ }
1206
+
1203
1207
@media (hover:hover) and (pointer:fine) {
1204
1208
1205
1209
}
1206
1210
1207
1211
@media (forced-colors:active) {
1208
-
1212
+ .c11 :focus ,
1213
+ .c11 :focus - visible ,
1214
+ .c11 > a .focus - visible {
1215
+ outline: solid 1px transparent ! important ;
1216
+ }
1209
1217
}
1210
1218
1211
1219
@media (hover:hover) and (pointer:fine) {
1212
- .c11 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1220
+ .c11 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
1213
1221
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
1214
1222
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1215
1223
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -1223,22 +1231,22 @@ exports[`NavList.Item with NavList.SubNav does not have active styles if SubNav
1223
1231
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
1224
1232
}
1225
1233
1226
- .c11 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1234
+ .c11 :active :not ([aria - disabled ]):not ([data - inactive ]) {
1227
1235
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
1228
1236
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1229
1237
}
1230
1238
}
1231
1239
1232
1240
@media (forced-colors:active) {
1233
- .c11 :focus ,
1234
- .c11 :focus - visible ,
1235
- .c11 > a .focus - visible {
1241
+ .c4 :focus ,
1242
+ .c4 :focus - visible ,
1243
+ .c4 > a .focus - visible {
1236
1244
outline: solid 1px transparent ! important ;
1237
1245
}
1238
1246
}
1239
1247
1240
1248
@media (hover:hover) and (pointer:fine) {
1241
- .c4 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1249
+ .c4 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
1242
1250
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
1243
1251
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1244
1252
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -1252,20 +1260,12 @@ exports[`NavList.Item with NavList.SubNav does not have active styles if SubNav
1252
1260
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
1253
1261
}
1254
1262
1255
- .c4 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1263
+ .c4 :active :not ([aria - disabled ]):not ([data - inactive ]) {
1256
1264
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
1257
1265
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1258
1266
}
1259
1267
}
1260
1268
1261
- @media (forced-colors:active) {
1262
- .c4 :focus ,
1263
- .c4 :focus - visible ,
1264
- .c4 > a .focus - visible {
1265
- outline: solid 1px transparent ! important ;
1266
- }
1267
- }
1268
-
1269
1269
<div >
1270
1270
<nav
1271
1271
class = " "
@@ -1693,16 +1693,24 @@ exports[`NavList.Item with NavList.SubNav has active styles if SubNav contains t
1693
1693
text - decoration : none ;
1694
1694
}
1695
1695
1696
+ @media (forced-colors:active) {
1697
+
1698
+ }
1699
+
1696
1700
@media (hover:hover) and (pointer:fine) {
1697
1701
1698
1702
}
1699
1703
1700
1704
@media (forced-colors:active) {
1701
-
1705
+ .c11 :focus ,
1706
+ .c11 :focus - visible ,
1707
+ .c11 > a .focus - visible {
1708
+ outline: solid 1px transparent ! important ;
1709
+ }
1702
1710
}
1703
1711
1704
1712
@media (hover:hover) and (pointer:fine) {
1705
- .c11 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1713
+ .c11 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
1706
1714
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
1707
1715
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1708
1716
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -1716,30 +1724,30 @@ exports[`NavList.Item with NavList.SubNav has active styles if SubNav contains t
1716
1724
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
1717
1725
}
1718
1726
1719
- .c11 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1727
+ .c11 :active :not ([aria - disabled ]):not ([data - inactive ]) {
1720
1728
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
1721
1729
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1722
1730
}
1723
1731
}
1724
1732
1725
1733
@media (forced-colors:active) {
1726
- .c11 :focus ,
1727
- .c11 :focus - visible ,
1728
- .c11 > a .focus - visible {
1729
- outline: solid 1px transparent ! important ;
1730
- }
1734
+
1731
1735
}
1732
1736
1733
1737
@media (hover:hover) and (pointer:fine) {
1734
1738
1735
1739
}
1736
1740
1737
1741
@media (forced-colors:active) {
1738
-
1742
+ .c4 :focus ,
1743
+ .c4 :focus - visible ,
1744
+ .c4 > a .focus - visible {
1745
+ outline: solid 1px transparent ! important ;
1746
+ }
1739
1747
}
1740
1748
1741
1749
@media (hover:hover) and (pointer:fine) {
1742
- .c4 :hover :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1750
+ .c4 :hover :not ([aria - disabled ]):not ([data - inactive ]) {
1743
1751
background-color: var (-- control - transparent - bgColor - hover ,var (-- color - action - list - item - default - hover - bg ,rgba (208 ,215 ,222 ,0.32 )));
1744
1752
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1745
1753
box - shadow : inset 0 0 0 max (1px ,0.0625rem ) var (-- control - transparent - borderColor - active ,var (-- color - action - list - item - default - active - border ,transparent ));
@@ -1753,20 +1761,12 @@ exports[`NavList.Item with NavList.SubNav has active styles if SubNav contains t
1753
1761
box - shadow : 0 0 0 2px var (-- bgColor - accent - emphasis ,var (-- color - accent - emphasis ,#0969da ));
1754
1762
}
1755
1763
1756
- .c4 :active :not ([aria - disabled ]):not ([data - inactive ]): not ([ data - loading ]) {
1764
+ .c4 :active :not ([aria - disabled ]):not ([data - inactive ]) {
1757
1765
background-color: var (-- control - transparent - bgColor - active ,var (-- color - action - list - item - default - active - bg ,rgba (208 ,215 ,222 ,0.48 )));
1758
1766
color : var (-- fgColor - default ,var (-- color - fg - default ,#1F2328 ));
1759
1767
}
1760
1768
}
1761
1769
1762
- @media (forced-colors:active) {
1763
- .c4 :focus ,
1764
- .c4 :focus - visible ,
1765
- .c4 > a .focus - visible {
1766
- outline: solid 1px transparent ! important ;
1767
- }
1768
- }
1769
-
1770
1770
<div >
1771
1771
<nav
1772
1772
class = " "
0 commit comments