Skip to content

Commit

Permalink
rustdoc light theme: Fix CSS for selected buttons
Browse files Browse the repository at this point in the history
The background was dark before, which made the text impossible to read.
Now the background is white, which is how selected `div`s are rendered.

As a result, the search results tabs now look identical to how they
used to look (before rust-lang#79896).
  • Loading branch information
camelid committed Dec 12, 2020
1 parent 2225ee1 commit 2b455aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ pre.ignore:hover, .information:hover + pre.ignore {
}

#titles > button:hover, #titles > button.selected {
background-color: #ffffff;
border-top-color: #0089ff;
background-color: #353535;
}

#titles > button > div.count {
Expand Down

0 comments on commit 2b455aa

Please sign in to comment.