aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/lib/animation.scss
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-03-17 23:30:16 +1100
committerSam Potts <sam@potts.es>2018-03-17 23:30:16 +1100
commit600f0eb8a3cf49f5268e5c15487797d496bc19b6 (patch)
treeae7d43ee753035458e5927b66eb588ff26d58afd /src/sass/lib/animation.scss
parente0562752eaa4553466b78fb6828d05147a0891d1 (diff)
parent5db73b13276bf50357cc98896421318de66ab042 (diff)
downloadplyr-600f0eb8a3cf49f5268e5c15487797d496bc19b6.tar.lz
plyr-600f0eb8a3cf49f5268e5c15487797d496bc19b6.tar.xz
plyr-600f0eb8a3cf49f5268e5c15487797d496bc19b6.zip
Merge branch 'beta'
# Conflicts: # readme.md
Diffstat (limited to 'src/sass/lib/animation.scss')
-rw-r--r--src/sass/lib/animation.scss31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/sass/lib/animation.scss b/src/sass/lib/animation.scss
new file mode 100644
index 00000000..b6c22d42
--- /dev/null
+++ b/src/sass/lib/animation.scss
@@ -0,0 +1,31 @@
+// --------------------------------------------------------------
+// Animations
+// --------------------------------------------------------------
+
+@keyframes plyr-progress {
+ to {
+ background-position: $plyr-progress-loading-size 0;
+ }
+}
+
+@keyframes plyr-popup {
+ 0% {
+ opacity: 0.5;
+ transform: translateY(10px);
+ }
+
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+@keyframes plyr-fade-in {
+ from {
+ opacity: 0;
+ }
+
+ to {
+ opacity: 1;
+ }
+}