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

74 lines
1.8 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;
2019-02-01 12:01:09 +00:00
z-index: 20;
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;
2019-01-20 15:47:04 +00:00
padding: 3em;
box-sizing: border-box;
2017-11-22 06:56:31 +00:00
&.shown {
opacity: 1;
2017-11-22 06:56:31 +00:00
}
& > div {
position: relative;
2019-02-08 16:49:51 +00:00
box-shadow: 0 0 .4em $color-shadow;
2019-02-13 13:01:37 +00:00
background-color: $color-bg-panel;
2017-11-22 06:56:31 +00:00
border-radius: .2em;
overflow: auto;
padding: 2em;
box-sizing: border-box;
2019-01-20 15:47:04 +00:00
max-height: 100%;
2017-11-22 06:56:31 +00:00
tpl-body {
display: block;
width: 20em;
}
& > button.close {
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;
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"] {
@extend %clickable;
text-transform: uppercase;
background-color: transparent;
border: none;
border-radius: .1em;
2019-02-08 16:49:51 +00:00
color: $color-main;
font-family: vn-font-bold;
padding: .7em;
margin: -0.7em;
margin-left: .7em;
}
}
2017-11-22 06:56:31 +00:00
}
}