numix-gtk-theme/gtk-3.0/scss/widgets/_window.scss

47 lines
760 B
SCSS
Raw Normal View History

2014-11-23 17:06:45 +00:00
/**************
! Window frame
***************/
@include exports("window") {
2015-01-23 18:54:03 +00:00
%window {
2015-05-31 16:20:35 +00:00
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22),
2015-01-23 18:54:03 +00:00
0 0 0 1px $wm_border_focused;
&:backdrop {
2015-05-31 16:20:35 +00:00
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23),
2015-01-23 18:54:03 +00:00
0 0 0 1px $wm_border_unfocused;
}
}
.window-frame {
2015-01-23 18:54:03 +00:00
@extend %window;
2015-05-31 16:20:35 +00:00
border: 0;
border-radius: $roundness + 1;
/* this is used for the resize cursor area */
margin: $spacing * 3;
&.tiled { border-radius: 0; }
&.csd {
&.popup {
2015-01-23 18:54:03 +00:00
@extend %window;
border-radius: 0;
}
&.tooltip {
border-radius: $roundness;
box-shadow: none;
}
&.message-dialog {
2015-01-23 18:54:03 +00:00
@extend %window;
border-radius: $roundness;
}
}
}
}