Compare commits

..

No commits in common. "main" and "v1.4.8" have entirely different histories.
main ... v1.4.8

5 changed files with 41 additions and 183 deletions

View File

@ -27,9 +27,6 @@
background: var(--secondary-background-color) !important; background: var(--secondary-background-color) !important;
backdrop-filter: none !important; backdrop-filter: none !important;
} }
.layout-desktop #itemDetailPage.noBackdropTransparency::after {
display: none !important;
}
} }
/* Lower drawer buttons */ /* Lower drawer buttons */
@ -52,7 +49,7 @@
} }
/* Show hamburger button */ /* Show hamburger button */
.layout-desktop body:not(.hideMainDrawer) .mainDrawerButton:not(.dashboardDocument) { .layout-desktop .mainDrawerButton:not(.dashboardDocument) {
display: inline-flex !important; display: inline-flex !important;
} }
@ -72,11 +69,11 @@
margin-left: 0px !important; margin-left: 0px !important;
} }
/* Re-enable home button */ /* Hide home button */
.layout-desktop body:not(.hideMainDrawer) .skinHeader:not(.noHomeButtonHeader) .headerHomeButton { .layout-desktop .headerHomeButton {
display: block !important; display: block !important;
} }
.layout-desktop body:not(.hideMainDrawer) .dashboardDocument .headerHomeButton { .layout-desktop .dashboardDocument .headerHomeButton {
display: block !important; display: block !important;
} }
@ -86,7 +83,7 @@
} }
/* Background for top left buttons */ /* Background for top left buttons */
.layout-desktop body:not(.hideMainDrawer) .headerLeft:not(.libraryDocument:has(.videoPlayerContainer) .headerLeft) { .layout-desktop .headerLeft:not(.libraryDocument:has(.videoPlayerContainer) .headerLeft) {
padding: 2px !important; padding: 2px !important;
top: -3px !important; top: -3px !important;
background-color: var(--primary-background-transparent) !important; background-color: var(--primary-background-transparent) !important;
@ -95,7 +92,7 @@
} }
/* Fix for JMP */ /* Fix for JMP */
@supports not selector(:has(*)) { @supports not selector(:has(*)) {
.layout-desktop body:not(.hideMainDrawer) .headerLeft { .layout-desktop .headerLeft {
padding: 2px !important; padding: 2px !important;
top: -3px !important; top: -3px !important;
background-color: var(--primary-background-transparent) !important; background-color: var(--primary-background-transparent) !important;

View File

@ -25,7 +25,7 @@
.selectionCommandsPanel, .selectionCommandsPanel,
.countIndicator, .countIndicator,
.MuiButton-root.MuiButton-containedSizeMedium, .MuiButton-root.MuiButton-containedSizeMedium,
.MuiChip-root.MuiChip-colorInfo:not(.MuiChip-colorError), .MuiChip-root.MuiChip-colorInfo:not(.MuiChip-root.MuiChip-colorError),
progress[aria-valuenow]:before { progress[aria-valuenow]:before {
background: var(--primary-accent-color) !important; background: var(--primary-accent-color) !important;
} }
@ -50,7 +50,7 @@ progress::-webkit-progress-value {
.progressring-spiner { .progressring-spiner {
border-color: var(--primary-accent-color) !important; border-color: var(--primary-accent-color) !important;
} }
.page:not(.itemDetailPage) .button-link, .button-link:not(.itemDetailPage .button-link),
.selectLabelFocused, .selectLabelFocused,
.textareaLabelFocused, .textareaLabelFocused,
.inputLabelFocused, .inputLabelFocused,
@ -135,13 +135,14 @@ progress::-webkit-progress-value {
.layout-desktop .hideMainDrawer .mainDrawer { .layout-desktop .hideMainDrawer .mainDrawer {
left: -320px !important; left: -320px !important;
} }
/* Fix for scroll menus on home page */
.emby-scroller {
margin-right: -2% !important;
}
/* Fix for collection items misalignment */ /* Fix for collection items misalignment */
.layout-desktop .collectionItems .collectionItemsContainer { .layout-desktop .collectionItems .collectionItemsContainer {
padding-left: 0% !important; padding-left: 0% !important;
} }
.layout-desktop .collectionItems .sectionTitleContainer {
padding-left: 0% !important;
}
/* Dynamic buttons */ /* Dynamic buttons */
.layout-desktop .navMenuOption:hover:not(.navMenuOption-selected) { .layout-desktop .navMenuOption:hover:not(.navMenuOption-selected) {
transform: scale(1.05) !important; transform: scale(1.05) !important;
@ -162,8 +163,7 @@ progress::-webkit-progress-value {
.cardOverlayContainer, .cardOverlayContainer,
.blurhash-canvas, .blurhash-canvas,
.dialog, .dialog,
.itemSelectionPanel, .itemSelectionPanel {
.nowPlayingPageImage {
border-radius: var(--rounded-cards) !important; border-radius: var(--rounded-cards) !important;
} }
/* Rounded selection menu */ /* Rounded selection menu */
@ -206,7 +206,7 @@ progress::-webkit-progress-value {
.innerCardFooter .cardText { .innerCardFooter .cardText {
padding: 0 0 0 10px !important padding: 0 0 0 10px !important
} }
.cardImageContainer .innerCardFooter .itemProgressBar .itemProgressBarForeground { .itemProgressBarForeground:not(.playbackProgress .itemProgressBarForeground):not(.transcodingProgress .itemProgressBarForeground):not(.backgroundProgress .itemProgressBarForeground) {
background: var(--primary-accent-color) !important; background: var(--primary-accent-color) !important;
} }
.itemProgressBarForeground { .itemProgressBarForeground {
@ -341,7 +341,6 @@ html,
margin-left: auto !important; margin-left: auto !important;
margin-right: auto !important; margin-right: auto !important;
width: auto !important; width: auto !important;
max-width: 100% !important;
} }
.layout-mobile .emby-button-foreground { .layout-mobile .emby-button-foreground {
top: -2px !important; top: -2px !important;
@ -374,30 +373,6 @@ html,
.layout-mobile .headroom--not-top:has(.headerTabs.sectionTabs:not(.hide)) .headerRight { .layout-mobile .headroom--not-top:has(.headerTabs.sectionTabs:not(.hide)) .headerRight {
background: var(--primary-background-transparent) !important; background: var(--primary-background-transparent) !important;
} }
@media (max-width: 380px) {
.layout-mobile .pageTitle:not(.pageTitleWithLogo):not(:empty) {
position: absolute !important;
margin-left: 50% !important;
transform: translate(-50%, 0) !important;
top: 60px !important;
}
.layout-mobile .headerTop:has(.pageTitle:not(.pageTitleWithLogo):not(:empty)) {
-webkit-align-items: start !important;
align-items: start !important;
}
.layout-mobile .skinHeader:has(.pageTitle:not(.pageTitleWithLogo):not(:empty)) {
height: 110px !important;
}
.layout-mobile .skinHeader:has(.pageTitle:not(.pageTitleWithLogo):not(:empty)):has(.sectionTabs:not(.hide)) {
height: 140px !important;
}
.layout-mobile .libraryPage:not(.noSecondaryNavPage) {
padding-top: 9.5em !important;
}
.layout-mobile .headroom--unpinned:has(.headerTabs.sectionTabs:not(.hide)):has(.pageTitle:not(.pageTitleWithLogo):not(:empty)) {
transform: translateY(-60%);
}
}
@ -426,22 +401,12 @@ html,
top: 25px !important; top: 25px !important;
backdrop-filter: unset !important; backdrop-filter: unset !important;
} }
@supports selector(div:not(.parent .child)) {
.mdl-slider-background-flex:not(.layout-mobile .nowPlayingBar .mdl-slider-background-flex) {
height: 10px !important;
margin-top: -5px !important;
border-radius: 100px !important;
background: hsla(0,0%,100%,.2) !important;
}
}
@supports not selector(div:not(.parent .child)) {
.mdl-slider-background-flex { .mdl-slider-background-flex {
height: 10px !important; height: 10px !important;
margin-top: -5px !important; margin-top: -5px !important;
border-radius: 100px !important; border-radius: 100px !important;
background: hsla(0,0%,100%,.2) !important; background: hsla(0,0%,100%,.2) !important;
} }
}
.mdl-slider-background-lower { .mdl-slider-background-lower {
border-radius: 100px !important; border-radius: 100px !important;
background-color: var(--primary-accent-color) !important; background-color: var(--primary-accent-color) !important;
@ -570,17 +535,6 @@ html,
padding: .25em .25em .25em .5em !important; padding: .25em .25em .25em .5em !important;
} }
/* Modify player buttons */
.material-icons.fast_rewind::before {
content: "\e059";
}
.material-icons.fast_forward::before {
content: "\e057";
}
.material-icons.audiotrack::before {
content: "\e91f";
}
/* Settings and dashboard modifications */ /* Settings and dashboard modifications */
@ -709,11 +663,6 @@ html,
width: 85% !important; width: 85% !important;
margin-inline: auto !important; margin-inline: auto !important;
} }
/* Fix for plugins section of dashboard */
[aria-labelledby="plugins-subheader"].MuiList-subheader .MuiListItemButton-root.MuiListItemButton-gutters {
width: 85% !important;
margin-inline: auto !important;
}
.MuiList-subheader .MuiListItemButton-root.MuiListItemButton-gutters { .MuiList-subheader .MuiListItemButton-root.MuiListItemButton-gutters {
border-radius: 100px !important; border-radius: 100px !important;
margin: 2px 0px !important; margin: 2px 0px !important;
@ -776,33 +725,6 @@ html,
.defaultCardBackground5 { .defaultCardBackground5 {
background-color: var(--primary-alt5) !important; background-color: var(--primary-alt5) !important;
} }
/* Modify padding for textarea items so the bottom isn't cut off */
textarea {
padding-bottom: 10px !important;
}
/* Background behind dashboard dropdown navigation buttons */
@supports selector(:has(*)) {
.MuiListItem-root:has(.MuiSvgIcon-root[data-testid^="Expand"])::before {
content: '';
position: absolute;
background: #121212;
inset: 1px -5px 0px -5px;
border-radius: 25px;
opacity: 0;
transition: inset 0.25s ease-out, opacity 0.01s 0.25s;
}
.MuiListItem-root:has(.MuiSvgIcon-root[data-testid="ExpandLessIcon"])::before {
inset: 0px -5px -190px -5px;
opacity: 1;
transition: inset 0.25s ease-out, opacity 0.01s;
}
.MuiListItemButton-root:has(.MuiSvgIcon-root[data-testid="ExpandLessIcon"]) {
transform: scale(1.05) !important;
}
.MuiCollapse-root.MuiCollapse-vertical.MuiCollapse-entered {
padding-bottom: 5px !important;
}
}
@ -836,13 +758,8 @@ textarea {
/* Resize show/movie image on details page */ /* Resize show/movie image on details page */
.layout-desktop .detailImageContainer .card { .layout-desktop .detailImageContainer .card {
top: 1.8em !important;
width: 18.3vw !important;
position: absolute !important;
}
/* Legacy style to not break pre-10.11.X */
.layout-desktop .infoWrapper .detailImageContainer .card {
top: 9em !important; top: 9em !important;
width: 18.3vw !important;
} }
/* Re-position content on details page */ /* Re-position content on details page */
@ -851,7 +768,6 @@ textarea {
} }
.layout-desktop .detailPageContent { .layout-desktop .detailPageContent {
padding-left: 3.3% !important; padding-left: 3.3% !important;
padding-right: 0 !important;
} }
/* Re-position logo */ /* Re-position logo */
@ -898,9 +814,6 @@ textarea {
padding: 15px 20px 5px 20px !important; padding: 15px 20px 5px 20px !important;
border-radius: var(--rounded-cards) !important; border-radius: var(--rounded-cards) !important;
} }
.layout-mobile .detailPageContent {
padding-right: 0 !important;
}
/* Add card around description */ /* Add card around description */
.layout-desktop .detailSectionContent { .layout-desktop .detailSectionContent {
@ -909,11 +822,6 @@ textarea {
padding: 40px 20px 10px 20px !important; padding: 40px 20px 10px 20px !important;
margin-top: 50px !important; margin-top: 50px !important;
} }
@supports selector(:has(*)) {
.layout-desktop .detailPageWrapperContainer:not(:has(.itemMiscInfo-primary .mediaInfoItem)) .detailSectionContent {
padding: 0px 20px 10px 20px !important;
}
}
.layout-mobile .detailSectionContent { .layout-mobile .detailSectionContent {
background: var(--secondary-background-color) !important; background: var(--secondary-background-color) !important;
border-radius: var(--rounded-cards) !important; border-radius: var(--rounded-cards) !important;
@ -942,10 +850,6 @@ textarea {
.layout-desktop .detailPagePrimaryContainer { .layout-desktop .detailPagePrimaryContainer {
padding-left: 3.3% !important; padding-left: 3.3% !important;
} }
/* Fix for title position on 10.11.X */
.layout-desktop [dir="ltr"] .detailPagePrimaryContainer:not(.detailRibbon) .detailRibbon {
padding-left: unset !important;
}
.layout-desktop .nameContainer { .layout-desktop .nameContainer {
position: absolute !important; position: absolute !important;
margin-top: -48px !important; margin-top: -48px !important;
@ -960,9 +864,6 @@ textarea {
.layout-desktop .detailPagePrimaryContent { .layout-desktop .detailPagePrimaryContent {
padding-left: 20.4vw !important; padding-left: 20.4vw !important;
} }
.layout-mobile .detailPagePrimaryContent {
padding-right: 5% !important;
}
/* Padding for 2:3 posters */ /* Padding for 2:3 posters */
.layout-desktop .detailPageWrapperContainer:has(.detailImageContainer .portraitCard) .detailPagePrimaryContent { .layout-desktop .detailPageWrapperContainer:has(.detailImageContainer .portraitCard) .detailPagePrimaryContent {
min-height: 29vw !important; min-height: 29vw !important;
@ -1055,18 +956,6 @@ textarea {
-webkit-flex-direction: row !important; -webkit-flex-direction: row !important;
flex-direction: row !important; flex-direction: row !important;
} }
/* Change crop for list item images */
.listItemImage {
background-size: contain !important;
border-radius: var(--rounded-cards);
}
/* Move up content if no backdrop image is present - I might make this work at some point, right now it causes the page to jump around when it is loading
@supports selector(:has(*)) {
.layout-desktop:not(:has(.backdropContainer .backdropImage)) #itemBackdrop {
height: 20vh !important;
}
}
*/
@ -1168,11 +1057,6 @@ textarea {
border-radius: 25px !important; border-radius: 25px !important;
padding: 50px !important; padding: 50px !important;
} }
/* Fix padding if login disclaimer is not present */
.layout-desktop #loginPage .padded-left.padded-right.padded-bottom-page.margin-auto-y:not(:has(.loginDisclaimer p)) {
padding-bottom: 100px !important;
}
/* Move cancel button */
.layout-desktop #loginPage .manualLoginForm .btnCancel { .layout-desktop #loginPage .manualLoginForm .btnCancel {
position: absolute !important; position: absolute !important;
background: none !important; background: none !important;
@ -1181,12 +1065,6 @@ textarea {
margin-top: 70px !important; margin-top: 70px !important;
text-align: left !important; text-align: left !important;
} }
/* Shift cancel button on JMP */
@supports not selector(:has(*)) {
.layout-desktop #loginPage .manualLoginForm .btnCancel {
margin-top: 115px !important;
}
}
.layout-desktop #loginPage .visualLoginForm { .layout-desktop #loginPage .visualLoginForm {
position: relative !important; position: relative !important;
background: var(--secondary-background-color) !important; background: var(--secondary-background-color) !important;

View File

@ -7,52 +7,35 @@
--- ---
### **Scyfin Base Theme** ### **Scyfin Base 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.png" alt="homepage" width="100%"/>
<img src="./images/homepage-backdrops.png" alt="homepage-backdrops" 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.png" alt="details" width="100%"/>
<img src="./images/details-backdrops.png" alt="details-backdrops" 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/movies.png" alt="movies" width="100%"/>
<img src="./images/dashboard.png" alt="dashboard" width="100%"/>
<img src="./images/login.png" alt="login" width="100%"/> <img src="./images/login.png" alt="login" width="100%"/>
--- ### Base Theme
`@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/scyfin-theme.css');`
### **Options (Add these below the base theme)** ### Options (Add these below the base theme)
### Disable static left drawer - Disable static left drawer
``` - `@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/disable-static-drawer.css');`
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/disable-static-drawer.css'); - Themes:
``` - 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
### **Themes:** - `@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/theme-coral.css');`
### Seafoam - <img src="./images/coral.png" alt="coral-theme" width="40%"/>
``` - Snow
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/theme-seafoam.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%"/>
<img src="./images/seafoam.png" alt="seafoam-theme" width="40%"/> - OLED
- `@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/theme-oled.css');`
### Coral - <img src="./images/homepage-oled.png" alt="homepage-oled" width="100%"/>
``` - <img src="./images/details-oled.png" alt="details-oled" width="100%"/>
@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@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%"/>
--- ---
@ -63,7 +46,7 @@
**Server-wide install:** **Server-wide install:**
* Click the hamburger icon (Top left) * 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 "Dashboard" (If you don't see this, make sure you are signed in to your admin account)
* Navigate to "Branding" * Navigate to "General"
* Near the bottom, under "Custom CSS code", paste the `@import url` for the base Scyfin theme * Near the bottom, under "Custom CSS code", paste the `@import url` for the base Scyfin theme
* Example: * Example:
* <img src="./images/install-server-base.png" alt="install-server-base" width="80%"/> * <img src="./images/install-server-base.png" alt="install-server-base" width="80%"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 25 KiB