Fixed notification message on top

stable
Xavier Julián 2014-10-13 12:17:49 +02:00
parent 219258af14
commit 8cf273353d
1 changed files with 3 additions and 1 deletions

View File

@ -2,8 +2,9 @@
@include transform(translateY(-100%));
background: rgba($gray-light, .95);
color: $white;
opacity: 0;
padding: 1rem;
position: absolute;
position: fixed;
top: 0;
width: 100%;
z-index: 99920;
@ -13,6 +14,7 @@
&.active {
@include transform(translateY(0));
@include transition (all .6s ease-in-out);
opacity: 1;
}
.text {
display: inline-block;