Files
numix-blue-gtk-theme/gtk-3.0/scss/widgets/_window.scss
T
Khurshid Alam b62e6eb0d4 Gtk-3.18: Remove white margin for CSD apps under Unity. Fixes #281
Ideally I would like to change window frame backdrop color as well, but for now it works. It is probably going to break old metacity session, but we don't really support metacity.
2016-04-12 21:00:14 +05:30

58 lines
1.4 KiB
SCSS
Executable File

/**************
! Window frame
***************/
@include exports("window") {
%window {
box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22),
0 0 0 1px $wm_border_focused;
&:backdrop {
box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23),
0 0 0 1px $wm_border_unfocused;
}
}
.window-frame {
@extend %window;
border: 0;
border-radius: $roundness $roundness 0 0;
background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21);
/* this is used for the resize cursor area */
margin: $spacing * 3;
&.tiled { border-radius: 0; }
&.solid-csd {
border-radius: $roundness $roundness 0 0;
margin: 1px;
background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21);
box-shadow: none;
}
&.csd {
&.popup {
@extend %window;
border-radius: 0;
}
&.tooltip {
border-radius: $roundness;
box-shadow: none;
}
&.message-dialog {
@extend %window;
border-radius: $roundness;
}
}
&.ssd {
&.maximized { border-radius: 0; }
}
}
}