* Popup and messagedialog revert code.

pull/379/head
Megax 2016-04-23 17:02:29 +02:00
parent 220596b43a
commit 081e3162d0
1 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,8 @@
@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;
@ -38,7 +40,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 & {
@ -48,7 +50,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);
} }
} }
} }