2017-11-22 06:56:31 +00:00
|
|
|
.vn-dialog {
|
|
|
|
display: none;
|
2018-02-20 09:00:19 +00:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
z-index: 50;
|
2017-11-22 06:56:31 +00:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2018-02-20 09:00:19 +00:00
|
|
|
background-color: rgba(1, 1, 1, .6);
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 300ms ease-in-out;
|
2017-11-22 06:56:31 +00:00
|
|
|
|
2018-02-20 09:00:19 +00:00
|
|
|
&.shown {
|
|
|
|
opacity: 1;
|
2017-11-22 06:56:31 +00:00
|
|
|
}
|
|
|
|
& > div {
|
|
|
|
position: relative;
|
|
|
|
box-shadow: 0 0 .4em rgba(1,1,1,.4);
|
|
|
|
background-color: white;
|
|
|
|
border-radius: .2em;
|
|
|
|
overflow: auto;
|
|
|
|
padding: 2em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2018-02-20 09:00:19 +00:00
|
|
|
tpl-body {
|
|
|
|
display: block;
|
|
|
|
width: 20em;
|
|
|
|
}
|
2017-11-22 06:56:31 +00:00
|
|
|
button {
|
|
|
|
text-transform: uppercase;
|
2018-02-20 09:00:19 +00:00
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
2017-11-22 06:56:31 +00:00
|
|
|
cursor: pointer;
|
2018-02-20 09:00:19 +00:00
|
|
|
transition: background-color 250ms;
|
|
|
|
border-radius: .1em;
|
|
|
|
|
2017-11-22 06:56:31 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: rgba(1,1,1,.1);
|
|
|
|
}
|
|
|
|
}
|
2018-02-20 09:00:19 +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;
|
|
|
|
|
|
|
|
button {
|
|
|
|
color: #ffa410;
|
|
|
|
font-family: vn-font-bold;
|
|
|
|
padding: .7em;
|
|
|
|
margin: -0.7em;
|
|
|
|
margin-left: .7em;
|
|
|
|
}
|
|
|
|
}
|
2017-11-22 06:56:31 +00:00
|
|
|
}
|
|
|
|
}
|