mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Theme - Windows system dark theme separator
This commit is contained in:
parent
1555084ba2
commit
ae974b06b6
3 changed files with 15 additions and 6 deletions
6
css/leptonChrome.css
generated
6
css/leptonChrome.css
generated
|
|
@ -576,7 +576,8 @@
|
|||
--panel-separator-color: var(--win-bgcolor) !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-platform: windows) {
|
||||
@media (-moz-platform: windows) and (prefers-color-scheme: dark) {
|
||||
:root:is(#main-window):is(:not([lwtheme]), :not(:-moz-lwtheme)),
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--arrowpanel-border-color: var(--win-border-color) !important;
|
||||
--panel-separator-color: var(--win-border-color) !important;
|
||||
|
|
@ -14070,7 +14071,8 @@
|
|||
--panel-separator-color: var(--win-bgcolor) !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-bool-pref: "userChrome.theme.system_default") and (-moz-platform: windows) {
|
||||
@media (-moz-bool-pref: "userChrome.theme.system_default") and (-moz-platform: windows) and (prefers-color-scheme: dark) {
|
||||
:root:is(#main-window):is(:not([lwtheme]), :not(:-moz-lwtheme)),
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--arrowpanel-border-color: var(--win-border-color) !important;
|
||||
--panel-separator-color: var(--win-border-color) !important;
|
||||
|
|
|
|||
6
css/leptonChromeESR.css
generated
6
css/leptonChromeESR.css
generated
|
|
@ -788,7 +788,11 @@
|
|||
--panel-separator-color: var(--win-bgcolor) !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-os-version: windows-win10), (-moz-platform: windows-win10) {
|
||||
@media (-moz-os-version: windows-win10) and (-moz-toolbar-prefers-color-scheme: dark),
|
||||
(-moz-os-version: windows-win10) and (prefers-color-scheme: dark),
|
||||
(-moz-platform: windows-win10) and (-moz-toolbar-prefers-color-scheme: dark),
|
||||
(-moz-platform: windows-win10) and (prefers-color-scheme: dark) {
|
||||
:root:is(#main-window):is(:not([lwtheme]), :not(:-moz-lwtheme)),
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--arrowpanel-border-color: var(--win-border-color) !important;
|
||||
--panel-separator-color: var(--win-border-color) !important;
|
||||
|
|
|
|||
|
|
@ -234,10 +234,13 @@
|
|||
--arrowpanel-border-color: var(--win-bgcolor) !important;
|
||||
--panel-separator-color: var(--win-bgcolor) !important;
|
||||
}
|
||||
@include Dark {
|
||||
:root:is(#main-window)#{$not_lwtheme},
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--arrowpanel-border-color: var(--win-border-color) !important;
|
||||
--panel-separator-color: var(--win-border-color) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@include Option("userChrome.theme.system_default") {
|
||||
@media (-moz-windows-accent-color-in-titlebar) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue