mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update theme
This commit is contained in:
parent
1ac9bfe5aa
commit
4670ba6fbf
7 changed files with 66 additions and 5 deletions
BIN
dashboard-ui/themes/halloween/bg.jpg
Normal file
BIN
dashboard-ui/themes/halloween/bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 133 KiB |
25
dashboard-ui/themes/halloween/style.css
Normal file
25
dashboard-ui/themes/halloween/style.css
Normal file
|
@ -0,0 +1,25 @@
|
|||
.ui-body-b h1, .ui-body-b h2 {
|
||||
color: #FF9100;
|
||||
}
|
||||
|
||||
.viewMenuBar, .barsMenuButton {
|
||||
color: #FF9100 !important;
|
||||
}
|
||||
|
||||
|
||||
.libraryViewNav .ui-btn-active {
|
||||
border-bottom-color: #FF9100 !important;
|
||||
color: #FF9100 !important;
|
||||
}
|
||||
|
||||
paper-button[raised].more {
|
||||
background: #FF9100;
|
||||
}
|
||||
|
||||
.channelTimeslotHeader, .timeslotHeader {
|
||||
background: #FF9100;
|
||||
}
|
||||
|
||||
.channelTimeslotHeader {
|
||||
border-right-color: #FF9100;
|
||||
}
|
20
dashboard-ui/themes/halloween/theme.js
Normal file
20
dashboard-ui/themes/halloween/theme.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
(function () {
|
||||
|
||||
Dashboard.importCss('themes/halloween/style.css');
|
||||
|
||||
|
||||
function onPageShow() {
|
||||
var page = this;
|
||||
|
||||
if (!$.browser.mobile) {
|
||||
Backdrops.setBackdropUrl(page, 'themes/halloween/bg.jpg');
|
||||
}
|
||||
}
|
||||
|
||||
pageClassOn('pageshow', "libraryPage", onPageShow);
|
||||
|
||||
if ($($.mobile.activePage)[0].classList.contains('libraryPage')) {
|
||||
onPageShow.call($($.mobile.activePage)[0]);
|
||||
}
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue