2019-10-26 23:30:01 +00:00
|
|
|
@import "effects";
|
|
|
|
|
|
|
|
.vn-popup {
|
|
|
|
z-index: 20;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 200ms ease-in-out;
|
|
|
|
|
|
|
|
&.shown {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
&.centered {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background-color: rgba(0, 0, 0, .6);
|
2020-04-02 12:20:57 +00:00
|
|
|
padding: 16px;
|
2019-10-26 23:30:01 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
& > .window {
|
|
|
|
position: relative;
|
2020-04-02 12:20:57 +00:00
|
|
|
box-shadow: 0 0 6px $color-shadow;
|
2019-10-26 23:30:01 +00:00
|
|
|
background-color: $color-bg-panel;
|
2020-04-02 12:20:57 +00:00
|
|
|
border-radius: 3px;
|
2019-10-26 23:30:01 +00:00
|
|
|
overflow: auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-height: 100%;
|
2019-10-28 16:31:33 +00:00
|
|
|
transform: scale3d(.9, .9, .9);
|
2019-10-26 23:30:01 +00:00
|
|
|
transition: transform 200ms ease-in-out;
|
2020-04-01 14:05:43 +00:00
|
|
|
outline: none;
|
2019-10-26 23:30:01 +00:00
|
|
|
}
|
|
|
|
&.shown > .window {
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|