[gnome-themes-standard] widgets: avoid double borders for viewports inside scrolled windows
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] widgets: avoid double borders for viewports inside scrolled windows
- Date: Mon, 30 Apr 2012 22:49:05 +0000 (UTC)
commit b1d848661db04095bfc20bc7c7ef91a96f637b00
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 30 18:48:32 2012 -0400
widgets: avoid double borders for viewports inside scrolled windows
Both render a frame, so remove the inner viewport frame.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 19cffbb..1d70c1b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -704,6 +704,12 @@ GtkScrolledWindow.frame:backdrop {
border-color: @unfocused_borders;
}
+/* avoid double borders when a viewport is
+ * packed into a GtkScrolledWindow */
+GtkScrolledWindow GtkViewport.frame {
+ border-style: none;
+}
+
/***********
* Buttons *
***********/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]