Skip to content

Commit 5115bbf

Browse files
authored
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`
2 parents d90084c + 2b455aa commit 5115bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ pre.ignore:hover, .information:hover + pre.ignore {
349349
}
350350

351351
#titles > button:hover, #titles > button.selected {
352+
background-color: #ffffff;
352353
border-top-color: #0089ff;
353-
background-color: #353535;
354354
}
355355

356356
#titles > button > div.count {

0 commit comments

Comments
 (0)