2017-04-12 22:23:20 +02:00
|
|
|
@import "../global";
|
|
|
|
|
2017-05-24 23:53:03 +02:00
|
|
|
.modal-overlay, .error-modal-overlay {
|
2017-04-12 22:23:20 +02:00
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.74902);
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-overlay--clear {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
border: 1px solid rgb(204, 204, 204);
|
|
|
|
background: rgb(255, 255, 255);
|
|
|
|
overflow: auto;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: $spacing-vertical;
|
2017-04-27 05:54:53 +02:00
|
|
|
box-shadow: $box-shadow-layer;
|
2017-04-12 22:23:20 +02:00
|
|
|
max-width: 400px;
|
2017-07-28 22:36:39 +02:00
|
|
|
|
2017-07-29 18:59:47 +02:00
|
|
|
word-break: break-word;
|
2017-04-12 22:23:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal__header {
|
2017-07-28 03:13:12 +02:00
|
|
|
margin-bottom: $spacing-vertical * 2/3;
|
2017-04-12 22:23:20 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
2017-07-28 03:13:12 +02:00
|
|
|
margin-top: $spacing-vertical * 2/3;
|
2017-04-12 22:23:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal__button {
|
|
|
|
margin: 0px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal-overlay {
|
|
|
|
background: rgba(#000, .88);
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal__content {
|
|
|
|
display: flex;
|
|
|
|
padding: 0px 8px 10px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal__warning-symbol {
|
|
|
|
margin-top: 6px;
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.download-started-modal__file-path {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal {
|
|
|
|
max-width: none;
|
|
|
|
width: 400px;
|
|
|
|
}
|
2017-08-18 19:09:40 +02:00
|
|
|
.error-modal__error-list { /*shitty hack/temp fix for long errors making modal unusable*/
|
2017-04-12 22:23:20 +02:00
|
|
|
border: 1px solid #eee;
|
|
|
|
padding: 8px;
|
|
|
|
list-style: none;
|
|
|
|
max-height: 400px;
|
|
|
|
max-width: 400px;
|
|
|
|
overflow-y: hidden;
|
2017-07-29 18:59:47 +02:00
|
|
|
}
|