@@ -43,6 +43,7 @@ define-function: (
43
43
"#source-sidebar details[open] > .files a.selected",
44
44
{"color": |color_hover|, "background-color": |background|},
45
45
)),
46
+
46
47
// Without hover or focus.
47
48
("assert-css", ("#sidebar-toggle > button", {"background-color": |background_toggle|})),
48
49
// With focus.
@@ -52,7 +53,8 @@ define-function: (
52
53
// With hover.
53
54
("move-cursor-to", "#sidebar-toggle > button"),
54
55
("assert-css", ("#sidebar-toggle > button", {"background-color": |background_toggle_hover|})),
55
- // Without hover.
56
+
57
+ // Without hover or focus.
56
58
("assert-css", (
57
59
"#source-sidebar details[open] > .files a:not(.selected)",
58
60
{"color": |color|, "background-color": |background_toggle|},
@@ -70,7 +72,27 @@ define-function: (
70
72
"#source-sidebar details[open] > .files a:not(.selected)",
71
73
{"color": |color_hover|, "background-color": |background_hover|},
72
74
)),
73
- // Without hover.
75
+
76
+ // Without hover or focus.
77
+ ("assert-css", (
78
+ "#source-sidebar .dir-entry summary",
79
+ {"color": |color|, "background-color": |background_toggle|},
80
+ )),
81
+ // With focus.
82
+ ("focus", "#source-sidebar .dir-entry summary"),
83
+ ("wait-for-css", (
84
+ "#source-sidebar .dir-entry summary:focus",
85
+ {"color": |color_hover|, "background-color": |background_hover|},
86
+ )),
87
+ ("focus", ".search-input"),
88
+ // With hover.
89
+ ("move-cursor-to", "#source-sidebar .dir-entry summary"),
90
+ ("assert-css", (
91
+ "#source-sidebar .dir-entry summary:hover",
92
+ {"color": |color_hover|, "background-color": |background_hover|},
93
+ )),
94
+
95
+ // Without hover or focus.
74
96
("assert-css", (
75
97
"#source-sidebar details[open] > .folders > details > summary",
76
98
{"color": |color|, "background-color": |background_toggle|},
0 commit comments