CSD: Fix titlebuttons when moz-lwtheme is active

Closes #305,  #355
This commit is contained in:
Rafael Mardojai CM 2022-05-25 20:59:57 -05:00
parent 98c820ee49
commit 88599819bb
No known key found for this signature in database
GPG Key ID: 2B2DAB2A58566C84
1 changed files with 8 additions and 2 deletions

View File

@ -119,7 +119,7 @@
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton {
-moz-appearance: none !important;
padding: 0 2px !important;
background: var(--gnome-button-close-background);
background: var(--gnome-button-close-background);
}
:root[tabsintitlebar] #titlebar .titlebar-button {
@ -136,6 +136,12 @@
width: 34px;
}
:root[tabsintitlebar] #titlebar toolbarbutton > .toolbarbutton-icon {
padding: 0 !important;
stroke: none !important;
-moz-context-properties: fill, fill-opacity !important;
}
:root[tabsintitlebar] #titlebar .titlebar-button .toolbarbutton-icon,
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton .toolbarbutton-icon {
width: 16px;
@ -154,7 +160,7 @@
}
:root[tabsintitlebar] #titlebar .titlebar-button:where(:hover) {
background: var(--gnome-button-hover-close-background);
background: var(--gnome-button-hover-close-background) !important;
}
/* OPTIONAL: Allow draging the window from headerbar buttons */