-
Notifications
You must be signed in to change notification settings - Fork 0
/
animations.sass
88 lines (70 loc) · 1.4 KB
/
animations.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
@keyframes shine-through
0%
opacity: 0
transform: translateX(-150%) rotate(45deg)
50%
opacity: 0.5
100%
opacity: 0
transform: translateX(150%) rotate(45deg)
@keyframes absorb-bottom-shock
40%
transform: translateY(10px)
@keyframes limited-shock-left
40%
transform: translateX(-5px)
@keyframes limited-shock-right
40%
transform: translateX(5px)
@keyframes score-alert
0%
transform: translate(-50%, -50%) scale(0.8)
opacity: 0
0%,100%
background-position: 0 0
40%
opacity: 0.7
50%
background-position: 100% 0
to
transform: translate(-50%, -50%) scale(5)
@keyframes stat-highlight
0%
opacity: 0.4
transform: scale(1)
filter: blur(5px)
50%
transform: scale(1.2)
100%
transform: scale(1)
@keyframes row-clear
0%
z-index: var(--z-row-clear)
filter: blur(5px) brightness(2)
transform: scale(1)
50%
transform: scale(1.5)
100%
transform: scale(1)
.shine-button
position: relative
width: 150px
height: 50px
background-color: #333
color: white
text-align: center
line-height: 50px
overflow: hidden
border-radius: 5px
.shine-button:before
content: ""
position: absolute
top: -150%
left: -150%
width: 200%
height: 200%
background: rgba(255, 255, 255, 0.5)
opacity: 0
transform: rotate(45deg)
pointer-events: none
animation: shine 3s infinite ease-in-out