[gtk+/wip/baedert/drawing: 34/35] Adwaita: Set minimum size for modelbutton arrows



commit 7efee5e045db1dd43154afe334fa28714ac548ad
Author: Timm Bäder <mail baedert org>
Date:   Fri Jul 14 10:30:32 2017 +0200

    Adwaita: Set minimum size for modelbutton arrows
    
    Otherwise the minimum size is 1×1.

 gtk/theme/Adwaita/_common.scss           |    2 ++
 gtk/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index dea9211..539d252 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -989,6 +989,8 @@ modelbutton.flat,
 
 modelbutton.flat arrow {
   background: none;
+  min-width: 16px;
+  min-height: 16px;
 
   &:hover { background: none; }
 
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index e066a66..c3514bd 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -445,7 +445,7 @@ modelbutton.flat, .menuitem.button.flat { min-height: 26px; padding-left: 5px; p
 
 modelbutton.flat:hover, .menuitem.button.flat:hover { background-color: #3f4649; }
 
-modelbutton.flat arrow { background: none; }
+modelbutton.flat arrow { background: none; min-width: 16px; min-height: 16px; }
 
 modelbutton.flat arrow:hover { background: none; }
 
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 82da845..f1973c0 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -447,7 +447,7 @@ modelbutton.flat, .menuitem.button.flat { min-height: 26px; padding-left: 5px; p
 
 modelbutton.flat:hover, .menuitem.button.flat:hover { background-color: #f4f4f4; }
 
-modelbutton.flat arrow { background: none; }
+modelbutton.flat arrow { background: none; min-width: 16px; min-height: 16px; }
 
 modelbutton.flat arrow:hover { background: none; }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]