From 4f32d8ec9714820dc4fa903d919841d91c4360ee Mon Sep 17 00:00:00 2001 From: Luke from DC Date: Tue, 12 Oct 2021 00:16:04 +0000 Subject: Fix headerbar rendering in GNOME 1.41 apps (#296) Fix square corners, align halves of headerbar in gnome-disks --- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 3 ++- desktop-themes/BlackMATE/gtk-3.0/window-controls.css | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index f4c61a97..838e7ecd 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -3001,7 +3001,7 @@ popover .separator { *******/ /*mostly taken from Adwaita except the border radius */ -decoration { +decoration, window.unified { border-radius: 7px 7px 0px 0px; border-width: 1px; box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.23); @@ -3131,6 +3131,7 @@ button.text-button.titlebutton { border-radius: 3px; border-width: 1px; border-style: solid; + padding: 7px; text-shadow: none; color: #D9D9D9; background-image: linear-gradient(to bottom, diff --git a/desktop-themes/BlackMATE/gtk-3.0/window-controls.css b/desktop-themes/BlackMATE/gtk-3.0/window-controls.css index 63d47c9d..b3811653 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/window-controls.css +++ b/desktop-themes/BlackMATE/gtk-3.0/window-controls.css @@ -30,6 +30,7 @@ headerbar .left button.close.titlebutton, headerbar .left button.close.titlebutton:backdrop, headerbar .left:dir(rtl) button.close.titlebutton, headerbar .left:dir(rtl) button.close.titlebutton:backdrop { + padding: 5px; color: transparent; background-position: center; background-repeat: no-repeat; -- cgit v1.2.1