2017-01-05 04:42:18 +03:00
|
|
|
@import '../colors.css';
|
|
|
|
@import '../variables.css';
|
|
|
|
@import '../media.css';
|
|
|
|
@import './config.css';
|
|
|
|
|
|
|
|
.wrapper {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
|
|
|
justify-content: center;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100vw;
|
|
|
|
z-index: var(--z-index-higher);
|
2017-01-18 12:56:03 +03:00
|
|
|
|
|
|
|
@apply --reset;
|
2017-01-05 04:42:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dialog {
|
|
|
|
background-color: var(--dialog-color-white);
|
|
|
|
border-radius: var(--dialog-border-radius);
|
|
|
|
box-shadow: var(--zdepth-shadow-5);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-width: 96vw;
|
|
|
|
opacity: 0;
|
2017-04-02 15:17:14 +03:00
|
|
|
overflow: var(--overflow);
|
2017-01-05 04:42:18 +03:00
|
|
|
transform: translateY(calc(-1 * var(--dialog-translate-y)));
|
|
|
|
transition:
|
|
|
|
opacity var(--animation-duration) var(--animation-curve-default),
|
|
|
|
transform var(--animation-duration) var(--animation-curve-default);
|
|
|
|
transition-delay: var(--animation-delay);
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.small {
|
|
|
|
width: 30vw;
|
|
|
|
|
|
|
|
@media screen and (--sm-tablet-viewport) {
|
|
|
|
width: 50vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (--xs-viewport) {
|
|
|
|
width: 75vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.normal {
|
|
|
|
width: 50vw;
|
|
|
|
|
|
|
|
@media screen and (--xs-viewport) {
|
|
|
|
width: 96vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.large {
|
|
|
|
width: 96vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fullscreen {
|
|
|
|
width: 96vw;
|
|
|
|
|
|
|
|
@media screen and (--xs-viewport) {
|
|
|
|
border-radius: 0;
|
|
|
|
max-height: 100vh;
|
|
|
|
max-width: 100vw;
|
|
|
|
min-height: 100vh;
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
color: var(--dialog-color-title);
|
|
|
|
flex-grow: 0;
|
|
|
|
font-size: calc(2 * var(--unit));
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
line-height: 1;
|
|
|
|
margin: 0 0 calc(1.6 * var(--unit));
|
|
|
|
}
|
|
|
|
|
|
|
|
.body {
|
|
|
|
color: var(--color-text-secondary);
|
|
|
|
flex-grow: 2;
|
|
|
|
padding: var(--dialog-content-padding);
|
|
|
|
|
|
|
|
& p {
|
|
|
|
font-size: calc(1.4 * var(--unit));
|
|
|
|
font-weight: 400;
|
|
|
|
letter-spacing: 0;
|
|
|
|
line-height: calc(2.4 * var(--unit));
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation {
|
|
|
|
flex-grow: 0;
|
|
|
|
padding: var(--dialog-navigation-padding);
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
margin-left: var(--dialog-navigation-padding);
|
|
|
|
min-width: 0;
|
|
|
|
padding-left: var(--dialog-navigation-padding);
|
|
|
|
padding-right: var(--dialog-navigation-padding);
|
|
|
|
}
|