[gnome-shell-sass] mpris: Make forward/backward insensitive when unavailable



commit 671023a8b333f027d8c88fca9963b11581c10a70
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Feb 26 04:13:28 2017 +0100

    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

 _common.scss |    1 +
 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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]