Adjusted global search preview for dark mode
This commit is contained in:
parent
0e528986ab
commit
fcff206853
|
@ -121,15 +121,11 @@ header .search-box {
|
||||||
}
|
}
|
||||||
#header-search-box-button {
|
#header-search-box-button {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
left: 16px;
|
inset-inline-start: 16px;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
@include lightDark(color, rgba(255, 255, 255, 0.8), #AAA);
|
@include lightDark(color, rgba(255, 255, 255, 0.8), #AAA);
|
||||||
@include rtl {
|
|
||||||
left: auto;
|
|
||||||
right: 16px;
|
|
||||||
}
|
|
||||||
svg {
|
svg {
|
||||||
margin-inline-end: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
@ -173,12 +169,11 @@ header .search-box.search-active:focus-within {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
background-color: #EEE;
|
@include lightDark(background-color, #EEE, #333);
|
||||||
color: #444;
|
@include lightDark(border-color, #DDD, #111);
|
||||||
border-color: #DDD;
|
|
||||||
}
|
}
|
||||||
#header-search-box-button {
|
#header-search-box-button, input {
|
||||||
color: #444;
|
@include lightDark(color, #444, #AAA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue