Fix checkbuttons theming in CSS so it's more similar to 2.x

This commit is contained in:
Carlos Garnacho 2010-11-19 19:20:12 +01:00
parent 7478a77b04
commit 84d586043e

View File

@ -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"