summaryrefslogtreecommitdiffstats
path: root/source/xfce/Greybird/0002-Reduce-messagedialog-buttonbox-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/xfce/Greybird/0002-Reduce-messagedialog-buttonbox-size.patch')
-rw-r--r--source/xfce/Greybird/0002-Reduce-messagedialog-buttonbox-size.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/source/xfce/Greybird/0002-Reduce-messagedialog-buttonbox-size.patch b/source/xfce/Greybird/0002-Reduce-messagedialog-buttonbox-size.patch
new file mode 100644
index 000000000..6f495cd4c
--- /dev/null
+++ b/source/xfce/Greybird/0002-Reduce-messagedialog-buttonbox-size.patch
@@ -0,0 +1,61 @@
+From ede9f55e3f2ea64248f01801c394e70e85a8f824 Mon Sep 17 00:00:00 2001
+From: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>
+Date: Fri, 18 Dec 2020 00:33:05 +0100
+Subject: [PATCH 2/2] Reduce messagedialog buttonbox size
+
+---
+ light/gtk-3.0/_common.scss | 36 +++++++++++++++++-------------------
+ 1 file changed, 17 insertions(+), 19 deletions(-)
+
+diff --git a/light/gtk-3.0/_common.scss b/light/gtk-3.0/_common.scss
+index fdf1aa0..a75c10b 100644
+--- a/light/gtk-3.0/_common.scss
++++ b/light/gtk-3.0/_common.scss
+@@ -3776,27 +3776,25 @@ messagedialog { // Message Dialog styling
+ border-bottom-right-radius: 9px;
+ }
+
+- buttonbox {
++ .dialog-action-area {
+ padding: 0px;
+- button { padding: 6px; }
+- }
+-
+- .dialog-action-area button {
+- padding: 10px 14px; // labels are not vertically centered on message dialog, this is a workaround
+- border-radius: 0;
+- border-left-style: solid;
+- border-right-style: none;
+- border-bottom-style: none;
+-
+- &:first-child{
+- border-left-style: none;
+- border-bottom-left-radius: 7px;
+- -gtk-outline-bottom-left-radius: 5px;
+- }
++ button {
++ padding: 3px;
++ border-radius: 0px;
++ border-left-style: solid;
++ border-right-style: none;
++ border-bottom-style: none;
++
++ &:first-child{
++ border-left-style: none;
++ border-bottom-left-radius: 7px;
++ -gtk-outline-bottom-left-radius: 5px;
++ }
+
+- &:last-child {
+- border-bottom-right-radius: 7px;
+- -gtk-outline-bottom-right-radius: 5px;
++ &:last-child {
++ border-bottom-right-radius: 7px;
++ -gtk-outline-bottom-right-radius: 5px;
++ }
+ }
+ }
+ }
+--
+2.29.2
+