Minor style tweaking

This commit is contained in:
Ben Busby 2021-03-20 20:51:09 -04:00
parent 2aff39365c
commit c972b80a6c
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2
3 changed files with 7 additions and 6 deletions

View File

@ -66,7 +66,8 @@ select {
} }
#search-bar { #search-bar {
border: 3px solid var(--whoogle-dark-accent) !important; border: 2px solid var(--whoogle-dark-accent) !important;
border-radius: 8px;
color: var(--whoogle-dark-text) !important; color: var(--whoogle-dark-text) !important;
} }

View File

@ -63,7 +63,7 @@ input {
#search-bar { #search-bar {
color: var(--whoogle-text) !important; color: var(--whoogle-text) !important;
background-color: var(--whoogle-background) !important; background-color: var(--whoogle-background);
} }
.home-search { .home-search {

View File

@ -10,9 +10,9 @@
<div class="H0PQec" style="width: 100%;"> <div class="H0PQec" style="width: 100%;">
<div class="sbc esbc autocomplete"> <div class="sbc esbc autocomplete">
<input id="search-bar" autocapitalize="none" autocomplete="off" class="noHIxc" name="q" <input id="search-bar" autocapitalize="none" autocomplete="off" class="noHIxc" name="q"
style="background-color: {{ 'var(--whoogle-dark-background)' if config.dark else 'var(--whoogle-background)' }}; style="background-color: {{ 'var(--whoogle-dark-result-bg)' if config.dark else 'var(--whoogle-result-bg)' }} !important;
color: {{ 'var(--whoogle-dark-text)' if config.dark else 'var(--whoogle-text)' }}; color: {{ 'var(--whoogle-dark-text)' if config.dark else 'var(--whoogle-text)' }};
border: {{ '1px solid var(--whoogle-dark-accent)' if config.dark else '' }}" border: {{ '2px solid var(--whoogle-dark-accent)' if config.dark else '' }};"
spellcheck="false" type="text" value="{{ query }}"> spellcheck="false" type="text" value="{{ query }}">
<input name="tbm" value="{{ search_type }}" style="display: none"> <input name="tbm" value="{{ search_type }}" style="display: none">
<input type="submit" style="display: none;"> <input type="submit" style="display: none;">
@ -35,9 +35,9 @@
<div style="width: 100%; display: flex"> <div style="width: 100%; display: flex">
<input id="search-bar" autocapitalize="none" autocomplete="off" class="noHIxc" name="q" <input id="search-bar" autocapitalize="none" autocomplete="off" class="noHIxc" name="q"
spellcheck="false" type="text" value="{{ query }}" spellcheck="false" type="text" value="{{ query }}"
style="background-color: {{ 'var(--whoogle-dark-background)' if config.dark else 'var(--whoogle-background)' }}; style="background-color: {{ 'var(--whoogle-dark-result-bg)' if config.dark else 'var(--whoogle-result-bg)' }} !important;
color: {{ 'var(--whoogle-dark-text)' if config.dark else 'var(--whoogle-text)' }}; color: {{ 'var(--whoogle-dark-text)' if config.dark else 'var(--whoogle-text)' }};
border: {{ '1px solid var(--whoogle-dark-accent)' if config.dark else '' }}"> border: {{ '2px solid var(--whoogle-dark-accent)' if config.dark else '' }};">
<input name="tbm" value="{{ search_type }}" style="display: none"> <input name="tbm" value="{{ search_type }}" style="display: none">
<input type="submit" style="display: none;"> <input type="submit" style="display: none;">
<div class="sc"></div> <div class="sc"></div>