@@ -30,6 +30,15 @@ assert-css: (
30
30
"#source-sidebar details[open] > .files a.selected",
31
31
{"color": "rgb(0, 0, 0)", "background-color": "rgb(255, 255, 255)"},
32
32
)
33
+ // Without hover or focus.
34
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(0, 0, 0, 0)"})
35
+ // With focus.
36
+ focus: "#sidebar-toggle > button"
37
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgb(224, 224, 224)"})
38
+ focus: ".search-input"
39
+ // With hover.
40
+ move-cursor-to: "#sidebar-toggle > button"
41
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgb(224, 224, 224)"})
33
42
// Without hover.
34
43
assert-css: (
35
44
"#source-sidebar details[open] > .files a:not(.selected)",
@@ -76,6 +85,15 @@ assert-css: (
76
85
"#source-sidebar details[open] > .files > a.selected",
77
86
{"color": "rgb(221, 221, 221)", "background-color": "rgb(51, 51, 51)"},
78
87
)
88
+ // Without hover or focus.
89
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(0, 0, 0, 0)"})
90
+ // With focus.
91
+ focus: "#sidebar-toggle > button"
92
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgb(103, 103, 103)"})
93
+ focus: ".search-input"
94
+ // With hover.
95
+ move-cursor-to: "#sidebar-toggle > button"
96
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgb(103, 103, 103)"})
79
97
// Without hover.
80
98
assert-css: (
81
99
"#source-sidebar details[open] > .files > a:not(.selected)",
@@ -122,6 +140,15 @@ assert-css: (
122
140
"#source-sidebar details[open] > .files a.selected",
123
141
{"color": "rgb(255, 180, 76)", "background-color": "rgb(20, 25, 31)"},
124
142
)
143
+ // Without hover or focus.
144
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(0, 0, 0, 0)"})
145
+ // With focus.
146
+ focus: "#sidebar-toggle > button"
147
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(70, 70, 70, 0.33)"})
148
+ focus: ".search-input"
149
+ // With hover.
150
+ move-cursor-to: "#sidebar-toggle > button"
151
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(70, 70, 70, 0.33)"})
125
152
// Without hover.
126
153
assert-css: (
127
154
"#source-sidebar details[open] > .files a:not(.selected)",
0 commit comments