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)"},
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 > a",
52 "color": "rgb(255, 255, 255)",
53 "border-color": "rgb(224, 224, 224)",
54 "background-color": "rgb(20, 25, 32)",
62 "color": "rgb(57, 175, 215)",
68 {"border-color": "rgb(197, 197, 197)"},
73 "border-color": "rgb(92, 103, 115)",
74 "background-color": "rgb(20, 25, 32)",
77 move-cursor-to: "#settings-menu"
79 "#settings-menu:hover",
80 {"border-color": "rgb(197, 197, 197)"},
82 // Only "border-color" should change.
84 "#settings-menu:hover > a",
86 "border-color": "rgb(224, 224, 224)",
87 "background-color": "rgb(20, 25, 32)",
93 "rustdoc-theme": "dark",
94 "rustdoc-use-system-theme": "false",
101 "border-color": "rgb(224, 224, 224)",
102 "background-color": "rgb(240, 240, 240)",
103 "color": "rgb(17, 17, 17)",
106 focus: ".search-input"
107 // Only "border-color" should change.
111 "border-color": "rgb(0, 141, 253)",
112 "background-color": "rgb(240, 240, 240)",
113 "color": "rgb(17, 17, 17)",
119 {"border-color": "rgb(221, 221, 221)"},
124 "color": "rgb(0, 0, 0)",
125 "border-color": "rgb(224, 224, 224)",
126 "background-color": "rgb(240, 240, 240)",
129 move-cursor-to: "#help-button"
131 "#help-button:hover",
132 {"border-color": "rgb(221, 221, 221)"},
134 // Only "border-color" should change.
136 "#help-button:hover > a",
138 "color": "rgb(0, 0, 0)",
139 "border-color": "rgb(255, 185, 0)",
140 "background-color": "rgb(240, 240, 240)",
144 click: "#help-button"
148 "color": "rgb(210, 153, 29)",
154 {"border-color": "rgb(221, 221, 221)"},
157 "#settings-menu > a",
159 "border-color": "rgb(224, 224, 224)",
160 "background-color": "rgb(240, 240, 240)",
163 move-cursor-to: "#settings-menu"
165 "#settings-menu:hover",
166 {"border-color": "rgb(221, 221, 221)"},
168 // Only "border-color" should change.
170 "#settings-menu:hover > a",
172 "color": "rgb(0, 0, 0)",
173 "border-color": "rgb(255, 185, 0)",
174 "background-color": "rgb(240, 240, 240)",
180 "rustdoc-theme": "light",
181 "rustdoc-use-system-theme": "false",
188 "border-color": "rgb(224, 224, 224)",
189 "background-color": "rgb(255, 255, 255)",
190 "color": "rgb(0, 0, 0)",
193 focus: ".search-input"
194 // Nothing should change.
198 "border-color": "rgb(102, 175, 233)",
199 "background-color": "rgb(255, 255, 255)",
200 "color": "rgb(0, 0, 0)",
206 {"border-color": "rgb(0, 0, 0)"},
211 "color": "rgb(0, 0, 0)",
212 "border-color": "rgb(224, 224, 224)",
213 "background-color": "rgb(255, 255, 255)",
216 move-cursor-to: "#help-button"
218 "#help-button:hover",
219 {"border-color": "rgb(0, 0, 0)"},
221 // Only "border-color" should change.
223 "#help-button:hover > a",
225 "color": "rgb(0, 0, 0)",
226 "border-color": "rgb(113, 113, 113)",
227 "background-color": "rgb(255, 255, 255)",
231 click: "#help-button"
235 "color": "rgb(56, 115, 173)",
241 {"border-color": "rgb(0, 0, 0)"},
244 "#settings-menu > a",
246 "border-color": "rgb(224, 224, 224)",
247 "background-color": "rgb(255, 255, 255)",
250 move-cursor-to: "#settings-menu"
252 "#settings-menu:hover",
253 {"border-color": "rgb(0, 0, 0)"},
255 // Only "border-color" should change.
257 "#settings-menu:hover > a",
259 "color": "rgb(0, 0, 0)",
260 "border-color": "rgb(113, 113, 113)",
261 "background-color": "rgb(255, 255, 255)",