forked from AuroraMiddleware/gtk
GtkCssProvider: Base prelight foreground on bg color.
Entries are also handled, so base/text colors are used.
This commit is contained in:
parent
de94d04fea
commit
9567ed01e8
@ -3157,8 +3157,8 @@ gtk_css_provider_get_default (void)
|
|||||||
"}\n"
|
"}\n"
|
||||||
"\n"
|
"\n"
|
||||||
"*:insensitive {\n"
|
"*:insensitive {\n"
|
||||||
" background-color: shade (@bg_color, 0.7);\n"
|
" background-color: shade (@bg_color, 0.9);\n"
|
||||||
" color: shade (@fg_color, 0.7);\n"
|
" color: shade (@bg_color, 0.7);\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\n"
|
"\n"
|
||||||
"GtkTreeView, GtkIconView, GtkTextView {\n"
|
"GtkTreeView, GtkIconView, GtkTextView {\n"
|
||||||
@ -3210,6 +3210,11 @@ gtk_css_provider_get_default (void)
|
|||||||
" color: @text_color;\n"
|
" color: @text_color;\n"
|
||||||
"}\n"
|
"}\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"
|
".progressbar,\n"
|
||||||
".entry.progressbar {\n"
|
".entry.progressbar {\n"
|
||||||
" background-color: @selected_bg_color;\n"
|
" background-color: @selected_bg_color;\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user