From 6a37d4c0f9a260e26ce4e56120b125084ea7ff3c Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 9 Jul 2015 23:21:15 +0200 Subject: unity fixes --- common/gtk-3.0/3.14/_unity.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/gtk-3.0/3.14/_unity.scss') diff --git a/common/gtk-3.0/3.14/_unity.scss b/common/gtk-3.0/3.14/_unity.scss index 16ce6ed..34616fc 100644 --- a/common/gtk-3.0/3.14/_unity.scss +++ b/common/gtk-3.0/3.14/_unity.scss @@ -18,7 +18,7 @@ UnityDecoration { -UnityDecoration-title-alignment: 0.0; &.top { - border: 1px solid rgba(0, 0, 0, 0.1); + border: 1px solid if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9)); border-bottom-width: 0; border-radius: 4px 4px 0 0; padding: 1px 6px 0 6px; @@ -36,7 +36,7 @@ UnityDecoration { } &.left, &.right, &.bottom, &.left:backdrop, &.right:backdrop, &.bottom:backdrop { - background-image: linear-gradient(to bottom, if($variant == 'light', rgba(0, 0, 0, 0.1), rgba(0,0,0,0.25))); + background-image: linear-gradient(to bottom, if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9))); } } -- cgit v1.2.3