2016-04-07 03:09:14 +00:00
|
|
|
@import '../constants/dimensions';
|
|
|
|
@import '../constants/colors';
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1000;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: rgba(20, 20, 20, 0.5);
|
|
|
|
padding: $padding-xl;
|
|
|
|
|
|
|
|
.modal__header {
|
2016-04-07 17:06:04 +00:00
|
|
|
border-top-left-radius: $radius-md;
|
|
|
|
border-top-right-radius: $radius-md;
|
2016-04-07 03:09:14 +00:00
|
|
|
border-bottom: 1px solid $hl-md;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__content {
|
|
|
|
border-radius: $radius-md;
|
|
|
|
box-sizing: border-box;
|
2016-04-15 02:13:49 +00:00
|
|
|
box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.5);
|
2016-04-09 19:24:33 +00:00
|
|
|
width: $modal-width;
|
2016-04-07 03:09:14 +00:00
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__footer {
|
2016-04-07 17:06:04 +00:00
|
|
|
border-bottom-left-radius: $radius-md;
|
|
|
|
border-bottom-right-radius: $radius-md;
|
2016-04-07 03:09:14 +00:00
|
|
|
border-top: 1px solid $hl-md;
|
|
|
|
}
|
|
|
|
}
|