1
Fork 0

Two small improvements:

Fix oversight duplicate property left in CSS (dark theme).

Improve wording in comment that mentions `appearance: none`
This commit is contained in:
Frank Steffahn 2022-07-11 21:52:26 +02:00 committed by Guillaume Gomez
parent 16bcc18334
commit e957480f04
2 changed files with 2 additions and 3 deletions

View file

@ -984,8 +984,8 @@ table,
text-indent: 0.01px;
background-color: var(--main-background-color);
}
/* cancel stylistic differences in padding
in firefox for "appearance: none" <select>s */
/* cancel stylistic differences in padding in firefox
for "appearance: none"-style (or equivalent) <select>s */
@-moz-document url-prefix() {
#crate-search {
padding-left: 0px; /* == 4px - 4px */

View file

@ -170,7 +170,6 @@ details.rustdoc-toggle > summary::before {
}
#crate-search:hover, #crate-search:focus {
border-color: #2196f3 !important;
border-color: #008dfd !important;
}
#crate-search-div:hover::after, #crate-search-div:focus-within::after {
filter: invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);