salix/client/core/src/components/dialog/style.scss

68 lines
1.6 KiB
SCSS
Raw Normal View History

2017-11-22 06:56:31 +00:00
.vn-dialog {
display: none;
justify-content: center;
align-items: center;
2018-02-22 07:18:57 +00:00
z-index: 10;
2017-11-22 06:56:31 +00:00
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: rgba(1, 1, 1, .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;
box-shadow: 0 0 .4em rgba(1,1,1,.4);
background-color: white;
border-radius: .2em;
overflow: auto;
padding: 2em;
box-sizing: border-box;
tpl-body {
display: block;
width: 20em;
}
2017-11-22 06:56:31 +00:00
button {
text-transform: uppercase;
background-color: transparent;
border: none;
2017-11-22 06:56:31 +00:00
cursor: pointer;
transition: background-color 250ms;
border-radius: .1em;
2017-11-22 06:56:31 +00:00
&:hover {
background-color: rgba(1,1,1,.1);
}
}
& > 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
}
}