slackware-current/source/xfce/Greybird/0001-Make-CSD-titlebars-slimmer.patch

116 lines
2.5 KiB
Diff
Raw Normal View History

Sun Dec 27 22:52:10 UTC 2020 And, just a month after Xfce 4.14 appeared in vtown, we have Xfce 4.16 updates in the main tree. Thanks much to Robby Workman for making it happen. :-) a/aaa_terminfo-6.2_20201219-x86_64-1.txz: Upgraded. a/ndctl-71.1-x86_64-2.txz: Rebuilt. Fix bash-completion file installation (previously it was causing the completion dir to have mode 0644). Thanks to Robby Workman. l/harfbuzz-2.7.4-x86_64-1.txz: Upgraded. l/libarchive-3.5.1-x86_64-1.txz: Upgraded. l/libgtop-2.40.0-x86_64-1.txz: Added. This is used by libxfce4ui to provide extra information in the about page. l/ncurses-6.2_20201219-x86_64-1.txz: Upgraded. n/wpa_supplicant-2.9-x86_64-4.txz: Rebuilt. Fix desktop file to not show if kdesu isn't available. Thanks to Hyperion. x/xterm-363-x86_64-1.txz: Upgraded. xap/xsnow-3.2.0-x86_64-1.txz: Upgraded. xfce/Greybird-3.22.13-noarch-2.txz: Rebuilt. xfce/exo-4.16.0-x86_64-1.txz: Upgraded. xfce/garcon-0.8.0-x86_64-1.txz: Upgraded. xfce/libxfce4ui-4.16.0-x86_64-1.txz: Upgraded. xfce/libxfce4util-4.16.0-x86_64-1.txz: Upgraded. xfce/mousepad-0.5.1-x86_64-2.txz: Rebuilt. xfce/thunar-4.16.0-x86_64-1.txz: Upgraded. xfce/thunar-volman-4.16.0-x86_64-1.txz: Upgraded. xfce/tumbler-4.16.0-x86_64-1.txz: Upgraded. xfce/xfce4-appfinder-4.16.0-x86_64-1.txz: Upgraded. xfce/xfce4-clipman-plugin-1.6.1-x86_64-2.txz: Rebuilt. xfce/xfce4-dev-tools-4.16.0-x86_64-1.txz: Upgraded. xfce/xfce4-notifyd-0.6.2-x86_64-2.txz: Rebuilt. xfce/xfce4-panel-4.16.0-x86_64-1.txz: Upgraded. xfce/xfce4-panel-profiles-1.0.10-x86_64-2.txz: Rebuilt. xfce/xfce4-power-manager-4.16.0-x86_64-1.txz: Upgraded. xfce/xfce4-pulseaudio-plugin-0.4.3-x86_64-2.txz: Rebuilt. xfce/xfce4-screensaver-0.1.11-x86_64-3.txz: Rebuilt. xfce/xfce4-screenshooter-1.9.8-x86_64-1.txz: Upgraded. xfce/xfce4-session-4.16.0-x86_64-1.txz: Upgraded. xfce/xfce4-settings-4.16.0-x86_64-1.txz: Upgraded. xfce/xfce4-systemload-plugin-1.2.4-x86_64-2.txz: Rebuilt. xfce/xfce4-taskmanager-1.2.3-x86_64-2.txz: Rebuilt. xfce/xfce4-terminal-0.8.10-x86_64-1.txz: Upgraded. xfce/xfce4-weather-plugin-0.10.2-x86_64-2.txz: Rebuilt. xfce/xfce4-whiskermenu-plugin-2.5.0-x86_64-1.txz: Upgraded. xfce/xfconf-4.16.0-x86_64-1.txz: Upgraded. xfce/xfdesktop-4.16.0-x86_64-1.txz: Upgraded. xfce/xfwm4-4.16.0-x86_64-1.txz: Upgraded.
2020-12-27 23:52:10 +01:00
From d6a43f7c080487bdde8157c767023a1f8d76a240 Mon Sep 17 00:00:00 2001
From: Maurizio Galli <maurizio.galli@gmail.com>
Date: Thu, 17 Dec 2020 03:28:42 +0800
Subject: [PATCH 1/2] Make CSD titlebars slimmer
---
light/gtk-3.0/_common.scss | 56 ++++++++++++++++++++++++++++----------
1 file changed, 41 insertions(+), 15 deletions(-)
diff --git a/light/gtk-3.0/_common.scss b/light/gtk-3.0/_common.scss
index ad5f199..fdf1aa0 100644
--- a/light/gtk-3.0/_common.scss
+++ b/light/gtk-3.0/_common.scss
@@ -1419,7 +1419,7 @@ searchbar,
%titlebar,
headerbar {
padding: 0 5px;
- min-height: 38px;
+ min-height: 32px;
border-width: 0 0 1px;
border-style: solid;
border-color: $borders_color;
@@ -1586,13 +1586,13 @@ headerbar {
}
&.default-decoration {
- min-height: 28px;
+ min-height: 24px;
padding: 4px;
button.titlebutton,
menubutton.titlebutton {
- min-height: 26px;
- min-width: 26px;
+ min-height: 22px;
+ min-width: 22px;
margin: 0;
padding: 0;
}
@@ -1621,35 +1621,61 @@ headerbar {
headerbar {
// add vertical margins to common widget on the headerbar to avoid them spanning the whole height
entry,
- spinbutton,
- separator,
- button {
+ separator {
margin-top: 3px;
margin-bottom: 3px;
}
+ spinbutton,
+ button {
+ margin-top: 2px;
+ margin-bottom: 2px;
+ padding-top: 0;
+ padding-bottom: 0;
+ }
button label {
min-width: 28px;
- min-height: 28px;
+ min-height: 22px;
}
button.titlebutton image {
min-width: 22px;
min-height: 22px;
}
button:not(.image-button):not(.titlebutton) image {
- min-width: 28px;
- min-height: 28px;
+ min-width: 22px;
+ min-height: 22px;
}
button.image-button {
- min-width: 28px;
- min-height: 28px;
+ min-width: 22px;
+ min-height: 22px;
padding-left: 2px;
padding-right: 2px;
}
+ .stack-switcher button {
+ min-width: 26px;
+ min-height: 26px;
+ &:not(.text-button) {
+ min-height: 22px;
+ min-width: 22px;
+ padding-left: 0px;
+ padding-right: 0px;
+ }
+ }
+ buttonbox {
+ padding: 0px;
+ button {
+ min-width: 26px;
+ min-height: 26px;
+ &:not(.text-button) {
+ min-width: 22px;
+ padding-left: 0px;
+ padding-right: 0px;
+ }
+ }
+ }
switch {
- margin-top: 9px;
- margin-bottom: 9px;
+ margin-top: 5px;
+ margin-bottom: 5px;
}
- buttonbox { padding: 0px; }
}
.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar,
--
2.29.2