summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2017-02-26 04:13:28 +0100
committerFlorian Müllner <fmuellner@gnome.org>2017-02-27 22:28:50 +0100
commit671023a8b333f027d8c88fca9963b11581c10a70 (patch)
tree31a06e420467918e491fd2e1c9673a7eeb374f9b
parenta172894788ec73c82be9aa6d29243809fdb0111d (diff)
downloadgnome-shell-sass-671023a8b333f027d8c88fca9963b11581c10a70.tar.gz
mpris: Make forward/backward insensitive when unavailable
Media notifications currently always show the forward and backward buttons as clickable, regardless of whether the corresponding action is available or not. Media players usually address this by rendering controls insensitive in this case, so do the same here. https://bugzilla.gnome.org/show_bug.cgi?id=773884
-rw-r--r--_common.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/_common.scss b/_common.scss
index 4c58db3..9df44c7 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1045,6 +1045,7 @@ StScrollBar {
&:last-child:ltr { padding-right: 18px; }
&:last-child:rtl { padding-left: 18px; }
+ &:insensitive { color: darken($fg_color,40%); }
}
.media-message-cover-icon {