[gtk+] Raleigh: Fix entry selection colors



commit 334668a18370e294a485c3ecbb3d70ce109709c3
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Feb 23 15:16:57 2012 +0100

    Raleigh: Fix entry selection colors

 gtk/gtk-default.css |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtk-default.css b/gtk/gtk-default.css
index 8c0eb42..023139f 100644
--- a/gtk/gtk-default.css
+++ b/gtk/gtk-default.css
@@ -27,11 +27,6 @@ GtkWindow, .button, .slider {
   background-color: @bg_color;
 }
 
-*:selected {
-  background-color: @selected_bg_color;
-  color: @selected_fg_color;
-}
-
 .expander, GtkTreeView.view.expander {
   color: #fff;
 }
@@ -51,6 +46,16 @@ GtkTreeView.view.expander:selected:hover {
   color: shade (@bg_color, 0.7);
 }
 
+.entry:selected {
+  background-color: shade (@bg_color, 0.9);
+  color: @fg_color;
+}
+
+.entry:selected:focused {
+  background-color: @selected_bg_color;
+  color: @selected_fg_color;
+}
+
 .view {
   border-width: 0;
   border-radius: 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]