Skip to content

Commit ade755d

Browse files
Fix missing renaming for #titles into #search-tabs
1 parent eb1ac04 commit ade755d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/librustdoc/html/static/css/themes/ayu.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,18 @@ pre, .rustdoc.source .example-wrap {
162162
color: #788797;
163163
}
164164

165-
#titles > button.selected {
165+
#search-tabs > button.selected {
166166
background-color: #141920 !important;
167167
border-bottom: 1px solid #ffb44c !important;
168168
border-top: none;
169169
}
170170

171-
#titles > button:not(.selected) {
171+
#search-tabs > button:not(.selected) {
172172
background-color: transparent !important;
173173
border: none;
174174
}
175175

176-
#titles > button:hover {
176+
#search-tabs > button:hover {
177177
border-bottom: 1px solid rgba(242, 151, 24, 0.3);
178178
}
179179

@@ -185,7 +185,7 @@ above the `@media (max-width: 700px)` rules due to a bug in the css checker */
185185
/* see https://github.com/rust-lang/rust/pull/71237#issuecomment-618170143 */
186186
pre.rust .lifetime {}
187187
pre.rust .kw {}
188-
#titles > button:hover, #titles > button.selected {}
188+
#search-tabs > button:hover, #search-tabs > button.selected {}
189189
pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val, pre.rust .attribute {}
190190
pre.rust .kw-2, pre.rust .prelude-ty {}
191191

src/librustdoc/html/static/css/themes/dark.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@
8888
--scrape-example-toggle-line-hover-background: #c5c5c5;
8989
}
9090

91-
#titles > button:not(.selected) {
91+
#search-tabs > button:not(.selected) {
9292
background-color: #252525;
9393
border-top-color: #252525;
9494
}
9595

96-
#titles > button:hover, #titles > button.selected {
96+
#search-tabs > button:hover, #search-tabs > button.selected {
9797
border-top-color: #0089ff;
9898
background-color: #353535;
9999
}

src/librustdoc/html/static/css/themes/light.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@
8585
--scrape-example-toggle-line-hover-background: #999;
8686
}
8787

88-
#titles > button:not(.selected) {
88+
#search-tabs > button:not(.selected) {
8989
background-color: #e6e6e6;
9090
border-top-color: #e6e6e6;
9191
}
9292

93-
#titles > button:hover, #titles > button.selected {
93+
#search-tabs > button:hover, #search-tabs > button.selected {
9494
background-color: #ffffff;
9595
border-top-color: #0089ff;
9696
}

0 commit comments

Comments
 (0)