message-tray: Restore Fittsability of summary items

The reactive area of tray items should extend to the screen edge. This
regressed when implementing the new tray design, make it work again.

https://bugzilla.gnome.org/show_bug.cgi?id=686474
This commit is contained in:
Florian Müllner 2012-10-26 06:03:53 +02:00
parent 6f5e5672bb
commit 9396849d56

View File

@ -1200,7 +1200,6 @@ StScrollBar StButton#vhandle:active {
background: #2e3436 url(message-tray-background.png); background: #2e3436 url(message-tray-background.png);
background-repeat: repeat; background-repeat: repeat;
transition-duration: 250; transition-duration: 250;
height: 72px;
} }
#message-tray:keyboard { #message-tray:keyboard {
@ -1210,7 +1209,7 @@ StScrollBar StButton#vhandle:active {
#message-tray:overview { #message-tray:overview {
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
border-top: 1px solid rgba(128, 128, 128, 0.3); outline: 1px solid rgba(128, 128, 128, 0.3);
} }
.notification { .notification {
@ -1432,28 +1431,34 @@ StScrollBar StButton#vhandle:active {
} }
#summary-mode { #summary-mode {
padding: 0px 6px 0px 6px; /* same as the values in .summary-source */ height: 72px;
height: 60px;
spacing: 10px;
} }
.summary-source-button { .summary-source-button {
border-radius: 4px; padding: 6px 3px 6px 3px;
transition-duration: 100;
} }
.summary-source-button:hover { .summary-source-button:last-child:ltr {
padding-right: 6px;
}
.summary-source-button:last-child:rtl {
padding-left: 6px;
}
.summary-source-button:hover .summary-source {
background-color: rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.1);
} }
.summary-source-button:focus, .summary-source-button:focus .summary-source,
.summary-source-button:selected { .summary-source-button:selected .summary-source {
background-color: rgba(255,255,255,0.33); background-color: rgba(255,255,255,0.33);
} }
.summary-source { .summary-source {
padding-right: 6px; border-radius: 4px;
padding-left: 6px; padding: 0 6px 0 6px;
transition-duration: 100;
} }
.summary-source-counter { .summary-source-counter {