[gnome-shell] [messageTray] fix padding/spacing around summary items



commit 597cd9c7abd5e4531ad3c7886d2e2261da42e1c1
Author: Dan Winship <danw gnome org>
Date:   Thu Aug 5 10:39:05 2010 -0400

    [messageTray] fix padding/spacing around summary items
    
    The space between the rightmost item and the edge of the screen should
    be considered part of the rightmost item, and the space between items
    should be considered part of the adjacent items, to prevent excess
    jitter when moving between them.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=626112

 data/theme/gnome-shell.css |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index d24d719..c141029 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -938,14 +938,9 @@ StTooltip {
  * icons, because then the summary would be 0x0 when there were no
  * icons in it, and so you wouldn't be able to hover over it to
  * activate it.
- *
- * The padding-right on the non-rightmost icons is noticeable and
- * slightly annoying. If StBoxLayout implemented the ":last-child"
- * pseudo-class we could fix that...
  */
 #summary-mode {
-    spacing: 6px;
-    padding: 2px 12px 0px 4px;
+    padding: 2px 0px 0px 4px;
     height: 36px;
 }
 
@@ -953,6 +948,15 @@ StTooltip {
     spacing: 4px;
 }
 
+.summary-source-button {
+    padding-left: 3px;
+    padding-right: 3px;
+}
+
+.summary-source-button:last-child {
+    padding-right: 12px;
+}
+
 .source-title {
     font: 12px sans-serif;
     font-weight: bold;



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