summaryrefslogtreecommitdiff
path: root/source/xfce/Greybird/0002-Reduce-messagedialog-buttonbox-size.patch
blob: 6f495cd4cba78ff74d7e32a9cd2017f77716ac44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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