Skip to content

Commit

Permalink
Increase contrast of current selected item
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Jan 20, 2021
1 parent 81c6da9 commit 285f12d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sphinx_search/static/css/rtd_sphinx_search.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
}

.search__result__box .active {
background-color: rgb(245, 245, 245);
background-color: #eee;
}

.search__error__box {
Expand Down Expand Up @@ -238,7 +238,7 @@
}

.outer_div_page_results:hover {
background-color: rgb(245, 245, 245);
background-color: #eee;
}

.br-for-hits {
Expand Down Expand Up @@ -273,7 +273,7 @@
}

.rtd__search__credits a {
color: black;
color: #333;
text-decoration: underline;
}

Expand Down
2 changes: 1 addition & 1 deletion sphinx_search/static/css/rtd_sphinx_search.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sphinx_search/static/js/rtd_sphinx_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ window.addEventListener("DOMContentLoaded", evt => {

// this denotes the search suggestion which is currently selected
// via tha ArrowUp/ArrowDown keys.
let current_focus = 1;
let current_focus = 0;

// this stores the current request.
let current_request = null;
Expand Down
Loading

0 comments on commit 285f12d

Please sign in to comment.