summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkcssprovider.c21
1 files changed, 19 insertions, 2 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 05728c8c71..666fb6ed49 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3216,9 +3216,26 @@ gtk_css_provider_get_default (void)
" border-color: shade (@selected_bg_color, 0.7);\n"
"}\n"
"\n"
- ".check, .radio {\n"
+ "GtkCheckButton:hover,\n"
+ "GtkCheckButton:selected,\n"
+ "GtkRadioButton:hover,\n"
+ "GtkRadioButton:selected {\n"
+ " background-color: lighter (@bg_color);\n"
+ "}\n"
+ "\n"
+ ".check, .radio,\n"
+ ".check:active, .radio:active,\n"
+ ".check:hover, .radio:hover {\n"
" background-color: @base_color;\n"
- " color: @text_color;\n"
+ " border-color: @fg_color;\n"
+ " color: @text_color;\n"
+ " border-style: solid;\n"
+ " border-width: 1;\n"
+ "}\n"
+ "\n"
+ ".check:selected, .radio:selected {\n"
+ " background-color: @selected_bg_color;\n"
+ " color: @selected_fg_color;\n"
"}\n"
"\n"
".menu.check, .menu.radio {\n"