1 // This test ensures that the elements in ".search-form" have the expected display.
2 goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
7 "rustdoc-theme": "ayu",
8 "rustdoc-use-system-theme": "false",
15 "border-color": "rgb(92, 103, 115)",
16 "background-color": "rgb(20, 25, 32)",
17 "color": "rgb(255, 255, 255)",
20 focus: ".search-input"
21 // Nothing should change.
25 "border-color": "rgb(92, 103, 115)",
26 "background-color": "rgb(20, 25, 32)",
27 "color": "rgb(255, 255, 255)",
33 {"border-color": "rgb(197, 197, 197)"},
36 "#help-button > button",
38 "color": "rgb(255, 255, 255)",
39 "border-color": "rgb(92, 103, 115)",
40 "background-color": "rgb(20, 25, 32)",
43 move-cursor-to: "#help-button"
46 {"border-color": "rgb(197, 197, 197)"},
48 // Only "border-color" should change.
50 "#help-button:hover > button",
52 "color": "rgb(255, 255, 255)",
53 "border-color": "rgb(224, 224, 224)",
54 "background-color": "rgb(20, 25, 32)",
60 {"border-color": "rgb(197, 197, 197)"},
65 "color": "rgb(255, 255, 255)",
66 "border-color": "rgb(92, 103, 115)",
67 "background-color": "rgb(20, 25, 32)",
70 move-cursor-to: "#settings-menu"
72 "#settings-menu:hover",
73 {"border-color": "rgb(197, 197, 197)"},
75 // Only "border-color" should change.
77 "#settings-menu:hover > a",
79 "color": "rgb(255, 255, 255)",
80 "border-color": "rgb(224, 224, 224)",
81 "background-color": "rgb(20, 25, 32)",
87 "rustdoc-theme": "dark",
88 "rustdoc-use-system-theme": "false",
95 "border-color": "rgb(224, 224, 224)",
96 "background-color": "rgb(240, 240, 240)",
97 "color": "rgb(17, 17, 17)",
100 focus: ".search-input"
101 // Only "border-color" should change.
105 "border-color": "rgb(0, 141, 253)",
106 "background-color": "rgb(240, 240, 240)",
107 "color": "rgb(17, 17, 17)",
113 {"border-color": "rgb(221, 221, 221)"},
116 "#help-button > button",
118 "color": "rgb(0, 0, 0)",
119 "border-color": "rgb(224, 224, 224)",
120 "background-color": "rgb(240, 240, 240)",
123 move-cursor-to: "#help-button"
125 "#help-button:hover",
126 {"border-color": "rgb(221, 221, 221)"},
128 // Only "border-color" should change.
130 "#help-button:hover > button",
132 "color": "rgb(0, 0, 0)",
133 "border-color": "rgb(255, 185, 0)",
134 "background-color": "rgb(240, 240, 240)",
140 {"border-color": "rgb(221, 221, 221)"},
143 "#settings-menu > a",
145 "color": "rgb(0, 0, 0)",
146 "border-color": "rgb(224, 224, 224)",
147 "background-color": "rgb(240, 240, 240)",
150 move-cursor-to: "#settings-menu"
152 "#settings-menu:hover",
153 {"border-color": "rgb(221, 221, 221)"},
155 // Only "border-color" should change.
157 "#settings-menu:hover > a",
159 "color": "rgb(0, 0, 0)",
160 "border-color": "rgb(255, 185, 0)",
161 "background-color": "rgb(240, 240, 240)",
167 "rustdoc-theme": "light",
168 "rustdoc-use-system-theme": "false",
175 "border-color": "rgb(224, 224, 224)",
176 "background-color": "rgb(255, 255, 255)",
177 "color": "rgb(0, 0, 0)",
180 focus: ".search-input"
181 // Nothing should change.
185 "border-color": "rgb(102, 175, 233)",
186 "background-color": "rgb(255, 255, 255)",
187 "color": "rgb(0, 0, 0)",
193 {"border-color": "rgb(0, 0, 0)"},
196 "#help-button > button",
198 "color": "rgb(0, 0, 0)",
199 "border-color": "rgb(224, 224, 224)",
200 "background-color": "rgb(255, 255, 255)",
203 move-cursor-to: "#help-button"
205 "#help-button:hover",
206 {"border-color": "rgb(0, 0, 0)"},
208 // Only "border-color" should change.
210 "#help-button:hover > button",
212 "color": "rgb(0, 0, 0)",
213 "border-color": "rgb(113, 113, 113)",
214 "background-color": "rgb(255, 255, 255)",
220 {"border-color": "rgb(0, 0, 0)"},
223 "#settings-menu > a",
225 "color": "rgb(56, 115, 173)",
226 "border-color": "rgb(224, 224, 224)",
227 "background-color": "rgb(255, 255, 255)",
230 move-cursor-to: "#settings-menu"
232 "#settings-menu:hover",
233 {"border-color": "rgb(0, 0, 0)"},
235 // Only "border-color" should change.
237 "#settings-menu:hover > a",
239 "color": "rgb(56, 115, 173)",
240 "border-color": "rgb(113, 113, 113)",
241 "background-color": "rgb(255, 255, 255)",