[gtk+/gtk-3-12] W32: remove the blue "selected" rectangle when activating a checkbutton



commit fff108dd0a88a31b901c899f11514e4e2836574b
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Wed Apr 23 15:57:24 2014 +0000

    W32: remove the blue "selected" rectangle when activating a checkbutton
    
    https://bugzilla.gnome.org/show_bug.cgi?id=728806

 gtk/resources/theme/gtk-win32-base.css |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css
index a70a8d4..701c3fc 100644
--- a/gtk/resources/theme/gtk-win32-base.css
+++ b/gtk/resources/theme/gtk-win32-base.css
@@ -153,6 +153,12 @@ GtkAssistant .sidebar .highlight {
 
 /* Check buttons */
 
+/* Prevent selected check/radio buttons from getting the "selected" blue background */
+GtkCheckButton:prelight:selected,
+GtkRadioButton:prelight:selected {
+  background-color: transparent;
+}
+
 /* This is meaningless, it just enables prelight propagation to check/radio mark */
 GtkCheckButton:prelight,
 GtkRadioButton:prelight {


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