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

117 lines
2.5 KiB
SCSS
Raw Normal View History

2018-05-31 11:57:48 +00:00
@import "effects";
2017-11-22 06:56:31 +00:00
.vn-dialog {
display: none;
justify-content: center;
align-items: center;
2018-02-22 12:40:23 +00:00
z-index: 11;
2017-11-22 06:56:31 +00:00
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 100%;
2018-05-31 11:57:48 +00:00
background-color: rgba(0, 0, 0, .6);
opacity: 0;
transition: opacity 300ms ease-in-out;
2017-11-22 06:56:31 +00:00
&.shown {
opacity: 1;
2017-11-22 06:56:31 +00:00
}
& > div {
position: relative;
2018-05-31 11:57:48 +00:00
box-shadow: 0 0 .4em rgba(0, 0, 0, .4);
2017-11-22 06:56:31 +00:00
background-color: white;
border-radius: .2em;
overflow: auto;
padding: 2em;
box-sizing: border-box;
tpl-body {
display: block;
width: 20em;
}
2018-03-07 14:05:09 +00:00
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
2018-05-31 11:57:48 +00:00
@extend %clickable;
2017-11-22 06:56:31 +00:00
text-transform: uppercase;
background-color: transparent;
border: none;
border-radius: .1em;
2017-11-22 06:56:31 +00:00
}
& > button.close {
position: absolute;
top: 0;
right: 0;
padding: .3em;
& > vn-icon {
display: block;
color: #666;
}
}
& > form > .buttons {
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"] {
color: $main-01;
font-family: vn-font-bold;
padding: .7em;
margin: -0.7em;
margin-left: .7em;
}
}
2017-11-22 06:56:31 +00:00
}
&.dialog-summary {
vn-card {
border: none;
box-shadow: none;
padding: 0;
& > div > vn-vertical {
padding: 0;
margin: 0
}
}
& > div > button.close > vn-icon {
color: $main-01;
}
& > div {
padding: 0
}
tpl-body {
width:auto;
background-color: transparent;
padding: 0 2em
}
.body {
overflow: auto;
margin-top: 2em;
max-height: 700px;
}
form {
min-width: 680px;
}
.buttons {
margin-top: 2em
}
vn-check label span {
font-size: .9em
}
}
2017-11-22 06:56:31 +00:00
}