[backport] Fixed notification message on top
parent
1760000983
commit
721e8a5795
|
@ -2,8 +2,9 @@
|
||||||
@include transform(translateY(-100%));
|
@include transform(translateY(-100%));
|
||||||
background: rgba($gray-light, .95);
|
background: rgba($gray-light, .95);
|
||||||
color: $white;
|
color: $white;
|
||||||
|
opacity: 0;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 99920;
|
z-index: 99920;
|
||||||
|
@ -13,6 +14,7 @@
|
||||||
&.active {
|
&.active {
|
||||||
@include transform(translateY(0));
|
@include transform(translateY(0));
|
||||||
@include transition (all .6s ease-in-out);
|
@include transition (all .6s ease-in-out);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.text {
|
.text {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in New Issue