1 | From e96bf77bf36cd0d4f8c8a1363121225259b0b3c1 Mon Sep 17 00:00:00 2001 |
---|
2 | From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org> |
---|
3 | Date: Thu, 14 Jun 2012 18:39:05 -0300 |
---|
4 | Subject: [PATCH sugar-artwork 2/2] Theme ScrolledWindow frame - SL #3561 |
---|
5 | MIME-Version: 1.0 |
---|
6 | Content-Type: text/plain; charset=UTF-8 |
---|
7 | Content-Transfer-Encoding: 8bit |
---|
8 | Mail-Followup-To: <sugar-devel@lists.sugarlabs.org> |
---|
9 | |
---|
10 | This makes a border (the frame) visible around a ScrolledWindow, when |
---|
11 | it is set via ScrolledWindow.set_shadow_type(Gtk.ShadowType). If it's |
---|
12 | not set, the result is the same as without this patch. |
---|
13 | |
---|
14 | Signed-off-by: Manuel Quiñones <manuq@laptop.org> |
---|
15 | --- |
---|
16 | gtk3/theme/gtk-widgets.css.em | 10 ++++++++++ |
---|
17 | 1 file changed, 10 insertions(+) |
---|
18 | |
---|
19 | diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em |
---|
20 | index f31b64e..bf4ecd6 100644 |
---|
21 | --- a/gtk3/theme/gtk-widgets.css.em |
---|
22 | +++ b/gtk3/theme/gtk-widgets.css.em |
---|
23 | @@ -252,6 +252,16 @@ GtkToggleButton.button:active GtkLabel { |
---|
24 | color: @black; |
---|
25 | } |
---|
26 | |
---|
27 | +/* Frames */ |
---|
28 | + |
---|
29 | +GtkScrolledWindow.frame { |
---|
30 | + border-style: solid; |
---|
31 | + border-color: @selection_grey; |
---|
32 | + border-width: $(thickness)px; |
---|
33 | + border-radius: 0; |
---|
34 | + padding: $(default_padding)px; |
---|
35 | +} |
---|
36 | + |
---|
37 | /* Combo boxes */ |
---|
38 | |
---|
39 | GtkComboBox * { |
---|
40 | -- |
---|
41 | 1.7.10.1 |
---|
42 | |
---|