* Minimal shadow and code style fix.

pull/379/head
Megax 2016-04-22 23:30:02 +02:00
parent 6532bce86f
commit e8bae3d2f8
2 changed files with 4 additions and 6 deletions

View File

@ -84,8 +84,8 @@ $lightdm_bg_color: $dark_bg_color;
$lightdm_fg_color: $dark_fg_color; $lightdm_fg_color: $dark_fg_color;
$wm_bg: $titlebar_bg_color; $wm_bg: $titlebar_bg_color;
$wm_border_focused: if($variant=='light', transparentize($black, .5), transparentize($borders_color, .1)); $wm_border_focused: if($variant == 'light', transparentize($black, .5), transparentize($borders_color, .1));
$wm_border_unfocused: if($variant=='light', transparentize($black, .55), transparentize($borders_color, .1)); $wm_border_unfocused: if($variant == 'light', transparentize($black, .55), transparentize($borders_color, .1));
$wm_title_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); $wm_title_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1);
$wm_title_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); $wm_title_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4);
$wm_icons_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); $wm_icons_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1);

View File

@ -8,13 +8,13 @@
// lamefun trick to get rounded borders regardless of CSD use // lamefun trick to get rounded borders regardless of CSD use
border-width: 0; border-width: 0;
box-shadow: 0 3px 9px 1px transparentize($black, .5), 0 0 0 1px $wm_border_focused; //doing borders with box-shadow box-shadow: 0 3px 9px 1px transparentize($black, .3), 0 0 0 1px $wm_border_focused; //doing borders with box-shadow
/* this is used for the resize cursor area */ /* this is used for the resize cursor area */
margin: $spacing * 3; margin: $spacing * 3;
&:backdrop { &:backdrop {
box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparentize($black, .8), 0 0 0 1px $wm_border_unfocused; box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparentize($black, .6), 0 0 0 1px $wm_border_unfocused;
transition: 200ms ease-out; transition: 200ms ease-out;
} }
@ -30,9 +30,7 @@
.solid-csd & { .solid-csd & {
border-radius: 0; border-radius: 0;
margin: 1px; margin: 1px;
box-shadow: none;
background-color: $bg_color; background-color: $bg_color;
//border: solid 1px $dark_bg_color;
box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight; box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight;
&:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; } &:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }