mirror of
https://github.com/iv-org/invidious
synced 2024-11-10 05:03:32 +01:00
feat: allow submitting search with mouse
This commit is contained in:
parent
eda7444ca4
commit
9cd2e93a2e
@ -278,7 +278,14 @@ div.thumbnail > .bottom-right-overlay {
|
|||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchbar .pure-form fieldset { padding: 0; }
|
.searchbar .pure-form {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchbar .pure-form fieldset {
|
||||||
|
padding: 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.searchbar input[type="search"] {
|
.searchbar input[type="search"] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -310,6 +317,16 @@ input[type="search"]::-webkit-search-cancel-button {
|
|||||||
background-size: 14px;
|
background-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.searchbar #searchbutton {
|
||||||
|
border: 0;
|
||||||
|
background: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchbar #searchbutton:hover {
|
||||||
|
color: rgb(0, 182, 240);
|
||||||
|
}
|
||||||
|
|
||||||
.user-field {
|
.user-field {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -6,4 +6,5 @@
|
|||||||
title="<%= translate(locale, "search") %>"
|
title="<%= translate(locale, "search") %>"
|
||||||
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<button type="submit" id="searchbutton">Search</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user