Skip to content
Snippets Groups Projects
Commit 5004ad73 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improved error animation

parent 1fcbff34
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,15 @@ ...@@ -7,6 +7,15 @@
margin-top: 0 margin-top: 0
opacity: 1 opacity: 1
@keyframes slidein_error
from
margin-top: 6rem
opacity: 0
to
margin-top: 4rem
opacity: 1
@keyframes slidein_msg_before @keyframes slidein_msg_before
from from
margin-bottom: .5rem margin-bottom: .5rem
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
height: 100% height: 100%
margin: 4rem margin: 4rem
animation-duration: 0.6s animation-duration: 0.6s
animation-name: slidein animation-name: slidein_error
img img
max-width: 100% max-width: 100%
......
...@@ -952,7 +952,7 @@ body { ...@@ -952,7 +952,7 @@ body {
height: 100%; height: 100%;
margin: 4rem; margin: 4rem;
animation-duration: 0.6s; animation-duration: 0.6s;
animation-name: slidein; } animation-name: slidein_error; }
.results .error img { .results .error img {
max-width: 100%; } max-width: 100%; }
.results .error h1 { .results .error h1 {
...@@ -1274,6 +1274,14 @@ body { ...@@ -1274,6 +1274,14 @@ body {
margin-top: 0; margin-top: 0;
opacity: 1; } } opacity: 1; } }
@keyframes slidein_error {
from {
margin-top: 6rem;
opacity: 0; }
to {
margin-top: 4rem;
opacity: 1; } }
@keyframes slidein_msg_before { @keyframes slidein_msg_before {
from { from {
margin-bottom: .5rem; margin-bottom: .5rem;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment