mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-01 23:10:41 -08:00
Fix: Proton tab option
This commit is contained in:
parent
87f3f28cfb
commit
e92996c3ed
1 changed files with 22 additions and 18 deletions
|
|
@ -487,15 +487,17 @@
|
|||
}
|
||||
|
||||
/*- Proton Tab Selected ----------------------------------------------------*/
|
||||
:root:not(:-moz-lwtheme),
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--win-proton-tab-selected-bgcolor: color-mix(in srgb, var(--win-bgcolor) 5%, var(--win-component-bgcolor));
|
||||
}
|
||||
:root:not(:-moz-lwtheme) {
|
||||
--tab-selected-color: var(--win-proton-tab-selected-bgcolor) !important;
|
||||
}
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--lwt-selected-tab-background-color: var(--win-proton-tab-selected-bgcolor) !important;
|
||||
@supports -moz-bool-pref("userChrome.tab.proton") {
|
||||
:root:not(:-moz-lwtheme),
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--win-proton-tab-selected-bgcolor: color-mix(in srgb, var(--win-bgcolor) 5%, var(--win-component-bgcolor));
|
||||
}
|
||||
:root:not(:-moz-lwtheme) {
|
||||
--tab-selected-color: var(--win-proton-tab-selected-bgcolor) !important;
|
||||
}
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--lwt-selected-tab-background-color: var(--win-proton-tab-selected-bgcolor) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*- Menu -------------------------------------------------------------------*/
|
||||
|
|
@ -778,15 +780,17 @@
|
|||
}
|
||||
|
||||
/*- Proton Tab Selected ----------------------------------------------------*/
|
||||
:root:not(:-moz-lwtheme),
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--mac-proton-tab-selected-bgcolor: color-mix(in srgb, rgb(255, 255, 255) 20%, -moz-dialog);
|
||||
}
|
||||
:root:not(:-moz-lwtheme) {
|
||||
--tab-selected-color: var(--mac-proton-tab-selected-bgcolor) !important;
|
||||
}
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--lwt-selected-tab-background-color: var(--mac-proton-tab-selected-bgcolor) !important;
|
||||
@supports -moz-bool-pref("userChrome.tab.proton") {
|
||||
:root:not(:-moz-lwtheme),
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--mac-proton-tab-selected-bgcolor: color-mix(in srgb, rgb(255, 255, 255) 20%, -moz-dialog);
|
||||
}
|
||||
:root:not(:-moz-lwtheme) {
|
||||
--tab-selected-color: var(--mac-proton-tab-selected-bgcolor) !important;
|
||||
}
|
||||
:root[lwt-default-theme-in-dark-mode] {
|
||||
--lwt-selected-tab-background-color: var(--mac-proton-tab-selected-bgcolor) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*- Toolbar ----------------------------------------------------------------*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue