[gnome-shell] style: Fix focused app view controls



commit c17f84ca23445d9640ff7cf178e14a792afd9332
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jul 6 01:35:58 2013 +0200

    style: Fix focused app view controls
    
    Moving from fixed width to horizontal padding for the app view control
    buttons broke the focus style, in that buttons may change size on
    keyboard focus changes. Fix this by using the correct horizontal padding
    when focused.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703807

 data/theme/gnome-shell.css |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 765894a..a2278c5 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -327,10 +327,6 @@ StScrollBar StButton#vhandle:active {
     border-width: 2px;
 }
 
-.app-view-control:focus {
-    padding: 3px;
-}
-
 .app-view-control:first-child:ltr:focus,
 .app-view-control:last-child:rtl:focus {
     border-right-width: 1px;
@@ -911,6 +907,11 @@ StScrollBar StButton#vhandle:active {
     padding: 4px 32px;
 }
 
+.app-view-control:focus {
+    padding: 3px 31px;
+}
+
+
 .search-display > StBoxLayout,
 .all-apps > StBoxLayout,
 .frequent-apps > StBoxLayout {


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