@@ -30,6 +30,15 @@ assert-css: (
30
30
"#source-sidebar .expand + .children 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 .expand + .children > .files a:not(.selected)",
@@ -62,6 +71,15 @@ assert-css: (
62
71
"#source-sidebar .expand + .children a.selected",
63
72
{"color": "rgb(221, 221, 221)", "background-color": "rgb(51, 51, 51)"},
64
73
)
74
+ // Without hover or focus.
75
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(0, 0, 0, 0)"})
76
+ // With focus.
77
+ focus: "#sidebar-toggle > button"
78
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgb(103, 103, 103)"})
79
+ focus: ".search-input"
80
+ // With hover.
81
+ move-cursor-to: "#sidebar-toggle > button"
82
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgb(103, 103, 103)"})
65
83
// Without hover.
66
84
assert-css: (
67
85
"#source-sidebar .expand + .children > .files a:not(.selected)",
@@ -94,6 +112,15 @@ assert-css: (
94
112
"#source-sidebar .expand + .children a.selected",
95
113
{"color": "rgb(255, 180, 76)", "background-color": "rgb(20, 25, 31)"},
96
114
)
115
+ // Without hover or focus.
116
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(0, 0, 0, 0)"})
117
+ // With focus.
118
+ focus: "#sidebar-toggle > button"
119
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(70, 70, 70, 0.33)"})
120
+ focus: ".search-input"
121
+ // With hover.
122
+ move-cursor-to: "#sidebar-toggle > button"
123
+ assert-css: ("#sidebar-toggle > button", {"background-color": "rgba(70, 70, 70, 0.33)"})
97
124
// Without hover.
98
125
assert-css: (
99
126
"#source-sidebar .expand + .children > .files a:not(.selected)",
0 commit comments