forked from AuroraMiddleware/gtk
Merge branch 'wip/exalm/window' into 'master'
Round window corners See merge request GNOME/gtk!1952
This commit is contained in:
commit
4b41580041
@ -3874,7 +3874,7 @@ window {
|
||||
box-shadow: 0 3px 9px 1px transparentize(black, 0.5),
|
||||
0 0 0 1px $_wm_border; //doing borders with box-shadow
|
||||
margin: 0px;
|
||||
border-radius: $window_radius $window_radius 0 0;
|
||||
border-radius: $window_radius;
|
||||
&:backdrop {
|
||||
// the transparent shadow here is to enforce that the shadow extents don't
|
||||
// change when we go to backdrop, to prevent jumping windows.
|
||||
@ -3885,16 +3885,27 @@ window {
|
||||
0 0 0 1px $_wm_border_backdrop;
|
||||
transition: $backdrop_transition;
|
||||
}
|
||||
}
|
||||
|
||||
&.solid-csd {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: solid 1px $borders_color;
|
||||
border-radius: 0;
|
||||
box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight;
|
||||
&.popup {
|
||||
border-radius: $menu_radius;
|
||||
box-shadow: 0 1px 2px transparentize(black, 0.8),
|
||||
0 0 0 1px transparentize($_wm_border, 0.1);
|
||||
}
|
||||
|
||||
&:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
|
||||
&.dialog.message {
|
||||
box-shadow: 0 1px 2px transparentize(black, 0.8),
|
||||
0 0 0 1px transparentize($_wm_border, 0.1);
|
||||
}
|
||||
|
||||
&.solid-csd {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: solid 1px $borders_color;
|
||||
border-radius: 0;
|
||||
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; }
|
||||
}
|
||||
}
|
||||
|
||||
&.maximized,
|
||||
@ -3910,18 +3921,6 @@ window {
|
||||
// server-side decorations as used by mutter
|
||||
&.ssd { box-shadow: 0 0 0 1px $_wm_border; } //just doing borders, wm draws actual shadows
|
||||
|
||||
&.csd.popup {
|
||||
border-radius: $menu_radius;
|
||||
box-shadow: 0 1px 2px transparentize(black, 0.8),
|
||||
0 0 0 1px transparentize($_wm_border, 0.1);
|
||||
}
|
||||
|
||||
&.dialog.message.csd {
|
||||
border-radius: $window_radius;
|
||||
box-shadow: 0 1px 2px transparentize(black, 0.8),
|
||||
0 0 0 1px transparentize($_wm_border, 0.1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
tooltip.csd {
|
||||
|
Loading…
Reference in New Issue
Block a user