[Overview] Make background color stylable
https://bugzilla.gnome.org/show_bug.cgi?id=609401
This commit is contained in:
parent
da1d43fc61
commit
2a2b597e09
@ -140,6 +140,10 @@ StTooltip {
|
||||
|
||||
/* Overlay */
|
||||
|
||||
.overview {
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.info-bar {
|
||||
color: #cccccc;
|
||||
font-size: 14px;
|
||||
@ -263,7 +267,6 @@ StTooltip {
|
||||
#dash {
|
||||
color: #5f5f5f;
|
||||
font-size: 12px;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
padding: 0px 14px;
|
||||
}
|
||||
|
||||
|
@ -21,9 +21,6 @@ const Dash = imports.ui.dash;
|
||||
const Tweener = imports.ui.tweener;
|
||||
const WorkspacesView = imports.ui.workspacesView;
|
||||
|
||||
const ROOT_OVERVIEW_COLOR = new Clutter.Color();
|
||||
ROOT_OVERVIEW_COLOR.from_pixel(0x000000ff);
|
||||
|
||||
// Time for initial animation going into Overview mode
|
||||
const ANIMATION_TIME = 0.25;
|
||||
|
||||
@ -194,7 +191,7 @@ function Overview() {
|
||||
|
||||
Overview.prototype = {
|
||||
_init : function() {
|
||||
this._group = new Clutter.Group();
|
||||
this._group = new St.BoxLayout({ style_class: 'overview' });
|
||||
this._group._delegate = this;
|
||||
|
||||
this.infoBar = new InfoBar();
|
||||
@ -226,7 +223,7 @@ Overview.prototype = {
|
||||
this._group.add_actor(this._transparentBackground);
|
||||
|
||||
// Background color for the Overview
|
||||
this._backOver = new Clutter.Rectangle({ color: ROOT_OVERVIEW_COLOR });
|
||||
this._backOver = new St.Label();
|
||||
this._group.add_actor(this._backOver);
|
||||
|
||||
this._group.hide();
|
||||
|
Loading…
Reference in New Issue
Block a user