2016-08-15 21:06:12 +00:00
|
|
|
.overlay {
|
2020-02-11 21:27:33 +00:00
|
|
|
position: fixed;
|
2016-08-15 21:06:12 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 9999;
|
2016-12-14 15:58:43 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
2016-11-23 21:44:46 +00:00
|
|
|
overflow-y: hidden;
|
2016-08-15 21:06:12 +00:00
|
|
|
}
|
|
|
|
|
2017-07-11 15:37:43 +00:00
|
|
|
.overlay__content {
|
2016-08-15 21:06:12 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-07-11 15:37:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.overlay__body {
|
|
|
|
@extend %modal;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-flow: column;
|
2019-03-26 19:51:55 +00:00
|
|
|
max-height: 80%;
|
2017-07-11 15:37:43 +00:00
|
|
|
max-width: 65%;
|
2019-08-21 18:08:08 +00:00
|
|
|
position: relative;
|
2017-07-11 15:37:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.overlay__header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2017-11-14 20:27:00 +00:00
|
|
|
padding: #{20 / $base-font-size}rem;
|
2017-07-11 15:37:43 +00:00
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
|
2019-10-21 00:05:35 +00:00
|
|
|
.overlay__actions {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2017-10-30 18:38:41 +00:00
|
|
|
.overlay__title {
|
|
|
|
font-size: #{21 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2017-07-11 15:37:43 +00:00
|
|
|
.overlay__close-button {
|
|
|
|
@include icon();
|
2019-10-21 00:05:35 +00:00
|
|
|
padding: #{3 / $base-font-size}rem 0 #{3 / $base-font-size}rem #{10 / $base-font-size}rem;
|
2018-03-02 16:40:31 +00:00
|
|
|
}
|
2019-12-11 14:12:00 +00:00
|
|
|
|
|
|
|
/* Fixed height overlay */
|
|
|
|
.overlay--is-fixed-height .overlay__body {
|
|
|
|
height: 80vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay--is-fixed-height .overlay__header {
|
|
|
|
flex: 0;
|
|
|
|
}
|
|
|
|
|