64 lines
1.6 KiB
SCSS
64 lines
1.6 KiB
SCSS
@import "effects";
|
|
|
|
.vn-dialog > .window {
|
|
position: relative;
|
|
|
|
& > .close {
|
|
@extend %clickable;
|
|
text-transform: uppercase;
|
|
background-color: transparent;
|
|
border: none;
|
|
border-radius: .1em;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: .3em;
|
|
color: #666;
|
|
}
|
|
& > form {
|
|
padding: $spacing-lg;
|
|
|
|
& > .body > tpl-body {
|
|
display: block;
|
|
min-width: 16em;
|
|
}
|
|
& > .buttons > tpl-buttons {
|
|
display: block;
|
|
margin-top: 1.5em;
|
|
text-align: right;
|
|
|
|
button,
|
|
input[type="button"],
|
|
input[type="submit"],
|
|
input[type="reset"] {
|
|
@extend %clickable;
|
|
text-transform: uppercase;
|
|
background-color: transparent;
|
|
border: none;
|
|
border-radius: .1em;
|
|
color: $color-button;
|
|
font-family: vn-font-bold;
|
|
padding: .7em;
|
|
margin: -0.7em;
|
|
margin-left: .7em;
|
|
}
|
|
}
|
|
}
|
|
& > .loading-overlap {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, .2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
transition: opacity 200ms ease-in-out;
|
|
|
|
&.shown {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|