2019-08-14 09:48:44 +00:00
|
|
|
.modal-mask {
|
|
|
|
|
2019-12-14 12:44:35 +00:00
|
|
|
@include flex;
|
|
|
|
@include flex-align(center, middle);
|
|
|
|
background-color: $color-white;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 9990;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal--close {
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-heading;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: $font-size-big;
|
|
|
|
line-height: $space-normal;
|
|
|
|
padding: $space-normal $space-two;
|
|
|
|
position: absolute;
|
|
|
|
right: $space-large;
|
|
|
|
top: $space-large;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-background;
|
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
2019-12-28 16:26:42 +00:00
|
|
|
|
|
|
|
.page-top-bar {
|
|
|
|
@include padding($zero $space-two);
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-height: 6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.modal-container {
|
2019-12-14 12:44:35 +00:00
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: $space-small;
|
2019-08-14 09:48:44 +00:00
|
|
|
max-height: 100%;
|
2020-02-22 13:45:45 +00:00
|
|
|
overflow: auto;
|
2019-08-14 09:48:44 +00:00
|
|
|
position: relative;
|
2019-12-14 12:44:35 +00:00
|
|
|
width: 60rem;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
.content-box {
|
|
|
|
@include padding($zero);
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: $font-size-medium;
|
|
|
|
color: $color-woot;
|
|
|
|
font-weight: $font-weight-normal;
|
|
|
|
@include padding($space-small $zero $zero $zero);
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
@include padding($zero);
|
|
|
|
@include margin($zero);
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
align-self: center;
|
2019-12-14 12:44:35 +00:00
|
|
|
@include padding($space-two);
|
2019-08-14 09:48:44 +00:00
|
|
|
a {
|
|
|
|
@include padding($space-normal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
@include flex;
|
2019-10-16 17:15:36 +00:00
|
|
|
@include flex-align($x: justify, $y: middle);
|
2019-08-14 09:48:44 +00:00
|
|
|
@include padding($space-small $zero $space-medium $zero);
|
|
|
|
button {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.delete-item {
|
|
|
|
@include padding($space-normal);
|
|
|
|
button {
|
|
|
|
@include margin($zero);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-enter, .modal-leave {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-enter .modal-container,
|
|
|
|
.modal-leave .modal-container {
|
|
|
|
-webkit-transform: scale(1.1);
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|