message-tray: use a style class for summary-mode actor
We want to use the same style class for the message tray ghost. https://bugzilla.gnome.org/show_bug.cgi?id=690174
This commit is contained in:
parent
783abd4f5f
commit
bdf0a6fd0b
@ -1309,6 +1309,10 @@ StScrollBar StButton#vhandle:active {
|
||||
outline: 1px solid rgba(128, 128, 128, 0.3);
|
||||
}
|
||||
|
||||
.message-tray-summary {
|
||||
height: 72px;
|
||||
}
|
||||
|
||||
.no-messages-label {
|
||||
font-family: cantarell, sans-serif;
|
||||
font-size: 11pt;
|
||||
@ -1537,10 +1541,6 @@ StScrollBar StButton#vhandle:active {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#summary-mode {
|
||||
height: 72px;
|
||||
}
|
||||
|
||||
.summary-source-button {
|
||||
padding: 6px 3px 6px 3px;
|
||||
}
|
||||
|
@ -1412,7 +1412,7 @@ const MessageTray = new Lang.Class({
|
||||
actor.grab_key_focus();
|
||||
}));
|
||||
global.focus_manager.add_group(this.actor);
|
||||
this._summary = new St.BoxLayout({ name: 'summary-mode',
|
||||
this._summary = new St.BoxLayout({ style_class: 'message-tray-summary',
|
||||
reactive: true,
|
||||
track_hover: true,
|
||||
x_align: Clutter.ActorAlign.END,
|
||||
|
Loading…
Reference in New Issue
Block a user