Add missing keyframe file

master
Torjus 2018-07-31 14:13:42 +02:00
parent e3b85adb35
commit b2cc744cf0
3 changed files with 23 additions and 2 deletions

View File

@ -179,13 +179,13 @@
.room-controls { .room-controls {
visibility: hidden; visibility: hidden;
animation: fade-out 0.5s; animation: fade-out 0.3s;
opacity: 0; opacity: 0;
&.visible { &.visible {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
animation: fade-in 0.5s; animation: fade-in 0.3s;
} }
} }

View File

@ -5,6 +5,7 @@ global-reset();
@import './mixins'; @import './mixins';
@import './fonts'; @import './fonts';
@import './reset'; @import './reset';
@import './keyframes';
html { html {
height: 100%; height: 100%;

View File

@ -0,0 +1,20 @@
@keyframes fade-in {
from {
opacity: 0;
visibility: hidden;
}
to {
opacity: 1;
visibility: visible;
}
}
@keyframes fade-out {
from {
opacity: 1;
visibility: visible;
}
to {
opacity: 0;
visibility: hidden;
}
}