Ticket #3561: 0002-Theme-ScrolledWindow-frame-SL-3561.patch-2

File 0002-Theme-ScrolledWindow-frame-SL-3561.patch-2, 1.2 KB (added by manuq, 12 years ago)

Second version of the ScrolledWindow frame styled.

Line 
1From e96bf77bf36cd0d4f8c8a1363121225259b0b3c1 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
3Date: Thu, 14 Jun 2012 18:39:05 -0300
4Subject: [PATCH sugar-artwork 2/2] Theme ScrolledWindow frame - SL #3561
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
9
10This makes a border (the frame) visible around a ScrolledWindow, when
11it is set via ScrolledWindow.set_shadow_type(Gtk.ShadowType).  If it's
12not set, the result is the same as without this patch.
13
14Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15---
16 gtk3/theme/gtk-widgets.css.em |   10 ++++++++++
17 1 file changed, 10 insertions(+)
18
19diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
20index 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--
411.7.10.1
42