mirror of
https://github.com/libretro/RetroArch
synced 2025-04-24 15:02:35 +00:00
Merge pull request #3553 from RobLoach/patch-5
emscripten: Add a glowing animation when loading
This commit is contained in:
commit
37fe47c209
@ -16,11 +16,34 @@
|
|||||||
*/
|
*/
|
||||||
.webplayer-preview {
|
.webplayer-preview {
|
||||||
cursor: wait;
|
cursor: wait;
|
||||||
opacity: 0.3;
|
opacity: 0.2;
|
||||||
|
transition: all 0.8s;
|
||||||
|
-webkit-animation: loading 0.8s ease-in-out infinite alternate;
|
||||||
|
-moz-animation: loading 0.8s ease-in-out infinite alternate;
|
||||||
|
animation: loading 0.8s ease-in-out infinite alternate;
|
||||||
}
|
}
|
||||||
.webplayer-preview.loaded {
|
.webplayer-preview.loaded {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
-webkit-animation: loaded 0.8s ease-in-out;
|
||||||
|
-moz-animation: loaded 0.8s ease-in-out;
|
||||||
|
animation: loaded 0.8s ease-in-out;
|
||||||
|
}
|
||||||
|
@-webkit-keyframes loaded {
|
||||||
|
from {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes loading {
|
||||||
|
from {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 0.35;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,4 +78,4 @@ textarea {
|
|||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user