[gtk+] Adwaita: widget edge for inline toolbars



commit fc09560d13674310d5c6dc4080a3c830ee66013d
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Aug 13 14:27:31 2014 +0200

    Adwaita: widget edge for inline toolbars

 gtk/resources/theme/Adwaita/_common.scss           |    3 ++-
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index c2ca089..9a7d314 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -805,7 +805,8 @@ GtkComboBox {
   border-color: $borders_color;
   $_bg: mix($bg_color, $borders_color, 70%);
   background-color: $_bg;
-  box-shadow: inset 0 2px 3px -1px mix($borders_color, $_bg, 60%);
+  box-shadow: inset 0 2px 3px -1px mix($borders_color, $_bg, 60%),
+              $widget_edge;
   //FIXME edge would be nice, but doesn't work
   &:backdrop {
     border-color: $backdrop_borders_color;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index d90e5b1..791ba9e 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -882,7 +882,7 @@ GtkComboBox {
   border-style: solid;
   border-color: #1c1f1f;
   background-color: #303535;
-  box-shadow: inset 0 2px 3px -1px #242727; }
+  box-shadow: inset 0 2px 3px -1px #242727, 0 1px rgba(238, 238, 236, 0.1); }
   .inline-toolbar:backdrop, .search-bar:backdrop {
     border-color: #1e2222;
     background-color: #2f3434;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index e8b05cc..e023e81 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -874,7 +874,7 @@ GtkComboBox {
   border-style: solid;
   border-color: #a1a1a1;
   background-color: #d6d6d6;
-  box-shadow: inset 0 2px 3px -1px #b6b6b6; }
+  box-shadow: inset 0 2px 3px -1px #b6b6b6, 0 1px white; }
   .inline-toolbar:backdrop, .search-bar:backdrop {
     border-color: #a8a8a8;
     background-color: #d4d4d4;


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