diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-12-26 13:09:23 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-12-26 13:09:23 +0100 |
| commit | ade755d25112f8caf9029f9606bc945205644aff (patch) | |
| tree | 9b5d41c1ce4a9c90f2f195f563e74e6ea77cf0a9 /src/librustdoc/html/static | |
| parent | eb1ac047467be68686a0bf4014d770c07e507111 (diff) | |
| download | rust-ade755d25112f8caf9029f9606bc945205644aff.tar.gz rust-ade755d25112f8caf9029f9606bc945205644aff.zip | |
Fix missing renaming for #titles into #search-tabs
Diffstat (limited to 'src/librustdoc/html/static')
| -rw-r--r-- | src/librustdoc/html/static/css/themes/ayu.css | 8 | ||||
| -rw-r--r-- | src/librustdoc/html/static/css/themes/dark.css | 4 | ||||
| -rw-r--r-- | src/librustdoc/html/static/css/themes/light.css | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css index 4ffc25e2688..36f1f955f5f 100644 --- a/src/librustdoc/html/static/css/themes/ayu.css +++ b/src/librustdoc/html/static/css/themes/ayu.css @@ -162,18 +162,18 @@ pre, .rustdoc.source .example-wrap { color: #788797; } -#titles > button.selected { +#search-tabs > button.selected { background-color: #141920 !important; border-bottom: 1px solid #ffb44c !important; border-top: none; } -#titles > button:not(.selected) { +#search-tabs > button:not(.selected) { background-color: transparent !important; border: none; } -#titles > button:hover { +#search-tabs > button:hover { border-bottom: 1px solid rgba(242, 151, 24, 0.3); } @@ -185,7 +185,7 @@ above the `@media (max-width: 700px)` rules due to a bug in the css checker */ /* see https://github.com/rust-lang/rust/pull/71237#issuecomment-618170143 */ pre.rust .lifetime {} pre.rust .kw {} -#titles > button:hover, #titles > button.selected {} +#search-tabs > button:hover, #search-tabs > button.selected {} pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val, pre.rust .attribute {} pre.rust .kw-2, pre.rust .prelude-ty {} diff --git a/src/librustdoc/html/static/css/themes/dark.css b/src/librustdoc/html/static/css/themes/dark.css index a7922cdeba1..6dd15d2e1bb 100644 --- a/src/librustdoc/html/static/css/themes/dark.css +++ b/src/librustdoc/html/static/css/themes/dark.css @@ -88,12 +88,12 @@ --scrape-example-toggle-line-hover-background: #c5c5c5; } -#titles > button:not(.selected) { +#search-tabs > button:not(.selected) { background-color: #252525; border-top-color: #252525; } -#titles > button:hover, #titles > button.selected { +#search-tabs > button:hover, #search-tabs > button.selected { border-top-color: #0089ff; background-color: #353535; } diff --git a/src/librustdoc/html/static/css/themes/light.css b/src/librustdoc/html/static/css/themes/light.css index aff46f8dc6d..804e20d0d44 100644 --- a/src/librustdoc/html/static/css/themes/light.css +++ b/src/librustdoc/html/static/css/themes/light.css @@ -85,12 +85,12 @@ --scrape-example-toggle-line-hover-background: #999; } -#titles > button:not(.selected) { +#search-tabs > button:not(.selected) { background-color: #e6e6e6; border-top-color: #e6e6e6; } -#titles > button:hover, #titles > button.selected { +#search-tabs > button:hover, #search-tabs > button.selected { background-color: #ffffff; border-top-color: #0089ff; } |
