This makes a border (the frame) visible around a ScrolledWindow, when
it is set via ScrolledWindow.set_shadow_type(Gtk.ShadowType).  If it's
not set, the result is the same as without this patch.

Signed-off-by: Manuel Quiñones <ma...@laptop.org>
---
 gtk3/theme/gtk-widgets.css.em |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index f31b64e..2a5e34a 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -252,6 +252,16 @@ GtkToggleButton.button:active GtkLabel {
     color: @black;
 }
 
+/* Frames */
+
+GtkScrolledWindow.frame {
+    border-style: solid;
+    border-color: @selection_grey;
+    border-width: $(thickness)px;
+    border-radius: 0;
+    padding: 0;
+}
+
 /* Combo boxes */
 
 GtkComboBox * {
-- 
1.7.10.1

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to