GtkCssProvider: Base prelight foreground on bg color.

Entries are also handled, so base/text colors are used.
This commit is contained in:
Carlos Garnacho 2010-11-19 22:46:07 +01:00
parent de94d04fea
commit 9567ed01e8

View File

@ -3157,8 +3157,8 @@ gtk_css_provider_get_default (void)
"}\n"
"\n"
"*:insensitive {\n"
" background-color: shade (@bg_color, 0.7);\n"
" color: shade (@fg_color, 0.7);\n"
" background-color: shade (@bg_color, 0.9);\n"
" color: shade (@bg_color, 0.7);\n"
"}\n"
"\n"
"GtkTreeView, GtkIconView, GtkTextView {\n"
@ -3210,6 +3210,11 @@ gtk_css_provider_get_default (void)
" color: @text_color;\n"
"}\n"
"\n"
".entry:insensitive {\n"
" background-color: shade (@base_color, 0.9);\n"
" color: shade (@base_color, 0.7);\n"
"}\n"
"\n"
".progressbar,\n"
".entry.progressbar {\n"
" background-color: @selected_bg_color;\n"