mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 21:47:26 +00:00
Add search icon to navbar searchbar
This commit is contained in:
parent
05adaf7315
commit
3d630dd387
@ -168,6 +168,18 @@ img.thumbnail {
|
|||||||
color: #3E4446;
|
color: #3E4446;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-button:hover {
|
||||||
|
color: #090909;
|
||||||
|
}
|
||||||
|
|
||||||
|
#right-overlap-search-button {
|
||||||
|
float: right;
|
||||||
|
position: relative;
|
||||||
|
bottom: 1.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -429,12 +441,14 @@ body.dark-theme {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dark-theme .search-button {
|
.dark-theme .search-button {
|
||||||
border: none;
|
|
||||||
color: #B0ADA4;
|
color: #B0ADA4;
|
||||||
background: transparent;
|
|
||||||
font-size: 1.1em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark-theme .search-button:hover {
|
||||||
|
color: #CFCBC1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.dark-theme .pure-menu-link:hover, .dark-theme .pure-menu-link:active {
|
.dark-theme .pure-menu-link:hover, .dark-theme .pure-menu-link:active {
|
||||||
background-color: rgb(34, 36, 38)
|
background-color: rgb(34, 36, 38)
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
<form class="pure-form" action="/search" method="get">
|
<form class="pure-form" action="/search" method="get">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<input type="search" style="width:100%" name="q" placeholder="<%= translate(locale, "search") %>" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
<input type="search" style="width:100%" name="q" placeholder="<%= translate(locale, "search") %>" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
||||||
|
<button class="search-button" id="right-overlap-search-button"><i class="icon ion-md-search"></i></button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user