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 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
left: 0%;
|
||||
right: 0;
|
||||
background: #000000;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@media all and (min-width: 800px) {
|
||||
.headerSearchInput {
|
||||
width: 93%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1200px) {
|
||||
.headerSearchInput {
|
||||
width: 96%;
|
||||
}
|
||||
}
|
||||
|
||||
.viewMenuSearch:not(.hide) {
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
self.showSearchPanel = function (page) {
|
||||
|
||||
$('.viewMenuSearch').removeClass('hide').animate({ "left": "0px" }, "fast");
|
||||
$('.viewMenuSearch').removeClass('hide');
|
||||
$('.headerSearchInput').focus();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue