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

67 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;
2020-04-02 12:20:57 +00:00
border-radius: 1px;
2019-10-26 23:30:01 +00:00
position: absolute;
top: 0;
right: 0;
2020-04-02 12:20:57 +00:00
padding: 4px;
2019-10-26 23:30:01 +00:00
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;
2020-04-25 09:50:04 +00:00
& > h6 {
margin-bottom: $spacing-md;
}
2019-10-26 23:30:01 +00:00
& > .body > tpl-body {
display: block;
2020-04-02 12:52:02 +00:00
min-width: 256px;
}
2019-10-26 23:30:01 +00:00
& > .buttons > tpl-buttons {
display: block;
2020-04-02 12:52:02 +00:00
margin-top: 24px;
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;
2020-04-02 12:20:57 +00:00
border-radius: 1px;
2019-11-10 10:08:44 +00:00
color: $color-button;
font-family: vn-font-bold;
2020-04-02 12:20:57 +00:00
padding: 11px;
2020-04-02 14:29:13 +00:00
margin: -11px;
2020-04-02 12:20:57 +00:00
margin-left: 11px;
}
}
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
}