diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-12-13 11:05:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-13 11:05:45 +0900 |
| commit | 5115bbf1dd0564897dc5e2b1c342bc47f8d8a7c3 (patch) | |
| tree | 9e8619049a7daa9801e9cdc30a5938a8bced0bc8 | |
| parent | d90084c226718e3ad66ae7a29e76e3d41240630b (diff) | |
| parent | 2b455aa7d805a2a88e231585c7e89cb1652d3d3c (diff) | |
| download | rust-5115bbf1dd0564897dc5e2b1c342bc47f8d8a7c3.tar.gz rust-5115bbf1dd0564897dc5e2b1c342bc47f8d8a7c3.zip | |
Rollup merge of #79973 - camelid:rustdoc-search-tab-color, r=GuillaumeGomez
rustdoc light theme: Fix CSS for selected buttons Fixes #79961. The background was dark before, which made the text impossible to read. Now the button doesn't override the background, and the only thing it does is add a light-blue top border. Ultimately, the search results tabs now look very similar to how they used to look. r? `@GuillaumeGomez`
| -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 { |
