diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-12-12 11:42:34 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-12-12 11:59:52 -0800 |
| commit | 2b455aa7d805a2a88e231585c7e89cb1652d3d3c (patch) | |
| tree | 303d9bbfcfa6425ab6ed44c5f27ec60273c58295 /src/librustdoc/html | |
| parent | 2225ee1b62ff089917434aefd9b2bf509cfa087f (diff) | |
| download | rust-2b455aa7d805a2a88e231585c7e89cb1652d3d3c.tar.gz rust-2b455aa7d805a2a88e231585c7e89cb1652d3d3c.zip | |
rustdoc light theme: Fix CSS for selected buttons
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 #79896).
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/static/themes/light.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index 52cfdf6f7a3..997e1f00f85 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -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 { |
