mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
search: fix button action color and placeholder color #402
This commit is contained in:
parent
3c6ea53a22
commit
8569a64c2b
1 changed files with 9 additions and 7 deletions
|
@ -87,7 +87,6 @@ th {
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchbox > :first-child {
|
.searchbox > :first-child {
|
||||||
color: rgba( 255, 255, 255, .8 );
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
}
|
}
|
||||||
|
@ -107,13 +106,19 @@ th {
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchbox span {
|
.searchbox span {
|
||||||
color: rgba( 255, 255, 255, .6 );
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#sidebar .searchbox > :first-child,
|
||||||
|
#sidebar .searchbox button,
|
||||||
|
.searchbox span {
|
||||||
|
color: rgba( 255, 255, 255, .6 );
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar .searchbox button:hover,
|
||||||
.searchbox span:hover {
|
.searchbox span:hover {
|
||||||
color: rgba( 255, 255, 255, .9 );
|
color: rgba( 255, 255, 255, .9 );
|
||||||
}
|
}
|
||||||
|
@ -1576,10 +1581,6 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchform > :first-child {
|
|
||||||
color: rgba( 255, 255, 255, .8 );
|
|
||||||
}
|
|
||||||
|
|
||||||
.searchform input {
|
.searchform input {
|
||||||
flex: 1 0 60%;
|
flex: 1 0 60%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -1592,7 +1593,8 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
|
||||||
|
|
||||||
.searchform input:-ms-input-placeholder,
|
.searchform input:-ms-input-placeholder,
|
||||||
.searchform input::placeholder {
|
.searchform input::placeholder {
|
||||||
color: rgba( 255, 255, 255, .4 );
|
color: var(--INTERNAL-MAIN-color);
|
||||||
|
filter: grayscale(1) contrast(10000) opacity(.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchform .btn {
|
.searchform .btn {
|
||||||
|
|
Loading…
Reference in a new issue