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;
}
.tab-background:not([selected=true]) {
#TabsToolbar .tabbrowser-tab:not([selected=true]) .tab-background {
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;
}
/* 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;
}
/* Active tab */
.tab-background[selected=true] {
.tab-background:is([selected]) {
background: var(--gnome-tabbar-tab-active-background) !important;
animation: 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;
}

View File

@ -36,25 +36,25 @@ tab > stack {
transition: background 200ms !important;
}
.tab-background:not([selected=true]) {
#TabsToolbar .tabbrowser-tab:not([selected=true]) .tab-background {
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;
}
/* 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;
}
/* Active tab */
.tab-background[selected=true] {
.tab-background:is([selected]) {
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;
}

View File

@ -86,12 +86,18 @@ findbar:-moz-window-inactive {
}
/* Sidebar */
#sidebar-box,
#sidebar-box, #sidebar,
.sidebar-panel[lwt-sidebar] {
color: var(--gnome-toolbar-color) !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-container:-moz-lwtheme {
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-box,
#sidebar-box, #sidebar,
.sidebar-panel[lwt-sidebar] {
color: var(--gnome-toolbar-color) !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-container:-moz-lwtheme {
background-image: linear-gradient(var(--gnome-browser-before-load-background), var(--gnome-browser-before-load-background)) !important;