2018-05-14 10:54:17 +00:00
|
|
|
@import "colors";
|
2018-02-20 09:00:19 +00:00
|
|
|
vn-snackbar > div {
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: #333;
|
|
|
|
color: white;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
width: 20em;
|
|
|
|
margin-left: -10em;
|
|
|
|
padding: 1em;
|
|
|
|
border-top-left-radius: .2em;
|
|
|
|
border-top-right-radius: .2em;
|
|
|
|
transform: translateY(10em);
|
|
|
|
transition: transform 300ms ease-in-out;
|
|
|
|
z-index: 100;
|
|
|
|
box-shadow: 0 0 .4em rgba(1,1,1,.4);
|
|
|
|
|
|
|
|
&.shown {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
&.notice {
|
|
|
|
background-color: #1e88e5;
|
|
|
|
|
|
|
|
& > button {
|
|
|
|
color: rgba(1, 1, 1, 0.6);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.error {
|
|
|
|
background-color: #c62828;
|
|
|
|
|
|
|
|
& > button {
|
|
|
|
color: rgba(1, 1, 1, 0.6);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > button {
|
|
|
|
cursor: pointer;
|
|
|
|
float: right;
|
|
|
|
text-transform: uppercase;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
font-weight: bold;
|
2018-05-14 10:54:17 +00:00
|
|
|
color: $main-01;
|
2018-05-31 12:40:42 +00:00
|
|
|
padding: .5em;
|
|
|
|
margin: -.5em;
|
|
|
|
margin-left: .5em;
|
2018-02-20 09:00:19 +00:00
|
|
|
}
|
|
|
|
}
|