forked from AuroraMiddleware/gtk
parent
04b7dd802a
commit
2127cc1943
@ -4044,6 +4044,16 @@ window {
|
||||
0 0 0 1px $_wm_border; //doing borders with box-shadow
|
||||
margin: 0px;
|
||||
border-radius: $window_radius $window_radius 0 0;
|
||||
&:backdrop {
|
||||
// the transparent shadow here is to enforce that the shadow extents don't
|
||||
// change when we go to backdrop, to prevent jumping windows.
|
||||
// The biggest shadow should be in the same order then in the active state
|
||||
// or the jumping will happen during the transition.
|
||||
box-shadow: 0 3px 9px 1px transparent,
|
||||
0 2px 6px 2px transparentize(black, 0.8),
|
||||
0 0 0 1px $_wm_border_backdrop;
|
||||
transition: $backdrop_transition;
|
||||
}
|
||||
}
|
||||
|
||||
&.solid-csd {
|
||||
@ -4056,19 +4066,6 @@ window {
|
||||
&:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
|
||||
}
|
||||
|
||||
// FIXME rationalize shadows
|
||||
|
||||
&:backdrop {
|
||||
// the transparent shadow here is to enforce that the shadow extents don't
|
||||
// change when we go to backdrop, to prevent jumping windows.
|
||||
// The biggest shadow should be in the same order then in the active state
|
||||
// or the jumping will happen during the transition.
|
||||
box-shadow: 0 3px 9px 1px transparent,
|
||||
0 2px 6px 2px transparentize(black, 0.8),
|
||||
0 0 0 1px $_wm_border_backdrop;
|
||||
transition: $backdrop_transition;
|
||||
}
|
||||
|
||||
&.maximized,
|
||||
&.fullscreen,
|
||||
&.tiled,
|
||||
|
Loading…
Reference in New Issue
Block a user