@@ -5,7 +5,7 @@ define-function: (
5
5
(result_kind, color, hover_color),
6
6
block {
7
7
assert-css: (".result-" + |result_kind| + " ." + |result_kind|, {"color": |color|}, ALL)
8
- assert-css: (".result-" + |result_kind| + " i ", {"color": |default_color |})
8
+ assert-css: (".result-" + |result_kind| + " .type-kind ", {"color": |entry_color |})
9
9
assert-css: (
10
10
".result-" + |result_kind|,
11
11
{"color": |entry_color|, "background-color": |background_color|},
@@ -19,7 +19,7 @@ define-function: (
19
19
".result-" + |result_kind| + ":hover ." + |result_kind|,
20
20
{"color": |hover_color|},
21
21
)
22
- assert-css: (".result-" + |result_kind| + ":hover i ", {"color": |default_color |})
22
+ assert-css: (".result-" + |result_kind| + ":hover .type-kind ", {"color": |hover_entry_color |})
23
23
move-cursor-to: ".search-input"
24
24
focus: ".result-" + |result_kind|
25
25
assert-css: (
@@ -67,14 +67,6 @@ assert-css: (
67
67
{"border-bottom-color": "#aaa3"}
68
68
)
69
69
70
- store-value: (default_color, "rgb(197, 197, 197)")
71
-
72
- // Checking the color of "keyword" text.
73
- assert-css: (
74
- "//*[@class='result-name']//*[text()='(keyword)']",
75
- {"color": |default_color|},
76
- )
77
-
78
70
store-value: (entry_color, "#0096cf") // color of the search entry
79
71
store-value: (hover_entry_color, "#fff") // color of the hovered/focused search entry
80
72
store-value: (background_color, "transparent") // background color
@@ -186,14 +178,6 @@ assert-css: (
186
178
{"border-bottom-color": "#aaa3"}
187
179
)
188
180
189
- store-value: (default_color, "rgb(221, 221, 221)")
190
-
191
- // Checking the color for "keyword" text.
192
- assert-css: (
193
- "//*[@class='result-name']//*[text()='(keyword)']",
194
- {"color": |default_color|},
195
- )
196
-
197
181
store-value: (entry_color, "#ddd") // color of the search entry
198
182
store-value: (hover_entry_color, "#ddd") // color of the hovered/focused search entry
199
183
store-value: (background_color, "transparent") // background color
@@ -290,14 +274,6 @@ assert-css: (
290
274
{"border-bottom-color": "#aaa3"}
291
275
)
292
276
293
- store-value: (default_color, "rgb(0, 0, 0)")
294
-
295
- // Checking the color for "keyword" text.
296
- assert-css: (
297
- "//*[@class='result-name']//*[text()='(keyword)']",
298
- {"color": |default_color|},
299
- )
300
-
301
277
store-value: (entry_color, "#000") // color of the search entry
302
278
store-value: (hover_entry_color, "#000") // color of the hovered/focused search entry
303
279
store-value: (background_color, "transparent") // background color
0 commit comments