From b130ea70de1fa4333b7691bd8fe5b4b92415bcd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Tue, 4 Sep 2012 00:36:30 -0300
Subject: [PATCH sugar-artwork 4/4] Set correct border-color for entries - SL
#3389
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
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@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
|
b
|
GtkTreeView row:nth-child(odd) { |
219 | 219 | .entry { |
220 | 220 | border-radius: $(2 * subcell_size)px; |
221 | 221 | border-width: $(thickness)px; |
222 | | border-color: @selection_grey; |
| 222 | border-color: @text_field_grey; |
223 | 223 | border-style: solid; |
224 | 224 | background-color: @text_field_grey; |
225 | 225 | color: @black; |
… |
… |
GtkTreeView row:nth-child(odd) { |
238 | 238 | background-color: @white; |
239 | 239 | } |
240 | 240 | |
| 241 | .toolbar .entry:focused { |
| 242 | border-color: @white; |
| 243 | } |
| 244 | |
241 | 245 | .entry:insensitive, .view:insensitive { |
242 | 246 | background-color: @button_grey; |
243 | 247 | } |
244 | 248 | |
| 249 | .entry:insensitive { |
| 250 | border-color: @button_grey; |
| 251 | } |
| 252 | |
245 | 253 | .view:selected { |
246 | 254 | background-color: @panel_grey; |
247 | 255 | color: @black; |
… |
… |
GtkTreeView row:nth-child(odd) { |
253 | 261 | color: @black; |
254 | 262 | } |
255 | 263 | |
| 264 | .entry:selected, .entry:selected:focused { |
| 265 | border-color: @selection_grey; |
| 266 | } |
| 267 | |
256 | 268 | /* Frames */ |
257 | 269 | |
258 | 270 | GtkScrolledWindow.frame { |