[gnome-themes-standard/wip/hc-sass] HC: flat OSD



commit 56588c1b3812583263f19bc60f3c728967a76e9d
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Aug 4 13:55:09 2014 +0200

    HC: flat OSD

 themes/HighContrast/gtk-3.0/_common.scss  |    2 +-
 themes/HighContrast/gtk-3.0/_drawing.scss |   18 ++++--------------
 2 files changed, 5 insertions(+), 15 deletions(-)
---
diff --git a/themes/HighContrast/gtk-3.0/_common.scss b/themes/HighContrast/gtk-3.0/_common.scss
index 4010ac9..2d7be22 100644
--- a/themes/HighContrast/gtk-3.0/_common.scss
+++ b/themes/HighContrast/gtk-3.0/_common.scss
@@ -267,7 +267,7 @@ GtkLabel {
   //overlay / OSD style
   .osd & {
     padding: 6px;
-    border-width: 1px;
+    border-width: 1px 1px 2px 1px;
     @include button(osd);
     @extend %linked_buttons;
     &:hover {
diff --git a/themes/HighContrast/gtk-3.0/_drawing.scss b/themes/HighContrast/gtk-3.0/_drawing.scss
index 4e827c9..9145334 100644
--- a/themes/HighContrast/gtk-3.0/_drawing.scss
+++ b/themes/HighContrast/gtk-3.0/_drawing.scss
@@ -261,10 +261,8 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
   //
   // normal osd button
   //
-    background-image: linear-gradient(to bottom,
-                                  transparentize(#fff,0.9),
-                                  transparentize(#fff,0.95),
-                                  transparentize(#000,0.99));
+    background-image: none;
+    background-color: $osd_bg_color;
     border-color: $osd_borders_color;
     box-shadow: none;
   }
@@ -272,10 +270,7 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
   //
   // active osd button
   //
-    background-image: linear-gradient(to bottom,
-                                  transparentize(#fff,0.85),
-                                  transparentize(#fff,0.9),
-                                  transparentize(#000,0.99));
+    background-color: transparentize(#fff,0.99);
     border-color: $osd_borders_color;
     box-shadow: none;
   }
@@ -283,10 +278,7 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
   //
   // active osd button
   //
-    background-image: linear-gradient(to bottom,
-                                  transparentize(#000,0.95),
-                                  transparentize(#fff,0.95),
-                                  transparentize(#fff,0.9));
+    background-color: transparentize(#fff,0.97));
     border-color: $osd_borders_color;
     box-shadow: none;
   }
@@ -294,8 +286,6 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
   //
   // insensitive osd button
   //
-    background-image: linear-gradient(to bottom,
-                      $osd_bg_color);
     border-color: $osd_borders_color;
     color: $insensitive_fg_color;
   }


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