diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 4cd62091b..af8eb70f2 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -134,18 +134,22 @@ StTooltip { /* Overlay */ .info-bar { - border-radius: 3px; - border: 1px solid #5c5c5c; - background: #1e1e1e; color: #cccccc; font-size: 14px; - height: 26px; + spacing: 8px; } .info-bar-panel { padding: 11px; } +.info-bar-panel > StBin { + border-radius: 3px; + border: 1px solid #5c5c5c; + background: #1e1e1e; + height: 26px; +} + .info-bar-link-button { text-decoration: underline; } diff --git a/js/ui/overview.js b/js/ui/overview.js index 008bebd08..8f9a8950b 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -95,14 +95,13 @@ InfoBar.prototype = { this._undo = new St.Button({ label: _('Undo'), style_class: 'info-bar-link-button' }); - let bin = new St.Bin({ style_class: 'info-bar', - x_fill: false, + let bin = new St.Bin({ x_fill: false, y_fill: false, x_align: St.Align.MIDDLE, y_align: St.Align.MIDDLE }); this.actor.set_child(bin); - let box = new St.BoxLayout(); + let box = new St.BoxLayout({ style_class: 'info-bar' }); bin.set_child(box); this._timeoutId = 0; @@ -171,7 +170,7 @@ InfoBar.prototype = { this._timeout = false; this._overviewWasHidden = false; - this._label.text = text + ' '; + this._label.text = text; Tweener.addTween(this.actor, { opacity: 255,