mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update search
This commit is contained in:
parent
272d9c42a9
commit
b26685b14d
2 changed files with 14 additions and 2 deletions
|
@ -165,12 +165,24 @@
|
||||||
.viewMenuSearch {
|
.viewMenuSearch {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0%;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: #000000;
|
background: #000000;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 800px) {
|
||||||
|
.headerSearchInput {
|
||||||
|
width: 93%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 1200px) {
|
||||||
|
.headerSearchInput {
|
||||||
|
width: 96%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.viewMenuSearch:not(.hide) {
|
.viewMenuSearch:not(.hide) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
self.showSearchPanel = function (page) {
|
self.showSearchPanel = function (page) {
|
||||||
|
|
||||||
$('.viewMenuSearch').removeClass('hide').animate({ "left": "0px" }, "fast");
|
$('.viewMenuSearch').removeClass('hide');
|
||||||
$('.headerSearchInput').focus();
|
$('.headerSearchInput').focus();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue