[gnome-themes-standard] Widgets: Ephy unfocused window style fixes.



commit cab52f4c42f6990d06c47fe37804b05575f68664
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Mon Jan 16 20:19:19 2012 +0100

    Widgets: Ephy unfocused window style fixes.

 themes/Adwaita/gtk-3.0/gnome-applications.css      |   23 +++++++++++++++----
 themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css |    3 +-
 2 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index 2fd8fbb..f003a79 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -467,12 +467,14 @@ GeditStatusbar {
 
 /* epiphany */
 
-/*
-EphyLocationEntry .entry,
-EphyLocationEntry .entry:focus {
-    border-image-width: 3 0 4 3;
+EphyToolbar.toolbar {
+    border-bottom: 1 solid @borders;
+}
+
+EphyToolbar.toolbar:backdrop {
+    border-bottom: 1 solid @unfocused_borders;
 }
-*/
+
 EphyToolbar .entry,
 EphyToolbar .entry:focus,
 EphyToolbar .entry:backdrop {
@@ -484,6 +486,7 @@ EphyToolbar .entry:backdrop {
 
 EphyToolbar .location-entry .button {
     color: @internal_element_color;
+    -GtkButton-child-displacement-y: 0;
 }
 
 EphyToolbar .location-entry .button:last-child {
@@ -520,3 +523,13 @@ EphyToolbar .location-entry .button:focus,
 EphyToolbar .location-entry .button:active {
     color: @theme_text_color;
 }
+
+EphyToolbar .location-entry .button:backdrop,
+EphyToolbar .location-entry .button:hover:backdrop {
+    background-image: none;
+    background-color: @theme_unfocused_base_color;
+    box-shadow: none;
+    border-image: url("borders/generic-border-unfocused.svg") 3 3 4 3 / 3 3 4 0 stretch;
+    border-radius: 3;
+    border-width: 1 1 2 0;
+}
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
index 021f1b8..1290d66 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
@@ -100,7 +100,8 @@
 /* Unfocused window button background */
 .button:backdrop,
 .toolbar .button.raised:backdrop,
-.toolbar .raised .button:backdrop {
+.toolbar .raised .button:backdrop,
+.toolbar .button:hover:backdrop {
     background-image: none;
     background-color: @unfocused_button_background;
 }



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