[gtk+] Adwaita: checkbutton and radiobutton backdrop color fix



commit 43937c6aa0bc0966f4bb0518c443a3f212c9d300
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Mar 19 17:46:49 2016 +0100

    Adwaita: checkbutton and radiobutton backdrop color fix
    
    this sets the right backdrop color to the label insider the
    aformentined widgets.

 gtk/theme/Adwaita/_common.scss           |    2 ++
 gtk/theme/Adwaita/gtk-contained-dark.css |    2 ++
 gtk/theme/Adwaita/gtk-contained.css      |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 55ee61f..a9a64bf 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2497,6 +2497,8 @@ checkbutton.text-button, radiobutton.text-button {
     &:last-child { margin-right: 4px; }
   }
 
+  &:backdrop { color: $backdrop_fg_color; }
+
   &:disabled {
     &:active, &:indeterminate, & {
       // set insensitive color, which is overriden otherwise
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index f6f1224..ab6fbde 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2442,6 +2442,8 @@ 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:backdrop, radiobutton.text-button:backdrop {
+    color: #949796; }
   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 {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index b2a58c7..33e08fb 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2466,6 +2466,8 @@ 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:backdrop, radiobutton.text-button:backdrop {
+    color: #8b8e8f; }
   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 {


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