This commit is contained in:
vinceliuice 2023-10-26 01:31:19 +08:00
parent 9bd1d2b4de
commit 5f7e62ad7e
4 changed files with 24 additions and 12 deletions

View File

@ -58,27 +58,27 @@ tab > stack {
margin-block: 0 !important; margin-block: 0 !important;
} }
.tab-background:not([selected=true]) { #TabsToolbar .tabbrowser-tab:not([selected=true]) .tab-background {
background: var(--gnome-tabbar-tab-background) !important; background: var(--gnome-tabbar-tab-background) !important;
} }
.tab-background:not([selected=true]):-moz-window-inactive { #TabsToolbar .tabbrowser-tab:not([selected=true]) .tab-background:-moz-window-inactive {
background: var(--gnome-inactive-tabbar-tab-background) !important; background: var(--gnome-inactive-tabbar-tab-background) !important;
} }
/* Tab hover */ /* Tab hover */
#TabsToolbar .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) { #TabsToolbar .tabbrowser-tab:not([selected=true]):hover > .tab-stack > .tab-background {
background: var(--gnome-tabbar-tab-hover-background) !important; background: var(--gnome-tabbar-tab-hover-background) !important;
} }
/* Active tab */ /* Active tab */
.tab-background[selected=true] { .tab-background:is([selected]) {
background: var(--gnome-tabbar-tab-active-background) !important; background: var(--gnome-tabbar-tab-active-background) !important;
animation: none !important; animation: none !important;
transition: none !important; transition: none !important;
} }
.tab-background[selected=true]:-moz-window-inactive { .tab-background:is([selected]):-moz-window-inactive {
background: var(--gnome-inactive-tabbar-tab-active-background) !important; background: var(--gnome-inactive-tabbar-tab-active-background) !important;
} }

View File

@ -36,25 +36,25 @@ tab > stack {
transition: background 200ms !important; transition: background 200ms !important;
} }
.tab-background:not([selected=true]) { #TabsToolbar .tabbrowser-tab:not([selected=true]) .tab-background {
background: var(--gnome-tabbar-tab-background) !important; background: var(--gnome-tabbar-tab-background) !important;
} }
.tab-background:not([selected=true]):-moz-window-inactive { #TabsToolbar .tabbrowser-tab:not([selected=true]) .tab-background:-moz-window-inactive {
background: var(--gnome-inactive-tabbar-tab-background) !important; background: var(--gnome-inactive-tabbar-tab-background) !important;
} }
/* Tab hover */ /* Tab hover */
#TabsToolbar .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) { #TabsToolbar .tabbrowser-tab:not([selected=true]):hover .tab-background {
background: var(--gnome-tabbar-tab-hover-background) !important; background: var(--gnome-tabbar-tab-hover-background) !important;
} }
/* Active tab */ /* Active tab */
.tab-background[selected=true] { .tab-background:is([selected]) {
background: var(--gnome-tabbar-tab-active-background) !important; background: var(--gnome-tabbar-tab-active-background) !important;
} }
.tab-background[selected=true]:-moz-window-inactive { .tab-background:is([selected]):-moz-window-inactive {
background: var(--gnome-inactive-tabbar-tab-active-background) !important; background: var(--gnome-inactive-tabbar-tab-active-background) !important;
} }

View File

@ -86,12 +86,18 @@ findbar:-moz-window-inactive {
} }
/* Sidebar */ /* Sidebar */
#sidebar-box, #sidebar-box, #sidebar,
.sidebar-panel[lwt-sidebar] { .sidebar-panel[lwt-sidebar] {
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
background: var(--gnome-toolbar-background) !important; background: var(--gnome-toolbar-background) !important;
} }
.sidebar-splitter {
width: 1px !important;
background-color: var(--gnome-toolbar-border-color) !important;
border: none !important;
}
/* Customization page */ /* Customization page */
#customization-container:-moz-lwtheme { #customization-container:-moz-lwtheme {
background-image: linear-gradient(var(--gnome-browser-before-load-background), var(--gnome-browser-before-load-background)) !important; background-image: linear-gradient(var(--gnome-browser-before-load-background), var(--gnome-browser-before-load-background)) !important;

View File

@ -97,12 +97,18 @@ findbar:-moz-window-inactive,
} }
/* Sidebar */ /* Sidebar */
#sidebar-box, #sidebar-box, #sidebar,
.sidebar-panel[lwt-sidebar] { .sidebar-panel[lwt-sidebar] {
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
background: var(--gnome-toolbar-background) !important; background: var(--gnome-toolbar-background) !important;
} }
.sidebar-splitter {
width: 1px !important;
background-color: var(--gnome-toolbar-border-color) !important;
border: none !important;
}
/* Customization page */ /* Customization page */
#customization-container:-moz-lwtheme { #customization-container:-moz-lwtheme {
background-image: linear-gradient(var(--gnome-browser-before-load-background), var(--gnome-browser-before-load-background)) !important; background-image: linear-gradient(var(--gnome-browser-before-load-background), var(--gnome-browser-before-load-background)) !important;