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;
|
||||
}
|
||||
|
||||
/*
|
||||
#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-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton),
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)
|
||||
{
|
||||
max-height: 34px !important;
|
||||
height: 34px !important;
|
||||
min-height: 34px !important;
|
||||
max-height: 32px !important;
|
||||
height: 32px !important;
|
||||
min-height: 32px !important;
|
||||
}
|
||||
*/
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton))[disabled],
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]: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]),
|
||||
|
@ -326,4 +327,4 @@
|
|||
border: 0 !important;
|
||||
box-shadow: 0 0 0 1px #0004, 0 4px 6px #0004 !important;
|
||||
padding: 3px 6px !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
/* Light Mode */
|
||||
:root:not([style]),
|
||||
: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 */
|
||||
--lwt-accent-color: #cecece !important;
|
||||
|
@ -19,6 +20,9 @@
|
|||
|
||||
/* toolbar */
|
||||
--toolbar-bgcolor: #f7f7f7 !important;
|
||||
|
||||
/* Force tabs to match --toolbar-bgcolor */
|
||||
--lwt-selected-tab-background-color: var(--toolbar-bgcolor) !important;
|
||||
|
||||
/* toolbar_text */
|
||||
--toolbar-color: #000 !important;
|
||||
|
@ -58,7 +62,8 @@
|
|||
--private-browsing-indicator: #0078d4 !important;
|
||||
}
|
||||
/* 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 */
|
||||
--lwt-accent-color: #1b1b1b !important;
|
||||
|
@ -68,6 +73,9 @@
|
|||
|
||||
/* toolbar */
|
||||
--toolbar-bgcolor: #3b3b3b !important;
|
||||
|
||||
/* Force tabs to match --toolbar-bgcolor */
|
||||
--lwt-selected-tab-background-color: var(--toolbar-bgcolor) !important;
|
||||
|
||||
/* toolbar_text */
|
||||
--toolbar-color: #fff !important;
|
||||
|
@ -173,7 +181,14 @@
|
|||
--toolbar-non-lwt-bgcolor: #f7f7f7 !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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue