2019-10-21 11:28:09 +02:00
|
|
|
#layout > #modal {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, .6);
|
|
|
|
opacity: 0;
|
|
|
|
font-size: @font-size;
|
|
|
|
line-height: @line-height;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity .2s ease-in; // This is coupled with a `setTimout` in modal.js
|
|
|
|
z-index: 1000;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
2020-05-14 16:55:58 +02:00
|
|
|
|
|
|
|
> div {
|
|
|
|
height: 100%;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2019-10-21 11:28:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#modal-content {
|
|
|
|
display: flex;
|
|
|
|
flex: 10;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
> .content {
|
|
|
|
padding: 1em;
|
|
|
|
|
2021-04-15 17:57:54 +02:00
|
|
|
> .icinga-form {
|
2019-10-21 11:28:09 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#modal-ghost {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-area {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header {
|
|
|
|
padding: .25em 0;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
> button {
|
|
|
|
position: absolute;
|
2020-06-04 16:17:39 +02:00
|
|
|
top: .75em;
|
2021-09-29 14:29:57 +02:00
|
|
|
right: 1em;
|
2019-10-21 11:28:09 +02:00
|
|
|
|
2022-02-08 12:23:37 +01:00
|
|
|
background-color: @gray;
|
2019-10-21 11:28:09 +02:00
|
|
|
border: none;
|
|
|
|
border-radius: 50%;
|
2022-02-08 12:23:37 +01:00
|
|
|
color: @text-color-inverted;
|
2020-06-04 16:17:39 +02:00
|
|
|
height: 1.5em;
|
2019-10-21 11:28:09 +02:00
|
|
|
line-height: 1em;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
2020-06-04 16:17:39 +02:00
|
|
|
width: 1.5em;
|
2019-10-21 11:28:09 +02:00
|
|
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
-ms-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
}
|
|
|
|
|
2020-06-04 16:17:39 +02:00
|
|
|
> button:hover {
|
|
|
|
opacity: .8;
|
2019-10-21 11:28:09 +02:00
|
|
|
}
|
|
|
|
|
2020-06-04 16:17:39 +02:00
|
|
|
> button > .icon-cancel:before {
|
|
|
|
margin-right: 0;
|
2019-10-21 11:28:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header h1 {
|
|
|
|
padding: .25em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-window {
|
2020-05-14 16:55:58 +02:00
|
|
|
overflow: auto;
|
|
|
|
pointer-events: auto;
|
|
|
|
|
2019-10-21 11:28:09 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2022-02-08 12:23:37 +01:00
|
|
|
background-color: @body-bg-color;
|
2019-10-21 11:28:09 +02:00
|
|
|
border-radius: .5em;
|
|
|
|
box-shadow: 0 0 2em 0 rgba(0, 0, 0, .6);
|
|
|
|
flex: 1;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-height: 80%;
|
|
|
|
min-height: 40vh;
|
2020-05-14 16:55:58 +02:00
|
|
|
max-width: 60em;
|
2019-10-21 11:28:09 +02:00
|
|
|
}
|