[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
This commit is contained in:
Dan Winship 2010-08-05 10:39:05 -04:00
parent 1f7f3715cc
commit 597cd9c7ab

View File

@ -938,14 +938,9 @@ StTooltip {
* icons, because then the summary would be 0x0 when there were no * 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 * icons in it, and so you wouldn't be able to hover over it to
* activate it. * 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 { #summary-mode {
spacing: 6px; padding: 2px 0px 0px 4px;
padding: 2px 12px 0px 4px;
height: 36px; height: 36px;
} }
@ -953,6 +948,15 @@ StTooltip {
spacing: 4px; spacing: 4px;
} }
.summary-source-button {
padding-left: 3px;
padding-right: 3px;
}
.summary-source-button:last-child {
padding-right: 12px;
}
.source-title { .source-title {
font: 12px sans-serif; font: 12px sans-serif;
font-weight: bold; font-weight: bold;