2020-05-17 15:37:45 +00:00
|
|
|
@import '~dashboard/assets/scss/variables';
|
|
|
|
@import '~dashboard/assets/scss/mixins';
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2020-05-17 15:37:45 +00:00
|
|
|
.modal-mask {
|
2019-12-14 12:44:35 +00:00
|
|
|
@include flex;
|
|
|
|
@include flex-align(center, middle);
|
2020-05-17 15:37:45 +00:00
|
|
|
background-color: $masked-bg;
|
2019-12-14 12:44:35 +00:00
|
|
|
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;
|
2020-05-17 15:37:45 +00:00
|
|
|
right: $space-micro;
|
|
|
|
top: $space-micro;
|
2019-12-14 12:44:35 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-background;
|
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
2019-12-28 16:26:42 +00:00
|
|
|
.page-top-bar {
|
2020-05-17 15:37:45 +00:00
|
|
|
@include padding($space-large $space-large $zero);
|
2019-12-28 16:26:42 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-height: 6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.modal-container {
|
2020-05-17 15:37:45 +00:00
|
|
|
@include normal-shadow;
|
|
|
|
|
2019-12-14 12:44:35 +00:00
|
|
|
background-color: $color-white;
|
2020-05-17 15:37:45 +00:00
|
|
|
border-radius: $space-smaller;
|
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 {
|
2020-05-17 15:37:45 +00:00
|
|
|
color: $color-heading;
|
2019-08-14 09:48:44 +00:00
|
|
|
font-size: $font-size-medium;
|
2020-05-17 15:37:45 +00:00
|
|
|
font-weight: $font-weight-bold;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
@include margin($zero);
|
2020-05-17 15:37:45 +00:00
|
|
|
@include padding($zero);
|
|
|
|
font-size: $font-size-small;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
2020-06-25 15:34:03 +00:00
|
|
|
.content {
|
|
|
|
@include padding($space-large);
|
|
|
|
}
|
|
|
|
|
2021-09-29 06:31:58 +00:00
|
|
|
form,
|
|
|
|
.modal-content {
|
2020-05-17 15:37:45 +00:00
|
|
|
@include padding($space-large);
|
2019-08-14 09:48:44 +00:00
|
|
|
align-self: center;
|
2020-05-17 15:37:45 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
a {
|
|
|
|
@include padding($space-normal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
@include flex;
|
2020-05-17 15:37:45 +00:00
|
|
|
@include flex-align($x: flex-start, $y: middle);
|
|
|
|
@include padding($space-small $zero);
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
button {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
2021-11-18 13:45:02 +00:00
|
|
|
|
|
|
|
&.justify-content-end {
|
|
|
|
justify-content: end;
|
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.delete-item {
|
2020-05-17 15:37:45 +00:00
|
|
|
@include padding($space-large);
|
2019-08-14 09:48:44 +00:00
|
|
|
button {
|
|
|
|
@include margin($zero);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-17 15:37:45 +00:00
|
|
|
.modal-enter,
|
|
|
|
.modal-leave {
|
|
|
|
opacity: 0;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-enter .modal-container,
|
|
|
|
.modal-leave .modal-container {
|
2020-05-17 15:37:45 +00:00
|
|
|
transform: scale(1.1);
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|