mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix now playing background
This commit is contained in:
parent
c7fa2299da
commit
def595ff8a
26 changed files with 603 additions and 695 deletions
|
@ -2108,6 +2108,11 @@ var AppInfo = {};
|
|||
return {};
|
||||
});
|
||||
|
||||
define("jqmlistview", ["thirdparty/jquerymobile-1.4.5/jqm.listview"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.listview.css');
|
||||
return {};
|
||||
});
|
||||
|
||||
define("hammer", ["bower_components/hammerjs/hammer.min"], function (Hammer) {
|
||||
return Hammer;
|
||||
});
|
||||
|
@ -2188,6 +2193,7 @@ var AppInfo = {};
|
|||
if (newHtml.indexOf('type-interior') != -1) {
|
||||
depends.push('jqmicons');
|
||||
depends.push('jqmpopup');
|
||||
depends.push('jqmlistview');
|
||||
}
|
||||
|
||||
require(depends, function () {
|
||||
|
@ -2280,6 +2286,16 @@ $(document).on('pagecreate', ".page", function () {
|
|||
current = newTheme;
|
||||
}
|
||||
|
||||
var docElem = document.documentElement;
|
||||
|
||||
if (current == 'a') {
|
||||
docElem.classList.add('background-theme-a');
|
||||
docElem.classList.remove('background-theme-b');
|
||||
} else {
|
||||
docElem.classList.add('background-theme-b');
|
||||
docElem.classList.remove('background-theme-a');
|
||||
}
|
||||
|
||||
if (current != 'a' && !$.browser.mobile) {
|
||||
document.body.classList.add('darkScrollbars');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue