2016-05-26 03:07:18 +05:30
|
|
|
@import '~components/ui/colors.scss';
|
|
|
|
@import '~components/ui/fonts.scss';
|
|
|
|
|
|
|
|
$popupPadding: 20px;
|
|
|
|
|
2016-05-01 23:20:55 +05:30
|
|
|
.overlay {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
z-index: 200;
|
|
|
|
|
2016-05-26 03:07:18 +05:30
|
|
|
background: rgba(#fff, 0.8);
|
2016-05-01 23:20:55 +05:30
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2016-05-22 22:55:38 +05:30
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
2016-05-01 23:20:55 +05:30
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 100%;
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-26 03:07:18 +05:30
|
|
|
.popupWrapper {
|
|
|
|
$padding: 20px;
|
|
|
|
$maxPopupWidth: 500px;
|
|
|
|
|
2016-05-01 23:20:55 +05:30
|
|
|
display: inline-block;
|
2016-05-26 03:07:18 +05:30
|
|
|
width: 100%;
|
|
|
|
max-width: $maxPopupWidth + $padding * 2;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: $padding auto;
|
|
|
|
padding: 0 $padding;
|
2016-05-22 22:55:38 +05:30
|
|
|
vertical-align: middle;
|
2016-05-26 03:07:18 +05:30
|
|
|
}
|
2016-05-01 23:20:55 +05:30
|
|
|
|
2016-05-26 03:07:18 +05:30
|
|
|
.popup {
|
|
|
|
white-space: normal;
|
|
|
|
text-align: left;
|
2016-05-01 23:20:55 +05:30
|
|
|
|
|
|
|
background: #fff;
|
2016-05-26 03:07:18 +05:30
|
|
|
box-shadow: 0 0 10px rgba(#000, 0.2);
|
|
|
|
|
|
|
|
color: #666;
|
2016-05-01 23:20:55 +05:30
|
|
|
|
|
|
|
:invalid {
|
|
|
|
button {
|
|
|
|
opacity: 0.3;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-05-26 03:07:18 +05:30
|
|
|
|
|
|
|
.header {
|
2016-06-03 00:00:46 +05:30
|
|
|
position: relative;
|
2016-05-26 03:07:18 +05:30
|
|
|
background: $light;
|
|
|
|
padding: 15px $popupPadding;
|
|
|
|
border-bottom: 1px solid #dedede;
|
|
|
|
}
|
|
|
|
|
|
|
|
.headerTitle {
|
|
|
|
font-size: 20px;
|
|
|
|
font-family: $font-family-title;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.body {
|
|
|
|
padding: $popupPadding;
|
|
|
|
}
|
2016-06-03 00:00:46 +05:30
|
|
|
|
|
|
|
.close {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 15px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 20px;
|
|
|
|
color: rgba(#000, 0.4);
|
|
|
|
background: rgba(#000, 0);
|
|
|
|
transition: 0.25s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: rgba(#000, 0.6);
|
|
|
|
background: rgba(#fff, 0.75);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 655px) {
|
|
|
|
.close {
|
|
|
|
position: fixed;
|
|
|
|
padding: 35px;
|
|
|
|
}
|
|
|
|
}
|