[gtk+] Adwaita: try to make scrollbars near paned separator usable.



commit fd53732035f4633d4c4e81e1be1a76b4dd40a8b5
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Jun 14 19:06:26 2014 +0200

    Adwaita: try to make scrollbars near paned separator usable.

 gtk/resources/theme/Adwaita/_common.scss           |    6 +++++-
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    5 ++++-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    5 ++++-
 3 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 2cdd9e6..c8bd130 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1659,7 +1659,11 @@ GtkFileChooserDialog .dialog-action-box {
 
 GtkPaned {
   // This is actually the invisible area of the paned separator, not a margin...
-  margin: 16px; //drag area of the separator
+  margin: 0 16px 16px 0; //drag area of the separator
+  &:dir(rtl) {
+    margin-right: 0;
+    margin-left: 16px;
+  }
 }
 
 .pane-separator {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 9868b87..ba4a9ac 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -2172,7 +2172,10 @@ GtkFileChooserDialog .dialog-action-box {
     color: #383e3e; }
 
 GtkPaned {
-  margin: 16px; }
+  margin: 0 16px 16px 0; }
+  GtkPaned:dir(rtl) {
+    margin-right: 0;
+    margin-left: 16px; }
 
 .pane-separator {
   background-image: linear-gradient(to bottom, #1c1f1f); }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 28dbaa1..13a1947 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -2170,7 +2170,10 @@ GtkFileChooserDialog .dialog-action-box {
     color: #dfdfdf; }
 
 GtkPaned {
-  margin: 16px; }
+  margin: 0 16px 16px 0; }
+  GtkPaned:dir(rtl) {
+    margin-right: 0;
+    margin-left: 16px; }
 
 .pane-separator {
   background-image: linear-gradient(to bottom, #a1a1a1); }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]