[gtk+] HighContrast: remove edge highlight



commit eef64df5f2684874eb1eb22a48e637585602b02f
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Sep 8 17:22:10 2015 +0200

    HighContrast: remove edge highlight
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754551

 gtk/theme/HighContrast/_common.scss |    1 +
 gtk/theme/HighContrast/gtk.css      |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 527ddc8..c9b35bb 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -2360,6 +2360,7 @@ GtkColorSwatch {
 
   // we need to re-set the shadow here since it get axed by the previous bit
   &:selected { box-shadow: $_colorswatch_shadow; }
+  GtkColorButton > & { box-shadow: none; }
 
   // border rounding
   &.top {
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index 8b12793..9a2aa2c 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -2573,6 +2573,8 @@ GtkColorSwatch {
       border-color: #fff; }
   GtkColorSwatch:selected {
     box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
+  GtkColorButton > GtkColorSwatch {
+    box-shadow: none; }
   GtkColorSwatch.top {
     border-top-left-radius: 5px;
     border-top-right-radius: 5px; }


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