fix variables for Proton
This commit is contained in:
parent
68d3c9e235
commit
bfc321350e
2 changed files with 27 additions and 11 deletions
|
@ -80,22 +80,23 @@
|
||||||
background-clip: padding-box !important;
|
background-clip: padding-box !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, .scrollbutton-up, .scrollbutton-down),
|
#navigator-toolbox :-moz-any(.toolbarbutton-1, .scrollbutton-up, .scrollbutton-down),
|
||||||
/* no ::part workaround - may have side effects */
|
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton),
|
||||||
.#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton),
|
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)
|
||||||
.#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)
|
|
||||||
{
|
{
|
||||||
max-height: 34px !important;
|
max-height: 32px !important;
|
||||||
height: 34px !important;
|
height: 32px !important;
|
||||||
min-height: 34px !important;
|
min-height: 32px !important;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton))[disabled],
|
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton))[disabled],
|
||||||
/* no ::part workaround - may have side effects */
|
/* no ::part workaround - may have side effects */
|
||||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton)[disabled],
|
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton)[disabled],
|
||||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)[disabled]
|
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)[disabled]
|
||||||
{
|
{
|
||||||
opacity: .42 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton)):hover:not([disabled]),
|
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton)):hover:not([disabled]),
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
/* Light Mode */
|
/* Light Mode */
|
||||||
:root:not([style]),
|
:root:not([style]),
|
||||||
:root:not([lwtheme]),
|
:root:not([lwtheme]),
|
||||||
:root[style*="--lwt-accent-color:rgb(227, 228, 230); --lwt-text-color:rgba(24, 25, 26);"]
|
:root[style*="--lwt-accent-color:rgb(227, 228, 230); --lwt-text-color:rgba(24, 25, 26);"],
|
||||||
|
:root[style*="--lwt-accent-color:rgb(240, 240, 244); --lwt-text-color:rgba(21, 20, 26);"] /* Used for Proton (May be changed in future) */
|
||||||
{
|
{
|
||||||
/* accentcolor */
|
/* accentcolor */
|
||||||
--lwt-accent-color: #cecece !important;
|
--lwt-accent-color: #cecece !important;
|
||||||
|
@ -20,6 +21,9 @@
|
||||||
/* toolbar */
|
/* toolbar */
|
||||||
--toolbar-bgcolor: #f7f7f7 !important;
|
--toolbar-bgcolor: #f7f7f7 !important;
|
||||||
|
|
||||||
|
/* Force tabs to match --toolbar-bgcolor */
|
||||||
|
--lwt-selected-tab-background-color: var(--toolbar-bgcolor) !important;
|
||||||
|
|
||||||
/* toolbar_text */
|
/* toolbar_text */
|
||||||
--toolbar-color: #000 !important;
|
--toolbar-color: #000 !important;
|
||||||
|
|
||||||
|
@ -58,7 +62,8 @@
|
||||||
--private-browsing-indicator: #0078d4 !important;
|
--private-browsing-indicator: #0078d4 !important;
|
||||||
}
|
}
|
||||||
/* Dark Mode */
|
/* Dark Mode */
|
||||||
:root[style*="--lwt-accent-color:rgb(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"]
|
:root[style*="--lwt-accent-color:rgb(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"],
|
||||||
|
:root[style*="--lwt-accent-color:rgb(28, 27, 34); --lwt-text-color:rgba(251, 251, 254);"] /* Used for Proton (May be changed in future) */
|
||||||
{
|
{
|
||||||
/* accentcolor */
|
/* accentcolor */
|
||||||
--lwt-accent-color: #1b1b1b !important;
|
--lwt-accent-color: #1b1b1b !important;
|
||||||
|
@ -69,6 +74,9 @@
|
||||||
/* toolbar */
|
/* toolbar */
|
||||||
--toolbar-bgcolor: #3b3b3b !important;
|
--toolbar-bgcolor: #3b3b3b !important;
|
||||||
|
|
||||||
|
/* Force tabs to match --toolbar-bgcolor */
|
||||||
|
--lwt-selected-tab-background-color: var(--toolbar-bgcolor) !important;
|
||||||
|
|
||||||
/* toolbar_text */
|
/* toolbar_text */
|
||||||
--toolbar-color: #fff !important;
|
--toolbar-color: #fff !important;
|
||||||
|
|
||||||
|
@ -173,7 +181,14 @@
|
||||||
--toolbar-non-lwt-bgcolor: #f7f7f7 !important;
|
--toolbar-non-lwt-bgcolor: #f7f7f7 !important;
|
||||||
--toolbar-non-lwt-textcolor: #000 !important;
|
--toolbar-non-lwt-textcolor: #000 !important;
|
||||||
|
|
||||||
--tab-separator-opacity: .35 !important;
|
--tab-separator-opacity: .5 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (-moz-proton) {
|
||||||
|
:root {
|
||||||
|
--arrowpanel-menuitem-margin: 0 !important; /* used to get rid of the left/right margins in Proton */
|
||||||
|
--space-above-tabbar: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#titlebar,
|
#titlebar,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue