Lighter separators

pull/224/head
Satyajit Sahoo 2014-12-20 03:23:56 +05:30
parent e42253e997
commit 04b7d110ac
8 changed files with 12 additions and 12 deletions

View File

@ -35,11 +35,11 @@ $modules: () !default;
} }
@function border_active($color) { @function border_active($color) {
@return shade($color, ($contrast - .10)); @return shade($color, ($contrast - .1));
} }
@function border_insensitive($color) { @function border_insensitive($color) {
@return shade($color, ($contrast + .10)); @return shade($color, ($contrast + .1));
} }
@mixin linear-gradient($color, $direction: to bottom) { @mixin linear-gradient($color, $direction: to bottom) {

View File

@ -106,7 +106,7 @@
border-style: solid; border-style: solid;
&, &:hover { &, &:hover {
border-color: shade($bg_color, ($contrast + .10)); border-color: shade($bg_color, ($contrast + .1));
background-color: $bg_color; background-color: $bg_color;
} }
} }
@ -165,7 +165,7 @@
border-style: solid; border-style: solid;
&, &:hover { &, &:hover {
border-color: shade($bg_color, ($contrast + .10)); border-color: shade($bg_color, ($contrast + .1));
background-color: $bg_color; background-color: $bg_color;
} }
} }
@ -211,7 +211,7 @@
.gedit-document-panel-group-row { .gedit-document-panel-group-row {
&, &:hover { &, &:hover {
border-top: 1px solid shade($bg_color, ($contrast + .10)); border-top: 1px solid shade($bg_color, ($contrast + .1));
background-color: $bg_color; background-color: $bg_color;
} }
} }

View File

@ -150,7 +150,7 @@
&.separator, .separator { &.separator, .separator {
border: 1px solid currentColor; border: 1px solid currentColor;
color: shade($bg, ($contrast + .05)); color: shade($bg, ($contrast + .1));
&:insensitive { color: shade($bg, .85); } &:insensitive { color: shade($bg, .85); }
} }
@ -222,7 +222,7 @@
&:hover { &:hover {
border-color: shade($bg_color, 0.7); border-color: shade($bg_color, 0.7);
background-color: shade($bg_color, 1.10); background-color: shade($bg_color, 1.1);
background-image: none; background-image: none;
} }

View File

@ -111,7 +111,7 @@
border-style: solid; border-style: solid;
border-color: currentColor; border-color: currentColor;
background-color: $bg_color; background-color: $bg_color;
color: border_normal($bg_color); color: shade($bg_color, ($contrast + .1));
} }
} }

View File

@ -109,7 +109,7 @@
-GtkWidget-separator-height: 1; -GtkWidget-separator-height: 1;
border-style: none; border-style: none;
color: shade($menu_bg_color, .9); color: shade($menu_bg_color, ($contrast + .1));
} }
&.button { &.button {

View File

@ -33,7 +33,7 @@ GtkOverlay.osd {
background-image: none; background-image: none;
color: $osd_fg; 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 */ /* used by gnome-settings-daemon's media-keys OSD */

View File

@ -41,7 +41,7 @@
} }
GtkSeparatorToolItem, .separator, .separator:insensitive { GtkSeparatorToolItem, .separator, .separator:insensitive {
color: border_normal($bg); color: shade($bg, ($contrast + .1));
border-color: currentColor; border-color: currentColor;
-GtkWidget-window-dragging: true; -GtkWidget-window-dragging: true;

View File

@ -134,7 +134,7 @@
@include exports("separator") { @include exports("separator") {
.view.separator, .separator { .view.separator, .separator {
color: shade($bg_color, ($contrast + .10)); color: shade($bg_color, ($contrast + .1));
border: 1px solid currentColor; border: 1px solid currentColor;
} }
} }