Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 285f12d

Browse files
committed
Increase contrast of current selected item
1 parent 81c6da9 commit 285f12d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

sphinx_search/static/css/rtd_sphinx_search.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
}
157157

158158
.search__result__box .active {
159-
background-color: rgb(245, 245, 245);
159+
background-color: #eee;
160160
}
161161

162162
.search__error__box {
@@ -238,7 +238,7 @@
238238
}
239239

240240
.outer_div_page_results:hover {
241-
background-color: rgb(245, 245, 245);
241+
background-color: #eee;
242242
}
243243

244244
.br-for-hits {
@@ -273,7 +273,7 @@
273273
}
274274

275275
.rtd__search__credits a {
276-
color: black;
276+
color: #333;
277277
text-decoration: underline;
278278
}
279279

sphinx_search/static/css/rtd_sphinx_search.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sphinx_search/static/js/rtd_sphinx_search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ window.addEventListener("DOMContentLoaded", evt => {
647647

648648
// this denotes the search suggestion which is currently selected
649649
// via tha ArrowUp/ArrowDown keys.
650-
let current_focus = 1;
650+
let current_focus = 0;
651651

652652
// this stores the current request.
653653
let current_request = null;

0 commit comments

Comments
 (0)