frontend/source/sass/components/_dialogs.scss
// Nicer popups
.dialog[aria-hidden="true"] {
display: none;
}
.dialog-overlay {
z-index: 2;
background-color: rgba(0, 0, 0, 0.66);
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: hidden;
}
.dialog-content {
z-index: 3;
background-color: $color-white;
position: fixed;
border-radius: $border-radius;
top: 50%;
left: 50%;
padding: 2em;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
@include media($medium-screen) {
width: 500px;
}
form {
margin-bottom: 0;
display: inline-block;
}
p {
font-weight: $font-weight-bold;
}
}
.dialog-buttons {
button[type="submit"] {
display: inline-block;
margin-top: inherit;
margin-bottom: inherit;
}
}