Fix: Default Theme - Win10 light Sidebar bgclolor

This commit is contained in:
BlaCk_Void 2021-10-10 19:38:06 +09:00
parent 3e7b79280c
commit f47779b202

View file

@ -405,6 +405,7 @@
--menuitem-disabled-hover-background-color: var(--win-disabled-bgcolor) !important;
}
/*- Toolbar --------------------------------------------------------------*/
:root:not(:-moz-lwtheme) #titlebar,
:root[lwt-default-theme-in-dark-mode] #titlebar {
--button-hover-bgcolor: var(--win-sidebar-button-hover-bgcolor);
@ -413,13 +414,17 @@
--toolbarbutton-active-background: var(--win-sidebar-button-hover-active-bgcolor);
}
/*- Sidebar --------------------------------------------------------------*/
#sidebar-box:not([lwt-sidebar]) {
appearance: none !important;
}
:root:not(:-moz-lwtheme) #sidebar-box,
:root[lwt-default-theme-in-dark-mode] #sidebar-box {
--sidebar-background-color: var(--win-sidebar-bgcolor) !important;
--sidebar-text-color: var(--win-text-color) !important;
--sidebar-border-color: var(--win-sidebar-border-color) !important;
}
@media (-moz-toolbar-prefers-color-scheme: dark) {
:root:not(:-moz-lwtheme) #sidebar-box,
:root[lwt-default-theme-in-dark-mode] #sidebar-box {
--sidebar-background-color: var(--win-sidebar-bgcolor) !important;
--sidebar-text-color: var(--win-text-color) !important;
--sidebar-border-color: var(--win-sidebar-border-color) !important;
}
.sidebar-panel[style="--newtab-background-color: rgba(43, 42, 51, 1); --newtab-text-primary-color: rgba(251, 251, 254, 1); --lwt-sidebar-background-color: rgb(56, 56, 61); --lwt-sidebar-text-color: rgba(249, 249, 250, 1);"],
body[lwt-sidebar][style="--newtab-background-color: rgba(43, 42, 51, 1); --newtab-text-primary-color: rgba(251, 251, 254, 1); --lwt-sidebar-background-color: rgb(56, 56, 61); --lwt-sidebar-text-color: rgba(249, 249, 250, 1);"],
.sidebar-panel[style="--newtab-background-color: rgb(43, 42, 51); --newtab-text-primary-color: rgba(251, 251, 254, 1); --lwt-sidebar-background-color: rgb(56, 56, 61); --lwt-sidebar-text-color: rgba(249, 249, 250, 1);"], /* Nightly */