2016-08-15 23:06:12 +02:00
|
|
|
.overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 9999;
|
2016-12-14 16:58:43 +01:00
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
2016-11-23 22:44:46 +01:00
|
|
|
overflow-y: hidden;
|
2016-08-15 23:06:12 +02:00
|
|
|
}
|
|
|
|
|
2017-07-11 17:37:43 +02:00
|
|
|
.overlay__content {
|
2016-08-15 23:06:12 +02:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-07-11 17:37:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.overlay__body {
|
|
|
|
@extend %modal;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-flow: column;
|
|
|
|
max-height: 80%;
|
|
|
|
max-width: 65%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay__header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: #{40 / $base-font-size}rem #{20 / $base-font-size}rem #{30 / $base-font-size}rem #{20 / $base-font-size}rem;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay__close-button {
|
|
|
|
@include icon();
|
|
|
|
padding: #{12 / $base-font-size}rem #{16 / $base-font-size}rem;
|
2016-08-15 23:06:12 +02:00
|
|
|
}
|