fix: incorrect item selection colors (#22)

* fix: incorrect item selection colors

* mess

---------

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
mxgic1337_
2025-03-31 12:16:38 +02:00
committed by GitHub
parent 6cf4d3b031
commit 8adaa4988f
+9 -5
View File
@@ -155,6 +155,7 @@ html {
background: var(--red-color) !important; background: var(--red-color) !important;
} }
.selectionCommandsPanel,
.btnRefresh { .btnRefresh {
background: var(--main-color) !important; background: var(--main-color) !important;
color: var(--main-background) !important; color: var(--main-background) !important;
@@ -267,6 +268,8 @@ html {
.emby-button-foreground, .emby-button-foreground,
.iconOsd .iconOsdIcon, .iconOsd .iconOsdIcon,
.upNextContainer, .upNextContainer,
.osdTextContainer, .osdTimeText,
.selectionCommandsPanel > button:hover > .material-icons,
legend { legend {
color: var(--main-text); color: var(--main-text);
} }
@@ -280,16 +283,13 @@ legend {
border-color: var(--hover-background) !important; border-color: var(--hover-background) !important;
} }
.selectionCommandsPanel > button > .material-icons,
.checkboxOutline .checkboxIcon-checked, .checkboxOutline .checkboxIcon-checked,
.sessionAppName, .sessionAppName,
.sessionNowPlayingInfo { .sessionNowPlayingInfo {
color: var(--main-background); color: var(--main-background);
} }
.osdTextContainer, .osdTimeText {
color: var(--main-text);
}
/* 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;
@@ -333,6 +333,10 @@ div[role=presentation].jstree-wholerow-clicked {
background-color: var(--main-background-transparent); background-color: var(--main-background-transparent);
} }
.emby-checkbox:focus:not(:checked) + span + .checkboxOutline { .emby-checkbox:focus:not(:checked) + span + .checkboxOutline, .itemSelectionPanel {
border-color: var(--main-color); border-color: var(--main-color);
} }
.selectionCommandsPanel .itemSelectionCount {
color: var(--main-background) !important;
}