Compare commits

..

No commits in common. "main" and "m0.0.1-alpha" have entirely different histories.

35 changed files with 393 additions and 1597 deletions

View File

@ -0,0 +1,231 @@
/* Increase size of Jellyfin logo */
.layout-desktop .pageTitleWithLogo {
margin-left: 15px !important;
height: 40px !important;
margin-top: 5px !important;
}
/* Static left drawer */
.layout-desktop .mainDrawer {
transform: none !important;
left: 0 !important;
top: 0 !important;
width: 250px !important;
/* Modified background color */
background-color: #181818 !important;
/* Added border to right side */
border-right: 1px solid #3B3B3B;
/* Move drawer behind header */
z-index: 998 !important;
}
/* Lower drawer buttons */
.layout-desktop .mainDrawer-scrollContainer {
margin-top: 95px !important;
}
.layout-mobile .mainDrawer-scrollContainer {
margin-top: 20px !important;
}
/* Shift content to the right */
.layout-desktop .libraryPage:not(#quickConnectPreferencesPage) {
margin-left: 250px !important;
}
/* Hide transition on page load */
.layout-desktop .touch-menu-la.transition {
transition: none !important;
}
/* Hide hamburger button */
.layout-desktop .mainDrawerButton {
display: none !important;
}
/* Fix for dashboard drawer button height */
.layout-desktop .dashboardDocument .mainDrawer-scrollContainer {
padding-top: 0 !important;
}
/* Hide home button */
.layout-desktop .headerHomeButton {
display: none !important;
}
.layout-desktop .dashboardDocument .headerHomeButton {
display: block !important;
}
/* Fix for video player and login page */
.layout-desktop .hide-scroll .mainDrawer,
.layout-desktop .hideMainDrawer .mainDrawer {
left: -320px !important;
}
/* Rounded cards */
.cardContent,
.cardPadder,
.cardOverlayContainer,
.blurhash-canvas,
.dialog {
border-radius: 10px !important;
}
/* Rounded left drawer buttons */
.navMenuOption,
.navMenuOption:hover,
.navMenuOption-selected {
border-radius: 100px !important;
width: 85% !important;
margin: auto !important;
text-align: center !important;
height: 45px !important;
}
/* Center icons and text and shift to the left */
.navMenuOptionIcon,
.navMenuOptionText {
position: inherit !important;
left: -10% !important;
margin-top: 0 !important;
}
/* Fix for header buttons */
.layout-desktop .emby-button-foreground {
top: -9px !important;
}
/* Left drawer button color */
.navMenuOption-selected {
background: #46372D!important;
color: #FFB380 !important;
}
/* Modified background color */
.backgroundContainer,
.dialog,
html {
background-color: #0F0F0F !important;
}
/* Transparent header bar */
.skinHeader {
background-color: transparent !important;
}
.layout-desktop .skinHeader {
padding-top: 1.5em !important;
}
/* Rounded header buttons */
.headerTabs,
.headerRight {
background-color:rgba(35, 35, 35, 0.5) !important;
border-radius: 50px !important;
backdrop-filter: blur(50px) !important;
}
.layout-desktop .headerTabs,
.layout-desktop .headerRight {
margin-left: 250px !important;
margin-bottom: 10px !important;
}
/* Button height */
.headerRight,
.emby-tab-button {
height: 45px !important;
}
/* Lower header and add padding to right buttons */
.layout-desktop .headerRight {
padding: 0px 5px !important;
}
/* Move left header back up */
.layout-desktop .headerLeft {
position: relative !important;
top: -17px !important;
}
/* Mobile fixes */
.layout-mobile .headroom--unpinned {
transform: translateY(-50%);
}
.layout-mobile .sectionTabs {
margin-left: auto !important;
margin-right: auto !important;
width: auto !important;
}
.layout-mobile .emby-button-foreground {
top: -2px !important;
}
/* Settings and dashboard modifications */
.emby-input,
.emby-textarea,
.paperList,
.listItem:hover,
.subtitleappearance-preview {
border-radius: 15px !important;
}
.button-submit,
.emby-select,
.checkboxOutline,
.btnRefresh,
#btnShutdown {
border-radius: 100px !important;
}
.raised:not(.button-submit, .btnRefresh, #btnShutdown) {
background: transparent !important;
font-weight: normal !important;
}
/* Red shutdown button */
#btnShutdown {
background: #AE3739 !important;
}
/* Remove border under certain dashboard items */
.listItem-border {
border: 0 !important;
}
/* Add padding to list items */
.layout-desktop .listItem {
padding-left: 15px !important;
}
/* Rounded dashboard cards */
.cardBox {
border-radius: 15px !important;
}
/* Removed ugliness of Networking section in dashboard */
.dashboardHostingForm .verticalSection {
border-radius: 15px !important;
border-color: #3B3B3B !important;
padding: 10px 35px !important;
}
/* Fix for scaling issues */
@media (width: 1600px) {
.layout-desktop .headerRight {
margin-bottom: 0 !important;
}
.layout-desktop .emby-button-foreground {
top: -4px !important;
}
}
@media (max-width: 1599px) {
.layout-desktop .pageTitleWithLogo {
margin-left: 25px !important;
}
.layout-desktop .headerTabs {
margin-top: -65px !important;
}
.layout-desktop .headerRight {
margin-right: 15px !important;
}
.layout-desktop .sectionTabs {
width: auto !important;
align-self: center !important;
}
.layout-desktop .emby-button-foreground {
top: -2px !important;
}
}

View File

@ -1,118 +0,0 @@
/* Reset size of Jellyfin logo */
.layout-desktop .pageTitleWithLogo {
height: 30px !important;
width: 100px !important;
margin: 0 1em 0 .5em !important;
}
[dir="ltr"] .pageTitle {
margin: 0 1em 0 .5em !important;
}
/* Un-static left drawer */
.layout-desktop .mainDrawer:not(.dashboardDocument) {
left: -320px !important;
z-index: 1099 !important;
border-top-right-radius : var(--rounded-cards) !important;
border-bottom-right-radius : var(--rounded-cards) !important;
background: var(--secondary-background-color) !important;
backdrop-filter: none !important;
}
.layout-desktop:has(.backgroundContainer.withBackdrop) .mainDrawer:not(.dashboardDocument) {
width: 275px !important;
background-color: var(--primary-background-transparent) !important;
backdrop-filter: blur(var(--blur)) !important;
}
@supports not selector(:has(*)) {
.layout-desktop .backgroundContainer.withBackdrop + div .mainDrawer {
background: var(--secondary-background-color) !important;
backdrop-filter: none !important;
}
.layout-desktop #itemDetailPage.noBackdropTransparency::after {
display: none !important;
}
}
/* Lower drawer buttons */
.layout-desktop .mainDrawer-scrollContainer {
margin-top: 15px !important;
}
/* Shift content back to the left */
.layout-desktop .libraryPage:not(#editItemMetadataPage) {
margin-left: 0px !important;
}
/* Fix for Jellyfin Media Player */
.quickConnectSettingsContainer {
margin-left: 0px !important;
}
/* Add transition back */
.layout-desktop .touch-menu-la.transition {
transition: transform .24s ease-out,left .26s ease-out,-webkit-transform .24s ease-out !important;
}
/* Show hamburger button */
.layout-desktop body:not(.hideMainDrawer) .mainDrawerButton:not(.dashboardDocument) {
display: inline-flex !important;
}
/* Fix for dashboard */
.layout-desktop .dashboardDocument .mainDrawer {
top: 0px !important;
left: 0px !important;
width: 300px !important;
z-index: 998 !important;
}
.layout-desktop .dashboardDocument .mainDrawer-scrollContainer {
padding-top: 75px !important;
}
/* Re-center header buttons */
.layout-desktop .headerTabs {
margin-left: 0px !important;
}
/* Re-enable home button */
.layout-desktop body:not(.hideMainDrawer) .skinHeader:not(.noHomeButtonHeader) .headerHomeButton {
display: block !important;
}
.layout-desktop body:not(.hideMainDrawer) .dashboardDocument .headerHomeButton {
display: block !important;
}
/* Fix for scroll menus on home page */
.emby-scroller {
margin-right: 3.3% !important;
}
/* Background for top left buttons */
.layout-desktop body:not(.hideMainDrawer) .headerLeft:not(.libraryDocument:has(.videoPlayerContainer) .headerLeft) {
padding: 2px !important;
top: -3px !important;
background-color: var(--primary-background-transparent) !important;
border-radius: 50px !important;
backdrop-filter: blur(var(--blur)) !important;
}
/* Fix for JMP */
@supports not selector(:has(*)) {
.layout-desktop body:not(.hideMainDrawer) .headerLeft {
padding: 2px !important;
top: -3px !important;
background-color: var(--primary-background-transparent) !important;
border-radius: 50px !important;
backdrop-filter: blur(var(--blur)) !important;
}
}
.headerLeft {
flex-grow: 0 !important;
-webkit-flex-grow: 0 !important;
}
.headerRight {
position: absolute !important;
right: 12px !important;
}
/* Music Player */
.layout-desktop .appfooter {
margin-left: 0px !important;
}

8
CSS/rounded-cards.css Normal file
View File

@ -0,0 +1,8 @@
/* Rounded cards */
.cardContent,
.cardPadder,
.cardOverlayContainer,
.blurhash-canvas,
.dialog {
border-radius: 15px !important;
}

View File

@ -0,0 +1,20 @@
/* Rounded buttons */
.navMenuOption,
.navMenuOption:hover,
.navMenuOption-selected {
border-radius: 100px !important;
width: 85% !important;
margin: auto !important;
/* Modify button height (optional)
height: 45px !important;
*/
}
/* Center content vertically and shift to the left */
.navMenuOptionIcon,
.navMenuOptionText {
position: inherit !important;
left: -7% !important;
margin-top: 0 !important;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
/* Static left drawer */
.layout-desktop .mainDrawer {
transform: none !important;
left: 0 !important;
top: 65px !important;
width: 250px !important;
}
/* Shift content to the right */
.layout-desktop .libraryPage {
margin-left: 225px !important;
}
/* Hide transition on page load */
.layout-desktop .touch-menu-la.transition {
transition: none !important;
}
/* Hide hamburger button */
.layout-desktop .mainDrawerButton {
display: none !important;
}
/* Fix for dashboard height */
.layout-desktop .dashboardDocument .mainDrawer {
top: 0px !important;
}
/* Re-center header buttons */
.layout-desktop .headerTabs {
margin-left: 250px !important;
}
/* Fix for video player and login page */
.layout-desktop .hide-scroll .mainDrawer,
.layout-desktop .hideMainDrawer .mainDrawer {
left: -320px !important;
}

View File

@ -1,7 +0,0 @@
:root {
--primary-r: 234;
--primary-g: 112;
--primary-b: 112;
--primary-accent-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 1.0);
--secondary-accent-color: rgba(234, 112, 112, 0.2);
}

View File

@ -1,71 +0,0 @@
/* Variables */
:root {
--primary-background-color: #000;
--secondary-background-color: #101010;
--tertiary-background-color: #181818;
--outline-color: #252525;
--primary-background-transparent: rgba(35,35,35,0.5);
--secondary-background-transparent: rgba(0,0,0,0.6);
}
.fab,
.raised,
.collapseContent,
.formDialogFooter:not(.formDialogFooter-clear),
.formDialogHeader:not(.formDialogHeader-clear),
.paperList,
.visualCardBox {
background: var(--secondary-background-color) !important;
}
.checkboxList.paperList {
background: var(--primary-background-color) !important;
border: 2px solid var(--outline-color) !important;
}
.MuiPaper-root.MuiPopover-paper {
background: var(--tertiary-background-color) !important;
}
.button-submit {
background: var(--secondary-accent-color) !important;
color: var(--primary-accent-color) !important;
}
.emby-checkbox:checked + span + .checkboxOutline {
background: var(--secondary-accent-color) !important;
border-color: var(--secondary-accent-color) !important;
}
.checkboxIcon {
color: var(--primary-accent-color)
}
.layout-desktop .detailSectionContent,
.trackSelections,
.layout-desktop .detailsGroupItem,
.layout-desktop .localnav {
background: var(--primary-background-color) !important;
border: 2px solid var(--outline-color) !important;
}
.listItem:hover {
background: var(--secondary-background-color) !important;
}
select,
textarea,
input:not(.mdl-slider) {
background: var(--primary-background-color) !important;
border: 2px solid var(--outline-color) !important;
}
.navMenuOption:hover:not(.navMenuOption-selected) {
background: var(--tertiary-background-color) !important;
}
.emby-checkbox:focus:not(:checked) + span + .checkboxOutline {
border-color: var(--secondary-accent-color) !important;
}
.checkboxOutline {
border-color: var(--outline-color) !important;
}

View File

@ -1,7 +0,0 @@
:root {
--primary-r: 147;
--primary-g: 215;
--primary-b: 182;
--primary-accent-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 1.0);
--secondary-accent-color: #93D7B620;
}

View File

@ -1,24 +0,0 @@
:root {
--primary-r: 232;
--primary-g: 236;
--primary-b: 239;
--primary-accent-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 1.0);
--secondary-accent-color: rgba(232, 236, 239, 0.2);
/* Alternate accents*/
--primary-alt1: rgb(calc(var(--primary-r) - 30), calc(var(--primary-g) - 30), calc(var(--primary-b) - 30), 0.85);
--primary-alt2: rgb(calc(var(--primary-r) - 30), calc(var(--primary-g) - 30), calc(var(--primary-b) - 30), 0.7);
--primary-alt3: rgb(calc(var(--primary-r) - 30), calc(var(--primary-g) - 30), calc(var(--primary-b) - 30), 0.55);
--primary-alt4: rgb(calc(var(--primary-r) - 30), calc(var(--primary-g) - 30), calc(var(--primary-b) - 30), 0.4);
--primary-alt5: rgb(calc(var(--primary-r) - 30), calc(var(--primary-g) - 30), calc(var(--primary-b) - 30), 0.25);
}
.layout-desktop .button-submit,
.layout-desktop .checkboxIcon,
.layout-desktop .countIndicator {
color: var(--secondary-background-color) !important;
}
#skipIntro .emby-button:hover {
color: #000 !important;
}

View File

@ -0,0 +1,79 @@
/* Transparent header bar */
.skinHeader {
background-color: transparent !important;
}
/* Rounded header buttons */
.headerTabs,
.headerRight {
background-color:rgba(35, 35, 35, 0.5) !important;
border-radius: 50px !important;
backdrop-filter: blur(50px) !important;
}
/* Lower header and add padding to right buttons */
.layout-desktop .headerRight {
padding: 5px !important;
}
/* Header size */
.layout-desktop .headerTabs {
height: 52px !important;
top: 1px !important;
}
.layout-mobile .headerTabs {
height: 45px !important;
}
/* Center text */
.emby-button-foreground {
top: -6px !important;
}
/* Mobile fixes */
.layout-mobile .headroom--unpinned {
transform: translateY(-50%);
}
.layout-mobile .sectionTabs {
margin-left: auto !important;
margin-right: auto !important;
width: auto !important;
}
.layout-mobile .emby-button-foreground {
top: -2px !important;
}
/* Fix for scaling issues */
@media (width: 1600px) {
.layout-desktop .headerRight {
margin-bottom: 0 !important;
}
.layout-desktop .headerTabs {
top: -7px !important;
}
}
@media (max-width: 1600px) {
.layout-desktop .emby-button-foreground {
top: -1px !important;
}
}
@media (max-width: 1599px) {
.layout-desktop .pageTitleWithLogo {
margin-left: 25px !important;
}
.layout-desktop .headerTabs {
margin-top: -65px !important;
}
.layout-desktop .headerRight {
margin-right: 15px !important;
}
.layout-desktop .sectionTabs {
width: auto !important;
align-self: center !important;
}
}
@media (max-width: 100em) {
.withSectionTabs .headerTop {
padding-bottom: 1em !important;
}
}

View File

@ -1,89 +1,37 @@
<img src="./images/scyfin-full.png" alt="scyfin logo" width="200"/> <img src="./images/scyfin-full.svg" alt="scyfin logo" width="200"/>
### **Modern CSS theme for Jellyfin with support for backdrops and custom accent colors**
[Go to installation](#installation)
--- ---
### **Scyfin Base Theme** Custom CSS bits for the Jellyfin WebUI and a (VERY WIP) custom theme
```
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/scyfin-theme.css');
```
<img src="./images/homepage.png" alt="homepage" width="100%"/>
<img src="./images/homepage-backdrops.png" alt="homepage-backdrops" width="100%"/>
<img src="./images/details.png" alt="details" width="100%"/>
<img src="./images/details-backdrops.png" alt="details-backdrops" width="100%"/>
<img src="./images/movies.png" alt="movies" width="100%"/>
<img src="./images/login.png" alt="login" width="100%"/>
--- ---
### **Options (Add these below the base theme)** Static Left Drawer
### Disable static left drawer
``` <img src="./images/static-left-drawer-demo.png" alt="static left drawer" width="80%"/>
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/disable-static-drawer.css');
``` @import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@main/CSS/static-left-drawer.css');
--- ---
### **Themes:** Rounded Cards
### Seafoam
```
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/theme-seafoam.css');
```
<img src="./images/seafoam.png" alt="seafoam-theme" width="40%"/>
### Coral <img src="./images/rounded-cards-demo.png" alt="rounded cards" width="80%"/>
```
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/theme-coral.css');
```
<img src="./images/coral.png" alt="coral-theme" width="40%"/>
### Snow @import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@main/CSS/rounded-cards.css');
```
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/theme-snow.css');
```
<img src="./images/snow.png" alt="snow-theme" width="40%"/>
### OLED
```
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/theme-oled.css');
```
<img src="./images/homepage-oled.png" alt="homepage-oled" width="90%"/>
<img src="./images/details-oled.png" alt="details-oled" width="90%"/>
--- ---
### **Installation:** Rounded Drawer Buttons
<img src="./images/rounded-drawer-buttons-demo.png" alt="rounded drawer buttons" width="80%"/>
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@main/CSS/rounded-drawer-buttons.css');
--- ---
**Server-wide install:** Transparent Header
* Click the hamburger icon (Top left)
* Navigate to "Dashboard" (If you don't see this, make sure you are signed in to your admin account)
* Navigate to "Branding"
* Near the bottom, under "Custom CSS code", paste the `@import url` for the base Scyfin theme
* Example:
* <img src="./images/install-server-base.png" alt="install-server-base" width="80%"/>
* Optional - Paste the `@import url` for any options / themes you may want
* Example:
* <img src="./images/install-server-options.png" alt="install-server-options" width="80%"/>
* Click "Save"
--- <img src="./images/transparent-header-alt-demo.png" alt="transparent header alt" width="80%"/>
**Single client install:** @import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@main/CSS/transparent-header.css');
* Click the hamburger icon (Top left)
* Navigate to "Settings"
* Navigate to "Display"
* Near the middle, under "Custom CSS code", paste the `@import url` for the base Scyfin theme
* Note -
* If there is any server-wide custom CSS, you may want to enable "Disable server-provided custom CSS code", as the two themes WILL interfere with each other
* Example:
* <img src="./images/install-client-base.png" alt="install-client-base" width="80%"/>
* Optional - Paste the `@import url` for any options / themes you may want
* Example:
* <img src="./images/install-client-options.png" alt="install-client-options" width="80%"/>
* Click "Save"

BIN
images/borken.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

BIN
images/borken2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB