salix/front/core/components/dialog/style.scss

64 lines
1.6 KiB
SCSS
Raw Normal View History

2018-05-31 11:57:48 +00:00
@import "effects";
2019-10-26 23:30:01 +00:00
.vn-dialog > .window {
2019-10-30 15:57:14 +00:00
position: relative;
2017-11-22 06:56:31 +00:00
2019-10-26 23:30:01 +00:00
& > .close {
@extend %clickable;
text-transform: uppercase;
background-color: transparent;
border: none;
border-radius: .1em;
position: absolute;
top: 0;
right: 0;
padding: .3em;
color: #666;
2017-11-22 06:56:31 +00:00
}
2019-10-26 23:30:01 +00:00
& > form {
2019-10-30 15:57:14 +00:00
padding: $spacing-lg;
2019-10-26 23:30:01 +00:00
& > .body > tpl-body {
display: block;
2019-10-23 15:38:35 +00:00
min-width: 16em;
}
2019-10-26 23:30:01 +00:00
& > .buttons > tpl-buttons {
display: block;
margin-top: 1.5em;
text-align: right;
2018-03-07 14:05:09 +00:00
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
@extend %clickable;
text-transform: uppercase;
background-color: transparent;
border: none;
border-radius: .1em;
2019-11-10 10:08:44 +00:00
color: $color-button;
font-family: vn-font-bold;
padding: .7em;
margin: -0.7em;
margin-left: .7em;
}
}
2017-11-22 06:56:31 +00:00
}
2019-10-30 15:57:14 +00:00
& > .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;
}
}
2017-11-22 06:56:31 +00:00
}