reorganise variables
This commit is contained in:
parent
8b8308b8ea
commit
a5e5f43230
1 changed files with 27 additions and 36 deletions
|
@ -6,7 +6,7 @@
|
||||||
--toolbar-field-hover-border-color: var(--lwt-toolbar-field-border-color) !important;
|
--toolbar-field-hover-border-color: var(--lwt-toolbar-field-border-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 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);"]
|
||||||
|
@ -57,10 +57,7 @@
|
||||||
--toolbar-field-focus-border-color: #0078d4a0 !important;
|
--toolbar-field-focus-border-color: #0078d4a0 !important;
|
||||||
--private-browsing-indicator: #0078d4 !important;
|
--private-browsing-indicator: #0078d4 !important;
|
||||||
}
|
}
|
||||||
|
/* Dark Mode */
|
||||||
/* don't bother with sidebar in light 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);"]
|
||||||
{
|
{
|
||||||
/* accentcolor */
|
/* accentcolor */
|
||||||
|
@ -122,40 +119,44 @@
|
||||||
--private-browsing-indicator: #006cbe !important;
|
--private-browsing-indicator: #006cbe !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:-moz-any(#sidebar-box, #sidebar)
|
/* Inactive Window Light Mode */
|
||||||
{
|
:-moz-any(:root:not([style]), :root:not([lwtheme]), :root[style*="--lwt-accent-color:rgb(227, 228, 230); --lwt-text-color:rgba(24, 25, 26);"]):-moz-window-inactive :-moz-any(#TabsToolbar, #navigator-toolbox) {
|
||||||
/* sidebar */
|
--lwt-accent-color: #e8e8e8 !important;
|
||||||
--sidebar-background-color: #f5f5f5 !important;
|
--lwt-text-color: #3a3a3a !important;
|
||||||
|
--toolbar-color: #3a3a3a !important;
|
||||||
/* sidebar_text */
|
|
||||||
--sidebar-text-color: #000 !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Inactive Window Dark Mode */
|
||||||
|
:-moz-any(:root[style*="--lwt-accent-color:rgb(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"]):-moz-window-inactive :-moz-any(#TabsToolbar, #navigator-toolbox) {
|
||||||
|
--lwt-accent-color: #2e2e2e !important;
|
||||||
|
--lwt-text-color: #b7b7b7 !important;
|
||||||
|
--toolbar-color: #cecece !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sidebar Light Mode */
|
||||||
|
:-moz-any(#sidebar-box, #sidebar),
|
||||||
:-moz-any(.sidebar-panel, body)
|
:-moz-any(.sidebar-panel, body)
|
||||||
{
|
{
|
||||||
/* sidebar */
|
/* sidebar */
|
||||||
--lwt-sidebar-background-color: #f5f5f5 !important;
|
--sidebar-background-color: #f5f5f5 !important;
|
||||||
|
--lwt-sidebar-background-color: var(--sidebar-background-color) !important;
|
||||||
|
|
||||||
/* sidebar_text */
|
/* sidebar_text */
|
||||||
--lwt-sidebar-text-color: #000 !important;
|
--sidebar-text-color: #000 !important;
|
||||||
}
|
--lwt-sidebar-text-color: var(--sidebar-text-color) !important;
|
||||||
|
|
||||||
:-moz-any(#sidebar-box, #sidebar)[style*="--sidebar-background-color:rgb(56, 56, 61);"], :-moz-any(.sidebar-panel, body)[style*="--lwt-sidebar-background-color:rgb(56, 56, 61);"]
|
|
||||||
{
|
|
||||||
/* sidebar */
|
|
||||||
--sidebar-background-color: #3b3b3b !important;
|
|
||||||
|
|
||||||
/* sidebar_text */
|
|
||||||
--sidebar-text-color: #fff !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sidebar Dark Mode */
|
||||||
|
:-moz-any(#sidebar-box, #sidebar)[style*="--sidebar-background-color:rgb(56, 56, 61);"], :-moz-any(.sidebar-panel, body)[style*="--lwt-sidebar-background-color:rgb(56, 56, 61);"],
|
||||||
:-moz-any(.sidebar-panel, body)[style*="--lwt-sidebar-background-color:rgb(56, 56, 61);"]
|
:-moz-any(.sidebar-panel, body)[style*="--lwt-sidebar-background-color:rgb(56, 56, 61);"]
|
||||||
{
|
{
|
||||||
/* sidebar */
|
/* sidebar */
|
||||||
--lwt-sidebar-background-color: #3b3b3b !important;
|
--sidebar-background-color: #3b3b3b !important;
|
||||||
|
--lwt-sidebar-background-color: var(--sidebar-background-color) !important;
|
||||||
|
|
||||||
/* sidebar_text */
|
/* sidebar_text */
|
||||||
--lwt-sidebar-text-color: #fff !important;
|
--sidebar-text-color: #fff !important;
|
||||||
|
--lwt-sidebar-text-color: var(--sidebar-text-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root
|
:root
|
||||||
|
@ -236,16 +237,6 @@
|
||||||
--toolbarbutton-active-background: #fff2 !important;
|
--toolbarbutton-active-background: #fff2 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:-moz-any(:root:not([style]), :root:not([lwtheme]), :root[style*="--lwt-accent-color:rgb(227, 228, 230); --lwt-text-color:rgba(24, 25, 26);"]):-moz-window-inactive :-moz-any(#TabsToolbar, #navigator-toolbox) {
|
|
||||||
--lwt-accent-color: #e8e8e8 !important;
|
|
||||||
--lwt-text-color: #3a3a3a !important;
|
|
||||||
--toolbar-color: #3a3a3a !important;
|
|
||||||
}
|
|
||||||
:-moz-any(:root[style*="--lwt-accent-color:rgb(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"]):-moz-window-inactive :-moz-any(#TabsToolbar, #navigator-toolbox) {
|
|
||||||
--lwt-accent-color: #2e2e2e !important;
|
|
||||||
--lwt-text-color: #b7b7b7 !important;
|
|
||||||
--toolbar-color: #cecece !important;
|
|
||||||
}
|
|
||||||
#TabsToolbar .toolbarbutton-1 {
|
#TabsToolbar .toolbarbutton-1 {
|
||||||
fill: var(--lwt-text-color) !important;
|
fill: var(--lwt-text-color) !important;
|
||||||
}
|
}
|
||||||
|
@ -255,4 +246,4 @@
|
||||||
: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(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"]) #tabbrowser-tabs {
|
:root[style*="--lwt-accent-color:rgb(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"]) #tabbrowser-tabs {
|
||||||
--tab-line-color: var(--tab-line-col) !important;
|
--tab-line-color: var(--tab-line-col) !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue