@@ -5,7 +5,7 @@ define-function: (
55 (result_kind, color, hover_color),
66 block {
77 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 |})
99 assert-css: (
1010 ".result-" + |result_kind|,
1111 {"color": |entry_color|, "background-color": |background_color|},
@@ -19,7 +19,7 @@ define-function: (
1919 ".result-" + |result_kind| + ":hover ." + |result_kind|,
2020 {"color": |hover_color|},
2121 )
22- assert-css: (".result-" + |result_kind| + ":hover i ", {"color": |default_color |})
22+ assert-css: (".result-" + |result_kind| + ":hover .type-kind ", {"color": |hover_entry_color |})
2323 move-cursor-to: ".search-input"
2424 focus: ".result-" + |result_kind|
2525 assert-css: (
@@ -67,14 +67,6 @@ assert-css: (
6767 {"border-bottom-color": "#aaa3"}
6868)
6969
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-
7870store-value: (entry_color, "#0096cf") // color of the search entry
7971store-value: (hover_entry_color, "#fff") // color of the hovered/focused search entry
8072store-value: (background_color, "transparent") // background color
@@ -186,14 +178,6 @@ assert-css: (
186178 {"border-bottom-color": "#aaa3"}
187179)
188180
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-
197181store-value: (entry_color, "#ddd") // color of the search entry
198182store-value: (hover_entry_color, "#ddd") // color of the hovered/focused search entry
199183store-value: (background_color, "transparent") // background color
@@ -290,14 +274,6 @@ assert-css: (
290274 {"border-bottom-color": "#aaa3"}
291275)
292276
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-
301277store-value: (entry_color, "#000") // color of the search entry
302278store-value: (hover_entry_color, "#000") // color of the hovered/focused search entry
303279store-value: (background_color, "transparent") // background color
0 commit comments