CSS styles for the selection in a TextView.

https://bugzilla.gnome.org/show_bug.cgi?id=639106
This commit is contained in:
Paolo Borelli 2011-01-09 23:10:47 +01:00
parent 2290ec6bd8
commit c5a8584c3e

View File

@ -3647,6 +3647,15 @@ gtk_css_provider_get_default (void)
" background-color: @base_color;\n" " background-color: @base_color;\n"
" color: @text_color;\n" " color: @text_color;\n"
"}\n" "}\n"
".view:selected {\n"
" background-color: shade (@bg_color, 0.9);\n"
" color: @fg_color;\n"
"}\n"
"\n"
".view:selected:focused {\n"
" background-color: @selected_bg_color;\n"
" color: @selected_fg_color;\n"
"}\n"
"\n" "\n"
"GtkTreeView > row {\n" "GtkTreeView > row {\n"
" background-color: @base_color;\n" " background-color: @base_color;\n"