[gtk+] Adwaita: clean up checkbutton and radiobutton styling



commit 38211ff800398376895eabede0012d596f2ce070
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Mar 19 18:59:29 2016 +0100

    Adwaita: clean up checkbutton and radiobutton styling
    
    some superfluous selectors there since generic label styling was
    broken.

 gtk/theme/Adwaita/_common.scss           |    9 ---------
 gtk/theme/Adwaita/gtk-contained-dark.css |    4 ----
 gtk/theme/Adwaita/gtk-contained.css      |    4 ----
 3 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index e2d4d37..d7c0485 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2504,15 +2504,6 @@ checkbutton.text-button, radiobutton.text-button {
     &:first-child { margin-left: 4px; }
     &:last-child { margin-right: 4px; }
   }
-
-  &:disabled {
-    &:active, &:indeterminate, & {
-      // set insensitive color, which is overriden otherwise
-      color: $insensitive_fg_color;
-
-      &:backdrop { color: $backdrop_insensitive_color; }
-    }
-  }
 }
 
 check,
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 0e8259a..eeee146 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2522,10 +2522,6 @@ checkbutton.text-button, radiobutton.text-button {
     margin-left: 4px; }
   checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button 
label:not(:only-child):last-child {
     margin-right: 4px; }
-  checkbutton.text-button:disabled:active, checkbutton.text-button:disabled:indeterminate, 
checkbutton.text-button:disabled, radiobutton.text-button:disabled:active, 
radiobutton.text-button:disabled:indeterminate, radiobutton.text-button:disabled {
-    color: #949796; }
-    checkbutton.text-button:disabled:active:backdrop, 
checkbutton.text-button:disabled:indeterminate:backdrop, checkbutton.text-button:disabled:backdrop, 
radiobutton.text-button:disabled:active:backdrop, radiobutton.text-button:disabled:indeterminate:backdrop, 
radiobutton.text-button:disabled:backdrop {
-      color: #5d6767; }
 
 check,
 radio {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 2d9a81b..91e4d76 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2546,10 +2546,6 @@ checkbutton.text-button, radiobutton.text-button {
     margin-left: 4px; }
   checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button 
label:not(:only-child):last-child {
     margin-right: 4px; }
-  checkbutton.text-button:disabled:active, checkbutton.text-button:disabled:indeterminate, 
checkbutton.text-button:disabled, radiobutton.text-button:disabled:active, 
radiobutton.text-button:disabled:indeterminate, radiobutton.text-button:disabled {
-    color: #8b8e8f; }
-    checkbutton.text-button:disabled:active:backdrop, 
checkbutton.text-button:disabled:indeterminate:backdrop, checkbutton.text-button:disabled:backdrop, 
radiobutton.text-button:disabled:active:backdrop, radiobutton.text-button:disabled:indeterminate:backdrop, 
radiobutton.text-button:disabled:backdrop {
-      color: #c3c3c0; }
 
 check,
 radio {


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