2018-04-11 12:36:41 +00:00
|
|
|
@keyframes bdGrow
|
|
|
|
from
|
|
|
|
transform: scale(0)
|
|
|
|
to
|
|
|
|
transform: scale(1)
|
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
@keyframes bdSlideDown
|
|
|
|
from
|
|
|
|
opacity: 0
|
|
|
|
transform: translateY(-1rem)
|
|
|
|
to
|
|
|
|
opacity: 1
|
|
|
|
transform: translateY(0)
|
|
|
|
|
|
|
|
@keyframes bdSlideUp
|
|
|
|
from
|
|
|
|
opacity: 0
|
|
|
|
transform: translateY(1rem)
|
|
|
|
to
|
|
|
|
opacity: 1
|
|
|
|
transform: translateY(0)
|
|
|
|
|
2018-04-11 12:36:41 +00:00
|
|
|
$cubic-dramatic: cubic-bezier(0, 0.75, 0.25, 1)
|
|
|
|
$cubic-less-dramatic: cubic-bezier(0.14, 0.71, 0.29, 0.86)
|
|
|
|
$cubic-magic: cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
$duration: 500ms
|
2018-04-11 12:36:41 +00:00
|
|
|
$delay: 250ms
|
2018-04-11 13:01:00 +00:00
|
|
|
$wait: 500ms
|
2018-04-11 12:36:41 +00:00
|
|
|
|
2018-04-11 13:15:21 +00:00
|
|
|
$focus-delay: 1s
|
|
|
|
|
2018-04-11 12:36:41 +00:00
|
|
|
%bd-focus-animation
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-duration: $duration
|
2018-04-11 12:36:41 +00:00
|
|
|
animation-fill-mode: both
|
|
|
|
animation-timing-function: $cubic-less-dramatic
|
|
|
|
transform-origin: center center
|
|
|
|
|
2021-06-18 17:27:34 +00:00
|
|
|
$delay-subtitle: $delay * 0.5
|
2018-04-11 13:01:00 +00:00
|
|
|
|
2018-04-11 13:15:21 +00:00
|
|
|
// Intro
|
|
|
|
.intro-title
|
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-name: bdSlideDown
|
|
|
|
|
|
|
|
.intro-ghbtns,
|
|
|
|
.intro-author
|
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-delay: $focus-delay
|
|
|
|
animation-duration: $duration * 2
|
|
|
|
animation-name: bdFadeIn
|
|
|
|
|
|
|
|
.intro-npm
|
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-delay: $delay
|
|
|
|
animation-name: bdSlowIn
|
|
|
|
|
|
|
|
.intro-buttons .button
|
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-name: bdSlowIn
|
|
|
|
&:first-child
|
|
|
|
animation-delay: $delay * 2
|
|
|
|
&:last-child
|
|
|
|
animation-delay: $delay * 3
|
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
// Titles
|
|
|
|
.bd-focus-item
|
|
|
|
.title
|
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-name: bdSlideDown
|
|
|
|
.subtitle
|
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-name: bdSlideUp
|
|
|
|
&:nth-child(1)
|
2018-04-11 13:15:21 +00:00
|
|
|
.title
|
|
|
|
animation-delay: $focus-delay
|
2018-04-11 13:01:00 +00:00
|
|
|
.subtitle
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + $delay-subtitle
|
2018-04-11 13:01:00 +00:00
|
|
|
&:nth-child(2)
|
|
|
|
.title
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + $wait
|
2018-04-11 13:01:00 +00:00
|
|
|
.subtitle
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + $wait + $delay-subtitle
|
2018-04-11 13:01:00 +00:00
|
|
|
&:nth-child(3)
|
|
|
|
.title
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + ($wait * 2)
|
2018-04-11 13:01:00 +00:00
|
|
|
.subtitle
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + ($wait * 2) + $delay-subtitle
|
2018-04-11 13:01:00 +00:00
|
|
|
&:nth-child(4)
|
|
|
|
.title
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + ($wait * 3)
|
2018-04-11 13:01:00 +00:00
|
|
|
.subtitle
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + ($wait * 3) + $delay-subtitle
|
2018-04-11 13:01:00 +00:00
|
|
|
|
|
|
|
// Devices
|
|
|
|
%bd-focus-animation-device
|
2018-04-11 12:36:41 +00:00
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-name: bdGrow
|
|
|
|
transform-origin: bottom center
|
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
.bd-focus-mobile
|
|
|
|
@extend %bd-focus-animation-device
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay
|
2018-04-11 13:01:00 +00:00
|
|
|
|
2018-04-11 12:36:41 +00:00
|
|
|
.bd-focus-tablet
|
2018-04-11 13:01:00 +00:00
|
|
|
@extend %bd-focus-animation-device
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + $delay
|
2018-04-11 12:36:41 +00:00
|
|
|
|
|
|
|
.bd-focus-desktop
|
2018-04-11 13:01:00 +00:00
|
|
|
@extend %bd-focus-animation-device
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + ($delay * 2)
|
2018-04-11 12:36:41 +00:00
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
// Cubes
|
2018-04-11 12:36:41 +00:00
|
|
|
$cube-factor: 10px
|
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
@keyframes bdCube1
|
2018-04-11 12:36:41 +00:00
|
|
|
0%
|
|
|
|
transform: translate3d(0, (-5 * $cube-factor), 0)
|
|
|
|
opacity: 0
|
|
|
|
25%, 100%
|
|
|
|
transform: translate3d(0, 0, 0)
|
|
|
|
opacity: 1
|
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
@keyframes bdCube2
|
2018-04-11 12:36:41 +00:00
|
|
|
0%
|
|
|
|
transform: translate3d((-4 * $cube-factor), (3 * $cube-factor), 0)
|
|
|
|
opacity: 0
|
|
|
|
25%, 100%
|
|
|
|
transform: translate3d(0, 0, 0)
|
|
|
|
opacity: 1
|
|
|
|
|
2018-04-11 13:01:00 +00:00
|
|
|
@keyframes bdCube3
|
2018-04-11 12:36:41 +00:00
|
|
|
0%
|
|
|
|
transform: translate3d((4 * $cube-factor), (3 * $cube-factor), 0)
|
|
|
|
opacity: 0
|
|
|
|
25%, 100%
|
|
|
|
transform: translate3d(0, 0, 0)
|
|
|
|
opacity: 1
|
|
|
|
|
|
|
|
%bd-focus-animation-cube
|
|
|
|
@extend %bd-focus-animation
|
|
|
|
animation-direction: alternate
|
2018-04-11 13:01:00 +00:00
|
|
|
animation-duration: $duration * 4
|
|
|
|
animation-iteration-count: infinite
|
2018-04-11 12:36:41 +00:00
|
|
|
|
|
|
|
.bd-focus-cube-1
|
|
|
|
@extend %bd-focus-animation-cube
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + $wait
|
2018-04-11 13:01:00 +00:00
|
|
|
animation-name: bdCube1
|
2018-04-11 12:36:41 +00:00
|
|
|
|
|
|
|
.bd-focus-cube-2
|
|
|
|
@extend %bd-focus-animation-cube
|
2018-04-11 13:01:00 +00:00
|
|
|
animation-name: bdCube2
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + $wait + $delay
|
2018-04-11 12:36:41 +00:00
|
|
|
|
|
|
|
.bd-focus-cube-3
|
|
|
|
@extend %bd-focus-animation-cube
|
2018-04-11 13:01:00 +00:00
|
|
|
animation-name: bdCube3
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + $wait + ($delay * 2)
|
2018-04-11 12:36:41 +00:00
|
|
|
|
2018-04-11 13:15:21 +00:00
|
|
|
@keyframes bdFadeIn
|
|
|
|
from
|
|
|
|
opacity: 0
|
|
|
|
to
|
|
|
|
opacity: 1
|
|
|
|
|
|
|
|
@keyframes bdSlowIn
|
|
|
|
from
|
|
|
|
opacity: 0
|
|
|
|
transform: scale(0.9)
|
|
|
|
to
|
|
|
|
opacity: 1
|
|
|
|
transform: scale(1)
|
|
|
|
|
|
|
|
@keyframes bdScaleIn
|
2018-04-11 13:01:00 +00:00
|
|
|
from
|
|
|
|
opacity: 0
|
|
|
|
transform: scale(0)
|
|
|
|
to
|
|
|
|
opacity: 1
|
|
|
|
transform: scale(1)
|
|
|
|
|
|
|
|
.bd-focus-css3
|
|
|
|
@extend %bd-focus-animation
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + ($wait * 2)
|
|
|
|
animation-name: bdScaleIn
|
2018-04-11 13:01:00 +00:00
|
|
|
|
|
|
|
.bd-focus-github
|
|
|
|
@extend %bd-focus-animation
|
2018-04-11 13:15:21 +00:00
|
|
|
animation-delay: $focus-delay + ($wait * 3)
|
2018-04-11 13:01:00 +00:00
|
|
|
animation-duration: $duration * 3
|
|
|
|
animation-name: bdJellyPop
|
|
|
|
|
|
|
|
@keyframes bdJellyPop
|
2018-04-11 12:36:41 +00:00
|
|
|
0%
|
2018-04-11 13:01:00 +00:00
|
|
|
opacity: 0
|
|
|
|
transform: matrix3d(0.1, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
3.4%
|
2018-04-11 13:01:00 +00:00
|
|
|
opacity: 1
|
|
|
|
transform: matrix3d(0.384, 0, 0, 0, 0, 0.466, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
4.7%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.505, 0, 0, 0, 0, 0.639, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
6.81%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.693, 0, 0, 0, 0, 0.904, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
9.41%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.895, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
10.21%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.947, 0, 0, 0, 0, 1.204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
13.61%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.111, 0, 0, 0, 0, 1.299, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
14.11%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.127, 0, 0, 0, 0, 1.298, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
17.52%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.187, 0, 0, 0, 0, 1.216, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
18.72%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.191, 0, 0, 0, 0, 1.169, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
21.32%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.177, 0, 0, 0, 0, 1.062, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
24.32%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.135, 0, 0, 0, 0, 0.964, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
25.23%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.121, 0, 0, 0, 0, 0.944, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
29.03%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.057, 0, 0, 0, 0, 0.907, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
29.93%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.043, 0, 0, 0, 0, 0.909, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
35.54%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.981, 0, 0, 0, 0, 0.966, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
36.74%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.974, 0, 0, 0, 0, 0.981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
41.04%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.965, 0, 0, 0, 0, 1.02, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
44.44%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.969, 0, 0, 0, 0, 1.029, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
52.15%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.992, 0, 0, 0, 0, 1.006, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
59.86%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.005, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
63.26%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.007, 0, 0, 0, 0, 0.993, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
75.28%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(1.001, 0, 0, 0, 0, 1.003, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
85.49%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
90.69%
|
2018-04-11 13:01:00 +00:00
|
|
|
transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|
2018-04-11 12:36:41 +00:00
|
|
|
100%
|
2018-04-11 13:01:00 +00:00
|
|
|
opacity: 1
|
|
|
|
transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
|