Add dark mode for search input
This commit is contained in:
parent
7c7e81f841
commit
f7552e9565
1 changed files with 15 additions and 0 deletions
|
@ -26,4 +26,19 @@ body.page-searchpage {
|
|||
#result-count {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
input[type="search"] {
|
||||
@include dark-mode {
|
||||
background-color: color.adjust($dark, $alpha: -0.2);
|
||||
color: $white;
|
||||
|
||||
&::placeholder {
|
||||
color: rgba(214 210 205 / 80%);
|
||||
}
|
||||
|
||||
&:focus ~ .icon {
|
||||
color: $grey-light !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue