From 04b7d110accf668451f0173ffec6ccdc9612a7a4 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Sat, 20 Dec 2014 03:23:56 +0530 Subject: [PATCH] Lighter separators --- gtk-3.0/scss/_functions.scss | 4 ++-- gtk-3.0/scss/apps/_gnome-applications.scss | 6 +++--- gtk-3.0/scss/widgets/_button.scss | 4 ++-- gtk-3.0/scss/widgets/_choosers.scss | 2 +- gtk-3.0/scss/widgets/_menu.scss | 2 +- gtk-3.0/scss/widgets/_osd.scss | 2 +- gtk-3.0/scss/widgets/_toolbar.scss | 2 +- gtk-3.0/scss/widgets/_view.scss | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gtk-3.0/scss/_functions.scss b/gtk-3.0/scss/_functions.scss index 1986d84..9ea3a1b 100755 --- a/gtk-3.0/scss/_functions.scss +++ b/gtk-3.0/scss/_functions.scss @@ -35,11 +35,11 @@ $modules: () !default; } @function border_active($color) { - @return shade($color, ($contrast - .10)); + @return shade($color, ($contrast - .1)); } @function border_insensitive($color) { - @return shade($color, ($contrast + .10)); + @return shade($color, ($contrast + .1)); } @mixin linear-gradient($color, $direction: to bottom) { diff --git a/gtk-3.0/scss/apps/_gnome-applications.scss b/gtk-3.0/scss/apps/_gnome-applications.scss index 91c4f34..f2679f6 100644 --- a/gtk-3.0/scss/apps/_gnome-applications.scss +++ b/gtk-3.0/scss/apps/_gnome-applications.scss @@ -106,7 +106,7 @@ border-style: solid; &, &:hover { - border-color: shade($bg_color, ($contrast + .10)); + border-color: shade($bg_color, ($contrast + .1)); background-color: $bg_color; } } @@ -165,7 +165,7 @@ border-style: solid; &, &:hover { - border-color: shade($bg_color, ($contrast + .10)); + border-color: shade($bg_color, ($contrast + .1)); background-color: $bg_color; } } @@ -211,7 +211,7 @@ .gedit-document-panel-group-row { &, &:hover { - border-top: 1px solid shade($bg_color, ($contrast + .10)); + border-top: 1px solid shade($bg_color, ($contrast + .1)); background-color: $bg_color; } } diff --git a/gtk-3.0/scss/widgets/_button.scss b/gtk-3.0/scss/widgets/_button.scss index 5ddeb6c..1b353b4 100755 --- a/gtk-3.0/scss/widgets/_button.scss +++ b/gtk-3.0/scss/widgets/_button.scss @@ -150,7 +150,7 @@ &.separator, .separator { border: 1px solid currentColor; - color: shade($bg, ($contrast + .05)); + color: shade($bg, ($contrast + .1)); &:insensitive { color: shade($bg, .85); } } @@ -222,7 +222,7 @@ &:hover { border-color: shade($bg_color, 0.7); - background-color: shade($bg_color, 1.10); + background-color: shade($bg_color, 1.1); background-image: none; } diff --git a/gtk-3.0/scss/widgets/_choosers.scss b/gtk-3.0/scss/widgets/_choosers.scss index 82c1283..6b00d52 100644 --- a/gtk-3.0/scss/widgets/_choosers.scss +++ b/gtk-3.0/scss/widgets/_choosers.scss @@ -111,7 +111,7 @@ border-style: solid; border-color: currentColor; background-color: $bg_color; - color: border_normal($bg_color); + color: shade($bg_color, ($contrast + .1)); } } diff --git a/gtk-3.0/scss/widgets/_menu.scss b/gtk-3.0/scss/widgets/_menu.scss index e5f6cfb..8d0bdf7 100755 --- a/gtk-3.0/scss/widgets/_menu.scss +++ b/gtk-3.0/scss/widgets/_menu.scss @@ -109,7 +109,7 @@ -GtkWidget-separator-height: 1; border-style: none; - color: shade($menu_bg_color, .9); + color: shade($menu_bg_color, ($contrast + .1)); } &.button { diff --git a/gtk-3.0/scss/widgets/_osd.scss b/gtk-3.0/scss/widgets/_osd.scss index c1cc404..178283d 100644 --- a/gtk-3.0/scss/widgets/_osd.scss +++ b/gtk-3.0/scss/widgets/_osd.scss @@ -33,7 +33,7 @@ GtkOverlay.osd { background-image: none; color: $osd_fg; - .separator { color: shade($osd_bg, 0.9); } + .separator { color: shade($osd_bg, ($contrast + .1)); } } /* used by gnome-settings-daemon's media-keys OSD */ diff --git a/gtk-3.0/scss/widgets/_toolbar.scss b/gtk-3.0/scss/widgets/_toolbar.scss index 057f817..c9d37c2 100755 --- a/gtk-3.0/scss/widgets/_toolbar.scss +++ b/gtk-3.0/scss/widgets/_toolbar.scss @@ -41,7 +41,7 @@ } GtkSeparatorToolItem, .separator, .separator:insensitive { - color: border_normal($bg); + color: shade($bg, ($contrast + .1)); border-color: currentColor; -GtkWidget-window-dragging: true; diff --git a/gtk-3.0/scss/widgets/_view.scss b/gtk-3.0/scss/widgets/_view.scss index 6a96596..2febe0a 100644 --- a/gtk-3.0/scss/widgets/_view.scss +++ b/gtk-3.0/scss/widgets/_view.scss @@ -134,7 +134,7 @@ @include exports("separator") { .view.separator, .separator { - color: shade($bg_color, ($contrast + .10)); + color: shade($bg_color, ($contrast + .1)); border: 1px solid currentColor; } }