Skip to content

Commit bb2b7d7

Browse files
committed
transparency removal for simpler setup
1 parent 6cb16e2 commit bb2b7d7

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

chrome/WhiteSur/parts/buttons.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ menulist>menupopup>menu {
238238
.close-icon:not(.tab-close-button):hover,
239239
#TabsToolbar .toolbarbutton-1:not(:active):not([open]):hover {
240240
outline: 0 !important;
241-
background: var(--gnome-button-hover-color) !important;
241+
242242
}
243243

244244
.close-icon:not(.tab-close-button):active,

chrome/WhiteSur/parts/tabsbar.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,23 @@ tab[selected]:-moz-window-inactive {
240240
display:flex;
241241
}
242242

243-
243+
/* change background of tabs based on mode to not rely on theme */
244244
.tab-background {
245-
background-color: transparent !important;
245+
background-color: var(--gnome-tabbar-tab-background) !important;
246246
transition: all 200ms;
247247
}
248-
248+
.tabbrowser-tab::after,
249+
.tabbrowser-tab::before {
250+
border-color: var(--gnome-tabbar-tab-hover-background) !important;
251+
}
252+
#TabsToolbar .toolbarbutton-1 {
253+
background: var(--gnome-tabbar-tab-background) !important;
254+
background-color: var(--gnome-tabbar-tab-background) !important;
255+
}
256+
#TabsToolbar .toolbarbutton-1:hover {
257+
background: var(--gnome-tabbar-tab-hover-background) !important;
258+
background-color: var(--gnome-tabbar-tab-hover-background) !important;
259+
}
249260
/* Active tab */
250261
.tab-background[selected=true] {
251262
background-color: var(--gnome-tabbar-tab-active-background) !important;

0 commit comments

Comments
 (0)