2020-03-30 15:43:27 -04:00
|
|
|
.ReactModal__Body--open {
|
|
|
|
#app {
|
2020-04-13 15:16:07 -04:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
height: 100vh;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2020-03-30 15:43:27 -04:00
|
|
|
}
|
2021-02-09 11:05:56 -05:00
|
|
|
|
|
|
|
[data-reach-menu] {
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
2020-03-30 15:43:27 -04:00
|
|
|
}
|
|
|
|
|
2019-01-14 13:40:06 -05:00
|
|
|
.modal-overlay {
|
2018-10-16 17:29:55 -05:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2018-10-17 12:14:24 -05:00
|
|
|
right: 0;
|
|
|
|
align-items: center;
|
2019-11-22 16:13:00 -05:00
|
|
|
background-color: var(--color-background-overlay);
|
2018-10-17 12:14:24 -05:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
position: fixed;
|
2017-04-12 16:23:20 -04:00
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
2019-11-22 16:13:00 -05:00
|
|
|
@extend .card;
|
2020-01-02 11:30:27 -05:00
|
|
|
background-color: var(--color-modal-background);
|
2018-12-19 00:44:53 -05:00
|
|
|
line-height: 1.55;
|
2019-12-21 16:16:27 -05:00
|
|
|
min-width: 500px;
|
2018-10-17 12:14:24 -05:00
|
|
|
max-width: var(--modal-width);
|
2017-04-12 16:23:20 -04:00
|
|
|
overflow: auto;
|
2020-06-01 13:03:19 -04:00
|
|
|
padding: var(--spacing-l);
|
2017-07-29 12:59:47 -04:00
|
|
|
word-break: break-word;
|
2018-04-16 20:21:19 -06:00
|
|
|
|
2019-11-22 16:13:00 -05:00
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2019-12-18 00:27:08 -05:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-12-19 15:43:49 -05:00
|
|
|
max-width: 100%;
|
2019-12-22 17:52:21 -05:00
|
|
|
min-width: auto;
|
2019-12-18 00:27:08 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
|
2019-12-19 15:43:49 -05:00
|
|
|
.card {
|
|
|
|
box-shadow: none;
|
2020-03-30 15:43:27 -04:00
|
|
|
border: none;
|
2019-12-19 15:43:49 -05:00
|
|
|
}
|
2018-12-19 00:44:53 -05:00
|
|
|
}
|
2020-12-11 13:33:27 -05:00
|
|
|
|
|
|
|
.button--close {
|
|
|
|
z-index: 10000;
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
2017-04-12 16:23:20 -04:00
|
|
|
}
|
|
|
|
|
2019-11-22 16:13:00 -05:00
|
|
|
.modal--card-internal {
|
|
|
|
padding: 0;
|
2020-05-21 11:38:28 -04:00
|
|
|
border: none;
|
2019-11-22 16:13:00 -05:00
|
|
|
|
|
|
|
.card {
|
|
|
|
margin: 0;
|
2020-05-21 11:38:28 -04:00
|
|
|
border: none;
|
2019-11-22 16:13:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-12 16:23:20 -04:00
|
|
|
.error-modal__content {
|
|
|
|
display: flex;
|
2020-06-01 13:03:19 -04:00
|
|
|
padding: 0 var(--spacing-m) var(--spacing-m) var(--spacing-m);
|
2017-04-12 16:23:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal {
|
|
|
|
max-width: none;
|
2017-11-07 09:35:49 -05:00
|
|
|
width: var(--modal-width);
|
2019-02-01 03:23:34 -05:00
|
|
|
white-space: pre-wrap;
|
2017-04-12 16:23:20 -04:00
|
|
|
}
|
2018-03-26 14:32:43 -07:00
|
|
|
|
2017-12-21 14:32:51 -03:00
|
|
|
.error-modal__error-list {
|
2018-10-17 12:14:24 -05:00
|
|
|
max-width: var(--modal-width);
|
|
|
|
max-height: 400px;
|
2020-06-01 13:03:19 -04:00
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
padding: var(--spacing-s);
|
2018-10-17 12:14:24 -05:00
|
|
|
|
2019-12-09 12:25:13 -05:00
|
|
|
background-color: var(--color-error);
|
|
|
|
border-left: 2px solid var(--color-text-error);
|
|
|
|
color: var(--color-text-error);
|
2018-10-17 12:14:24 -05:00
|
|
|
list-style: none;
|
|
|
|
overflow-y: scroll;
|
2019-02-01 03:23:34 -05:00
|
|
|
white-space: pre-wrap;
|
2018-03-26 14:32:43 -07:00
|
|
|
}
|