* Popup menu shadow fix.

pull/379/head
Megax 2016-04-23 14:35:18 +02:00
parent bd091fd0b9
commit aa2c9936eb
1 changed files with 4 additions and 6 deletions

View File

@ -1,9 +1,7 @@
/**************
! Window frame
***************/
@include exports("window") { @include exports("window") {
decoration { decoration {
$_wm_border: if($variant == 'light', transparentize($black, .77), transparentize($borders_color, .1));
border-radius: $roundness $roundness 0 0; border-radius: $roundness $roundness 0 0;
// 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;
@ -40,7 +38,7 @@
.csd.popup & { .csd.popup & {
border-radius: 0; border-radius: 0;
box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($wm_border_focused, .1); box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1);
} }
tooltip.csd & { tooltip.csd & {
@ -50,7 +48,7 @@
messagedialog.csd & { messagedialog.csd & {
border-radius: $roundness; border-radius: $roundness;
box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($wm_border_focused, .1); box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1);
} }
} }
} }