[gnome-themes-standard/wip/sass] entry: less brutal focused state



commit 7cf07c91ab420e368f1b67129a15ef6a777de5a8
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue May 27 13:08:04 2014 +0200

    entry: less brutal focused state

 themes/Adwaita/gtk-3.0/_common.scss           |    4 ++--
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    2 +-
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 97ec3b8..daf0552 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -176,8 +176,8 @@ GtkGrid:insensitive {
   }
   &:focus {
     border-color: $selected_bg_color;
-    box-shadow: inset 0 2px 2px -2px transparentize(black,0.6),
-                inset 0 0 2px 1px transparentize($selected_bg_color, 0.5), // focus indicator
+    box-shadow: inset 0 2px 2px -2px $_entry_shade,
+                inset 0 0 2px 1px transparentize($selected_bg_color, 0.8), // focus indicator
                 0 1px $borders_edge; /* not working */
   }
   &:selected, &:backdrop:selected {
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 09f9f63..9e40b0f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -124,7 +124,7 @@ GtkGrid:insensitive {
     box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
   .entry:focus {
     border-color: #2a76c6;
-    box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.4), inset 0 0 2px 1px rgba(42, 118, 198, 0.5), 0 1px 
rgba(238, 238, 236, 0.1);
+    box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.6), inset 0 0 2px 1px rgba(42, 118, 198, 0.2), 0 1px 
rgba(238, 238, 236, 0.1);
     /* not working */ }
   .entry:selected, .entry:backdrop:selected {
     color: white;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index e5068d8..6413ab4 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -124,7 +124,7 @@ GtkGrid:insensitive {
     box-shadow: 0 1px white; }
   .entry:focus {
     border-color: #4a90d9;
-    box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.4), inset 0 0 2px 1px rgba(74, 144, 217, 0.5), 0 1px 
white;
+    box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.5), inset 0 0 2px 1px rgba(74, 144, 217, 0.2), 0 1px 
white;
     /* not working */ }
   .entry:selected, .entry:backdrop:selected {
     color: white;


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