Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhoran committed May 11, 2016
2 parents 72297b3 + c8abdc5 commit 8e650e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/streamMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ const MPRISStream = new Lang.Class({
this._albumArt.hide();

this.actor.set_vertical(false);
this.actor.add_style_pseudo_class('alone');
this._metaDisplay.add_style_pseudo_class('alone');
this._playBtn.add_style_pseudo_class('alone');
this._volCtrl.add_style_pseudo_class('alone');
Expand Down Expand Up @@ -780,13 +781,15 @@ const MPRISStream = new Lang.Class({
this._albumArt.hide();

this.actor.set_vertical(false);
this.actor.add_style_pseudo_class('alone');
this._metaDisplay.add_style_pseudo_class('alone');
this._playBtn.add_style_pseudo_class('alone');
this._volCtrl.add_style_pseudo_class('alone');
}
else {

this.actor.set_vertical(true);
this.actor.remove_style_pseudo_class('alone');
this._metaDisplay.remove_style_pseudo_class('alone');
this._playBtn.remove_style_pseudo_class('alone');
this._volCtrl.remove_style_pseudo_class('alone');
Expand Down
4 changes: 4 additions & 0 deletions src/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,12 @@
background-gradient-direction: vertical;
}

.mpris-stream:active-top:alone,
.mpris-stream:active{
background:rgb(74,80,80);
background-gradient-start: none;
background-gradient-end: none;
background-gradient-direction: none;
}

.mpris-stream:active-bottom{
Expand Down

0 comments on commit 8e650e5

Please sign in to comment.