mirror of
https://github.com/encounter/numix-blue-gtk-theme.git
synced 2026-07-10 12:18:49 -07:00
* Style optimize.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user