From 29fbbbcc74de79ee8b3405ab290ce815c832d39e Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Thu, 11 Oct 2018 11:23:59 +0100 Subject: [PATCH] Formatting. --- frontend/src/views/About.vue | 183 +++++++++++++++++------------------ frontend/src/views/Home.vue | 71 +++++++++++++- 2 files changed, 158 insertions(+), 96 deletions(-) diff --git a/frontend/src/views/About.vue b/frontend/src/views/About.vue index d688855..98a2c31 100644 --- a/frontend/src/views/About.vue +++ b/frontend/src/views/About.vue @@ -39,111 +39,110 @@ export default { max-height: 100%; } .jello-horizontal { - -webkit-animation: jello-horizontal 0.9s both; - animation: jello-horizontal 0.9s both; + -webkit-animation: jello-horizontal 0.9s both; + animation: jello-horizontal 0.9s both; } .focus-in-expand-fwd { - -webkit-animation: focus-in-expand-fwd 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both; - animation: focus-in-expand-fwd 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both; + -webkit-animation: focus-in-expand-fwd 0.3s + cubic-bezier(0.25, 0.46, 0.45, 0.94) both; + animation: focus-in-expand-fwd 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; } /* ---------------------------------------------- * Generated by Animista on 2018-10-11 * w: http://animista.net, t: @cssanimista * ---------------------------------------------- */ @-webkit-keyframes jello-horizontal { - 0% { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); - } - 30% { - -webkit-transform: scale3d(1.25, 0.75, 1); - transform: scale3d(1.25, 0.75, 1); - } - 40% { - -webkit-transform: scale3d(0.75, 1.25, 1); - transform: scale3d(0.75, 1.25, 1); - } - 50% { - -webkit-transform: scale3d(1.15, 0.85, 1); - transform: scale3d(1.15, 0.85, 1); - } - 65% { - -webkit-transform: scale3d(0.95, 1.05, 1); - transform: scale3d(0.95, 1.05, 1); - } - 75% { - -webkit-transform: scale3d(1.05, 0.95, 1); - transform: scale3d(1.05, 0.95, 1); - } - 100% { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); - } + 0% { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + 100% { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } } @keyframes jello-horizontal { - 0% { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); - } - 30% { - -webkit-transform: scale3d(1.25, 0.75, 1); - transform: scale3d(1.25, 0.75, 1); - } - 40% { - -webkit-transform: scale3d(0.75, 1.25, 1); - transform: scale3d(0.75, 1.25, 1); - } - 50% { - -webkit-transform: scale3d(1.15, 0.85, 1); - transform: scale3d(1.15, 0.85, 1); - } - 65% { - -webkit-transform: scale3d(0.95, 1.05, 1); - transform: scale3d(0.95, 1.05, 1); - } - 75% { - -webkit-transform: scale3d(1.05, 0.95, 1); - transform: scale3d(1.05, 0.95, 1); - } - 100% { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); - } + 0% { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + 100% { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } } @-webkit-keyframes focus-in-expand-fwd { - 0% { - letter-spacing: -0.5em; - -webkit-transform: translateZ(-800px); - transform: translateZ(-800px); - -webkit-filter: blur(12px); - filter: blur(12px); - opacity: 0; - } - 100% { - -webkit-transform: translateZ(0); - transform: translateZ(0); - -webkit-filter: blur(0); - filter: blur(0); - opacity: 1; - } + 0% { + letter-spacing: -0.5em; + -webkit-transform: translateZ(-800px); + transform: translateZ(-800px); + -webkit-filter: blur(12px); + filter: blur(12px); + opacity: 0; + } + 100% { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-filter: blur(0); + filter: blur(0); + opacity: 1; + } } @keyframes focus-in-expand-fwd { - 0% { - letter-spacing: -0.5em; - -webkit-transform: translateZ(-800px); - transform: translateZ(-800px); - -webkit-filter: blur(12px); - filter: blur(12px); - opacity: 0; - } - 100% { - -webkit-transform: translateZ(0); - transform: translateZ(0); - -webkit-filter: blur(0); - filter: blur(0); - opacity: 1; - } + 0% { + letter-spacing: -0.5em; + -webkit-transform: translateZ(-800px); + transform: translateZ(-800px); + -webkit-filter: blur(12px); + filter: blur(12px); + opacity: 0; + } + 100% { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-filter: blur(0); + filter: blur(0); + opacity: 1; + } } - - diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index 261149a..d238ded 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -42,12 +42,75 @@ export default { max-width: 100%; max-height: 100%; } -.scale-in-center{-webkit-animation:scale-in-center .5s cubic-bezier(.25,.46,.45,.94) both;animation:scale-in-center .5s cubic-bezier(.25,.46,.45,.94) both} -.tracking-in-expand-fwd{-webkit-animation:tracking-in-expand-fwd .8s cubic-bezier(.215,.61,.355,1.000) both;animation:tracking-in-expand-fwd .8s cubic-bezier(.215,.61,.355,1.000) both} +.scale-in-center { + -webkit-animation: scale-in-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) + both; + animation: scale-in-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; +} +.tracking-in-expand-fwd { + -webkit-animation: tracking-in-expand-fwd 0.8s + cubic-bezier(0.215, 0.61, 0.355, 1) both; + animation: tracking-in-expand-fwd 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) + both; +} /* ---------------------------------------------- * Generated by Animista on 2018-10-11 * w: http://animista.net, t: @cssanimista * ---------------------------------------------- */ -@-webkit-keyframes scale-in-center{0%{-webkit-transform:scale(0);transform:scale(0);opacity:1}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes scale-in-center{0%{-webkit-transform:scale(0);transform:scale(0);opacity:1}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}} -@-webkit-keyframes tracking-in-expand-fwd{0%{letter-spacing:-.5em;-webkit-transform:translateZ(-700px);transform:translateZ(-700px);opacity:0}40%{opacity:.6}100%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes tracking-in-expand-fwd{0%{letter-spacing:-.5em;-webkit-transform:translateZ(-700px);transform:translateZ(-700px);opacity:0}40%{opacity:.6}100%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}} +@-webkit-keyframes scale-in-center { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + opacity: 1; + } + 100% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; + } +} +@keyframes scale-in-center { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + opacity: 1; + } + 100% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; + } +} +@-webkit-keyframes tracking-in-expand-fwd { + 0% { + letter-spacing: -0.5em; + -webkit-transform: translateZ(-700px); + transform: translateZ(-700px); + opacity: 0; + } + 40% { + opacity: 0.6; + } + 100% { + -webkit-transform: translateZ(0); + transform: translateZ(0); + opacity: 1; + } +} +@keyframes tracking-in-expand-fwd { + 0% { + letter-spacing: -0.5em; + -webkit-transform: translateZ(-700px); + transform: translateZ(-700px); + opacity: 0; + } + 40% { + opacity: 0.6; + } + 100% { + -webkit-transform: translateZ(0); + transform: translateZ(0); + opacity: 1; + } +}