[gimp] themes: fix the toolbox button selector, remove special style



commit c42baf6676866a719460c1386625983bc3ecc81d
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jun 13 15:38:12 2018 +0200

    themes: fix the toolbox button selector, remove special style
    
    Thanks to Sergey Bugaev on IRC.

 themes/System/gimp.css | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/themes/System/gimp.css b/themes/System/gimp.css
index 21543f5b14..b10801d893 100644
--- a/themes/System/gimp.css
+++ b/themes/System/gimp.css
@@ -53,19 +53,12 @@ GimpDock notebook tab {
     padding: 0 0 0 0;
 }
 
-GimpDock :not(toolpalette) button,
+GimpDock :not(toolbutton) > button,
 GimpOverlayDialog button,
 GimpToolDialog :not(headerbar) button {
     padding: 0px 2px 0px 2px;
 }
 
-/* the above "GimpDock :not(toolpalette) button" doesn't work, so set
- * the tool button style explicitly
- */
-GimpDock toolpalette button {
-    padding: 4px 4px 4px 4px;
-}
-
 GimpToolDialog headerbar {
     min-height: 0;
 }
@@ -97,7 +90,7 @@ GimpDock frame {
     -GimpFrame-label-spacing:    2;
 }
 
-GimpDisplayShell grid>button {
+GimpDisplayShell grid > button {
     min-height: 0;
     min-width: 0;
     padding: 0 0 0 0;


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