* Style optimize.

This commit is contained in:
Megax
2016-04-23 16:49:46 +02:00
parent 6485478945
commit 965778ed2a
2 changed files with 8 additions and 12 deletions
+6 -7
View File
@@ -1,7 +1,9 @@
/**************
! Window frame
***************/
@include exports("window") {
decoration {
$_wm_border: if($variant == 'light', transparentize($black, .77), transparentize($borders_color, .1));
border-radius: $roundness $roundness 0 0;
// lamefun trick to get rounded borders regardless of CSD use
border-width: 0;
@@ -32,14 +34,11 @@
background-color: $bg_color;
// Unity/compiz regression: Issue: https://github.com/numixproject/numix-gtk-theme/issues/206
box-shadow: none;
//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; }
}
.csd.popup & {
border-radius: 0;
box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1);
box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($wm_border_focused, .1);
}
tooltip.csd & {
@@ -49,7 +48,7 @@
messagedialog.csd & {
border-radius: $roundness;
box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1);
box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($wm_border_focused, .1);
}
}
}