fix: incorrect osd popout colors (#2)

- Themes the popout that shows when changing volume
- Removes background color from header in the video player

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
mxgic1337_
2025-03-01 19:16:45 +01:00
committed by GitHub
parent ae9cd31f00
commit 05f01e4a0c
+20 -33
View File
@@ -21,17 +21,19 @@
.mdl-slider::-webkit-slider-thumb {background-color: var(--main-color);} .mdl-slider::-webkit-slider-thumb {background-color: var(--main-color);}
.mdl-slider::-moz-range-thumb {background-color: var(--main-color);} .mdl-slider::-moz-range-thumb {background-color: var(--main-color);}
.navMenuOption-selected,
.listItemButton:focus,
.iconOsdProgressInner,
.mdl-slider-background-lower { .mdl-slider-background-lower {
background-color: var(--main-color); background-color: var(--main-color);
} }
.mdl-slider-background-flex { .iconOsdProgressOuter,
background-color: var(--hover-background); .mdl-slider-background-flex,
}
.formDialogHeader:not(.formDialogHeader-clear), .formDialogHeader:not(.formDialogHeader-clear),
.formDialogFooter:not(.formDialogFooter-clear) { .formDialogFooter:not(.formDialogFooter-clear),
background-color: var(--second-background); .cardBox:not(.visualCardBox) .cardPadder {
background-color: var(--hover-background);
} }
.backgroundContainer, .backgroundContainer,
@@ -49,7 +51,7 @@ html {
} }
.sliderBubble, .sliderBubble,
.skinHeader, .skinHeader:not(.osdHeader),
.nowPlayingBar { .nowPlayingBar {
color: var(--main-text); color: var(--main-text);
background-color: var(--second-background) !important; background-color: var(--second-background) !important;
@@ -65,14 +67,6 @@ html {
background: var(--main-background); background: var(--main-background);
} }
.navMenuOption-selected {
background-color: var(--main-color);
}
.itemName {
color: var(--main-text);
}
.playstatebutton-icon-played, .playstatebutton-icon-played,
.ratingbutton-icon-withrating { .ratingbutton-icon-withrating {
color: var(--red-color); color: var(--red-color);
@@ -105,21 +99,13 @@ html {
background-color: var(--second-background); background-color: var(--second-background);
} }
.emby-button-foreground {
color: var(--main-text);
}
.paper-icon-button-light {
color: var(--main-text);
}
.paper-icon-button-light:hover:not(:disabled), .paper-icon-button-light:hover:not(:disabled),
.paper-icon-button-light:focus, .paper-icon-button-light:focus,
.listItem:hover, .listItem:hover,
.listItem:focus, .listItem:focus,
.navMenuOption:hover, .navMenuOption:hover,
.navMenuOption:focus { .navMenuOption:focus {
color: var(--main-color); color: var(--main-color) !important;
background-color: var(--hover-background); background-color: var(--hover-background);
} }
@@ -192,14 +178,11 @@ html {
.emby-button-foreground:focus, .emby-button-foreground:focus,
.mdl-slider, .mdl-slider,
.headerRight, .headerRight,
.headerLeft { .headerLeft,
.button-link {
color: var(--main-color); color: var(--main-color);
} }
.mdl-slider::-moz-range-thumb {
background-color: var(--main-color);
}
.MuiButtonBase-root, .MuiButtonBase-root,
.MuiSvgIcon-root, .MuiSvgIcon-root,
.listItemButton, .listItemButton,
@@ -227,10 +210,6 @@ html {
background-color: var(--main-background); background-color: var(--main-background);
} }
.listItemButton:focus {
background-color: var(--main-color);
}
.indicator { .indicator {
background-color: var(--main-color); background-color: var(--main-color);
color: var(--main-background); color: var(--main-background);
@@ -278,6 +257,10 @@ html {
.navMenuOption, .navMenuOption,
.inputLabel, .inputLabel,
.content-primary, .content-primary,
.itemName,
.paper-icon-button-light,
.emby-button-foreground,
.iconOsd .iconOsdIcon,
legend { legend {
color: var(--main-text); color: var(--main-text);
} }
@@ -297,6 +280,10 @@ legend {
color: var(--main-background); color: var(--main-background);
} }
.iconOsd {
background-color: var(--second-background);
}
/* this has to be background, not background-color for some reason */ /* this has to be background, not background-color for some reason */
div[role=presentation].jstree-wholerow-clicked { div[role=presentation].jstree-wholerow-clicked {
background: var(--hover-background) !important; background: var(--hover-background) !important;