@@ -30,6 +30,15 @@ assert-css: (
3030 "#source-sidebar details[open] > .files a.selected",
3131 {"color": "rgb(0, 0, 0)", "background-color": "rgb(255, 255, 255)"},
3232)
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)"})
3342// Without hover.
3443assert-css: (
3544 "#source-sidebar details[open] > .files a:not(.selected)",
@@ -76,6 +85,15 @@ assert-css: (
7685 "#source-sidebar details[open] > .files > a.selected",
7786 {"color": "rgb(221, 221, 221)", "background-color": "rgb(51, 51, 51)"},
7887)
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)"})
7997// Without hover.
8098assert-css: (
8199 "#source-sidebar details[open] > .files > a:not(.selected)",
@@ -122,6 +140,15 @@ assert-css: (
122140 "#source-sidebar details[open] > .files a.selected",
123141 {"color": "rgb(255, 180, 76)", "background-color": "rgb(20, 25, 31)"},
124142)
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)"})
125152// Without hover.
126153assert-css: (
127154 "#source-sidebar details[open] > .files a:not(.selected)",
0 commit comments