Combine notifications and the summary mode in a single message tray

We should either be showing the message tray in the notification or the summary mode.
This is best achieved if the message tray actor contains both, and either one is shown
at any given time.

Queue notifications so that each queued notification is shown when the previous one
times out or when the user is done interacting with the message tray and moves
the mouse away from it. (In the future, we will have some sort of an indication that
there are queued notifications and a way to have the next notification displayed
without moving the mouse away from the message tray.)
This commit is contained in:
Marina Zhurakhinskaya
2010-01-06 16:27:08 -05:00
parent 09653fbaf6
commit 4ab513ca77
2 changed files with 92 additions and 81 deletions

View File

@@ -473,25 +473,24 @@ StTooltip {
}
/* Message Tray */
#message-tray {
background-gradient-direction: vertical;
background-gradient-start: rgba(0,0,0,0.01);
background-gradient-end: rgba(0,0,0,0.95);
height: 28px;
}
#notification {
border-radius: 5px;
background: rgba(0,0,0,0.9);
border: 1px solid rgba(128,128,128,0.45);
color: white;
padding: 4px;
padding: 2px 10px;
spacing: 10px;
}
#message-tray {
border-radius: 5px;
background: rgba(0,0,0,0.9);
border: 1px solid rgba(128,128,128,0.45);
padding: 4px;
height: 40px;
}
#message-tray-inner {
#summary-mode {
spacing: 10px;
padding: 2px 4px;
}
/* App Switcher */