2016-06-04 23:06:59 +03:00
|
|
|
@import "../colors";
|
|
|
|
@import "../globals";
|
|
|
|
@import "../mixins";
|
2015-10-20 22:15:21 +03:00
|
|
|
@import "./config";
|
2015-10-06 08:21:24 +03:00
|
|
|
|
2016-05-21 21:48:55 +03:00
|
|
|
.dialog {
|
2015-10-06 08:21:24 +03:00
|
|
|
display: flex;
|
|
|
|
max-width: 96vw;
|
|
|
|
max-height: 96vh;
|
|
|
|
flex-direction: column;
|
|
|
|
background-color: $dialog-color-white;
|
2015-10-21 02:05:57 +03:00
|
|
|
border-radius: $dialog-border-radius;
|
2015-10-06 08:21:24 +03:00
|
|
|
box-shadow: $zdepth-shadow-5;
|
2015-11-14 23:42:13 +03:00
|
|
|
opacity: 0;
|
2015-10-06 08:21:24 +03:00
|
|
|
transition-delay: $animation-delay;
|
|
|
|
transition-timing-function: $animation-curve-default;
|
|
|
|
transition-duration: $animation-duration;
|
|
|
|
transition-property: opacity, transform;
|
2015-11-14 23:42:13 +03:00
|
|
|
transform: translateY(-$dialog-translate-y);
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.small {
|
|
|
|
width: 30vw;
|
2016-05-21 21:48:55 +03:00
|
|
|
|
2016-05-10 10:53:35 +03:00
|
|
|
@media screen and (max-width: $layout-breakpoint-sm-tablet) {
|
2016-05-21 21:48:55 +03:00
|
|
|
width: 50vw;
|
2016-05-10 10:53:35 +03:00
|
|
|
}
|
2016-05-21 21:48:55 +03:00
|
|
|
|
2016-05-10 10:53:35 +03:00
|
|
|
@media screen and (max-width: $layout-breakpoint-xs) {
|
2016-05-21 21:48:55 +03:00
|
|
|
width: 75vw;
|
2016-05-10 10:53:35 +03:00
|
|
|
}
|
2015-11-14 23:42:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.normal {
|
|
|
|
width: 50vw;
|
2016-05-21 21:48:55 +03:00
|
|
|
|
2016-05-10 10:53:35 +03:00
|
|
|
@media screen and (max-width: $layout-breakpoint-xs) {
|
2016-05-21 21:48:55 +03:00
|
|
|
width: 96vw;
|
2016-05-10 10:53:35 +03:00
|
|
|
}
|
2015-11-14 23:42:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.large {
|
|
|
|
width: 96vw;
|
2015-10-07 02:31:55 +03:00
|
|
|
}
|
|
|
|
|
2016-08-25 09:07:46 +03:00
|
|
|
.fullscreen {
|
|
|
|
width: 96vw;
|
|
|
|
|
|
|
|
@media screen and (max-width: $layout-breakpoint-xs) {
|
2016-09-03 17:27:01 +03:00
|
|
|
width: 100vw;
|
2016-08-25 09:07:46 +03:00
|
|
|
max-width: 100vw;
|
|
|
|
min-height: 100vh;
|
2016-09-03 17:27:01 +03:00
|
|
|
max-height: 100vh;
|
2016-08-25 09:07:46 +03:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-07 02:31:55 +03:00
|
|
|
.title {
|
|
|
|
@include typo-title();
|
2015-10-21 02:05:57 +03:00
|
|
|
flex-grow: 0;
|
2015-10-07 02:31:55 +03:00
|
|
|
margin-bottom: 1.6 * $unit;
|
|
|
|
color: $dialog-color-title;
|
|
|
|
}
|
2015-10-06 08:21:24 +03:00
|
|
|
|
2015-10-07 02:31:55 +03:00
|
|
|
.body {
|
2015-10-21 02:05:57 +03:00
|
|
|
flex-grow: 2;
|
2015-10-07 02:31:55 +03:00
|
|
|
padding: $dialog-content-padding;
|
|
|
|
color: $color-text-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation {
|
2015-10-21 02:05:57 +03:00
|
|
|
flex-grow: 0;
|
2015-10-07 02:31:55 +03:00
|
|
|
padding: $dialog-navigation-padding;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
min-width: 0;
|
|
|
|
padding-right: $dialog-navigation-padding;
|
|
|
|
padding-left: $dialog-navigation-padding;
|
|
|
|
margin-left: $dialog-navigation-padding;
|
|
|
|
}
|