mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
62 lines
1.7 KiB
Diff
62 lines
1.7 KiB
Diff
|
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
|
||
|
|