[Sugar-devel] [PATCH sugar-artwork 4/4] Set correct border-color for entries - SL #3389
Manuel Quiñones
manuq at laptop.org
Mon Sep 3 23:50:43 EDT 2012
Now the entries in the toolbar have a border color that is the same as
the background color, looking like in GTK2. Entries with a
progressbar inside, like Browse activity URL entry, now have the same
style than in GTK2, with an outline. See images attached to the
ticket for reference.
Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
gtk3/theme/gtk-widgets.css.em | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 5606f8b..2f3e7fe 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -219,7 +219,7 @@ GtkTreeView row:nth-child(odd) {
.entry {
border-radius: $(2 * subcell_size)px;
border-width: $(thickness)px;
- border-color: @selection_grey;
+ border-color: @text_field_grey;
border-style: solid;
background-color: @text_field_grey;
color: @black;
@@ -238,10 +238,18 @@ GtkTreeView row:nth-child(odd) {
background-color: @white;
}
+.toolbar .entry:focused {
+ border-color: @white;
+}
+
.entry:insensitive, .view:insensitive {
background-color: @button_grey;
}
+.entry:insensitive {
+ border-color: @button_grey;
+}
+
.view:selected {
background-color: @panel_grey;
color: @black;
@@ -253,6 +261,10 @@ GtkTreeView row:nth-child(odd) {
color: @black;
}
+.entry:selected, .entry:selected:focused {
+ border-color: @selection_grey;
+}
+
/* Frames */
GtkScrolledWindow.frame {
--
1.7.11.4
More information about the Sugar-devel
mailing list