[kupfer] ui: Reduce bezel opacity



commit fa077f77331cb28839a18ac7fbc16db9f6f5e583
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sun Mar 20 20:15:19 2011 +0100

    ui: Reduce bezel opacity
    
    The ui looks more natural in both neutral and overriden dark theme if
    the bezel is more transparent. The Icon drawn on top of the bezel is
    still always opaque.

 Documentation/GTKTheming.rst |    2 +-
 kupfer/plugin/darkstyle.py   |    2 +-
 kupfer/ui/browser.py         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Documentation/GTKTheming.rst b/Documentation/GTKTheming.rst
index 4494a7c..8f7565c 100644
--- a/Documentation/GTKTheming.rst
+++ b/Documentation/GTKTheming.rst
@@ -65,7 +65,7 @@ The following example style includes inline comments::
         ## The MatchView is the bezel around each pane in the interface
 
         MatchView :: corner-radius = 15
-        MatchView :: opacity = 90
+        MatchView :: opacity = 70
 
         ## The KupferWindow is the whole main window
         KupferWindow :: corner-radius = 15
diff --git a/kupfer/plugin/darkstyle.py b/kupfer/plugin/darkstyle.py
index 3bcca39..d90081a 100644
--- a/kupfer/plugin/darkstyle.py
+++ b/kupfer/plugin/darkstyle.py
@@ -51,7 +51,7 @@ style "dark"
 ## These are UI Widget style properties with their approximate
 ## default values. These can all be overidden in the theme.
 ## MatchView :: corner-radius = 15
-## MatchView :: opacity = 90
+## MatchView :: opacity = 70
 ## KupferWindow :: corner-radius = 15
 ## KupferWindow :: opacity = 80
 ## KupferWindow :: decorated = 0
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index dedffaf..0054dfa 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -493,7 +493,7 @@ gtk.widget_class_install_style_property(MatchView,
 gtk.widget_class_install_style_property(MatchView,
 		('opacity', gobject.TYPE_INT, 'Bezel opacity',
 		 'Opacity of bezel around match',
-		 50, 100, 90,
+		 50, 100, 70,
 		 gobject.PARAM_READABLE))
 
 class Search (gtk.Bin):



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