diff --git a/src/streamMenu.js b/src/streamMenu.js index 8b0ef0b..53a4f7d 100644 --- a/src/streamMenu.js +++ b/src/streamMenu.js @@ -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'); @@ -780,6 +781,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'); @@ -787,6 +789,7 @@ const MPRISStream = new Lang.Class({ 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'); diff --git a/src/stylesheet.css b/src/stylesheet.css index 2dcf1c2..bebdbc9 100644 --- a/src/stylesheet.css +++ b/src/stylesheet.css @@ -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{