From f15728540a8a8fd29cc1a4843862d6b1bd9a7044 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 6 Jul 2015 18:20:03 +0200 Subject: some tweaks --- common/gtk-3.0/3.16/_common.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'common/gtk-3.0/3.16/_common.scss') diff --git a/common/gtk-3.0/3.16/_common.scss b/common/gtk-3.0/3.16/_common.scss index c0a3fc3..8ed25e1 100644 --- a/common/gtk-3.0/3.16/_common.scss +++ b/common/gtk-3.0/3.16/_common.scss @@ -1630,7 +1630,7 @@ column-header.button.dnd { // for treeview-like derive widgets &.header { // FIXME: double borders in some case, can't fix it w/o a class tho // FIXME: doesn't work on dark var - background-color: $base_color; + background-color: mix($base_color, $bg_color, 50%); // this is the shading of the header behind the tabs &.frame { @@ -1701,8 +1701,8 @@ column-header.button.dnd { // for treeview-like derive widgets border-width: 1px; border-#{$_tab}-width: 0; border-color: $borders_color; - background-color: if($variant == 'light', transparentize(black, 0.98), transparentize(black, 0.9)); - &:hover { background-color: if($variant == 'light', transparentize(black, 0.98), transparentize(black, 0.9)); } + background-color: if($variant == 'light', transparentize(black, 0.965), transparentize(black, 0.9)); + &:hover { background-color: if($variant == 'light', transparentize(black, 0.965), transparentize(black, 0.9)); } } } } @@ -2683,13 +2683,13 @@ GtkVolumeButton.button { padding: 8px; } // see bug #722563 $_wm_border: if($variant=='light', transparentize(black, 0.9), transparentize(black, 0.35)); - box-shadow: 0 0 0 1px if($darker=='true', transparentize(black, 0.4), $_wm_border), 0 4px 8px 1px $_wm_border; + box-shadow: 0 0 0 1px if($darker=='true', darken($header_bg, 7%), $_wm_border), 0 4px 8px 1px $_wm_border; /* this is used for the resize cursor area */ margin: 10px; &:backdrop { - box-shadow: 0 0 0 1px if($darker=='true', transparentize(black, 0.4), $_wm_border), 0 4px 5px 2px $_wm_border; + box-shadow: 0 0 0 1px if($darker=='true', darken($header_bg, 7%), $_wm_border), 0 4px 5px 2px $_wm_border; } &.tiled { border-radius: 0; @@ -2697,7 +2697,7 @@ GtkVolumeButton.button { padding: 8px; } // server-side decorations as used by mutter &.ssd { border-radius: 4px 4px 0 0; - box-shadow: 0 0 0 1px if($darker=='true', transparentize(black, 0.4), $_wm_border); + box-shadow: 0 0 0 1px if($darker=='true', darken($header_bg, 7%), $_wm_border); &.maximized { border-radius: 0; } } -- cgit v1.2.3