summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/styles/animations.css
blob: 5fcebb93f67b4e456f056782921cffae3491a6b6 (plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
:root {
  --animate-pulse: pulse-opacity 2s ease-in-out infinite;
}

@keyframes pulse-opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up-text {
  animation: fadeUp 0.4s ease-out forwards;
  opacity: 0;

  &:nth-child(1) {
    animation-delay: 0.1s;
  }
  &:nth-child(2) {
    animation-delay: 0.2s;
  }
  &:nth-child(3) {
    animation-delay: 0.3s;
  }
  &:nth-child(4) {
    animation-delay: 0.4s;
  }
  &:nth-child(5) {
    animation-delay: 0.5s;
  }
  &:nth-child(6) {
    animation-delay: 0.6s;
  }
  &:nth-child(7) {
    animation-delay: 0.7s;
  }
  &:nth-child(8) {
    animation-delay: 0.8s;
  }
  &:nth-child(9) {
    animation-delay: 0.9s;
  }
  &:nth-child(10) {
    animation-delay: 1s;
  }
  &:nth-child(11) {
    animation-delay: 1.1s;
  }
  &:nth-child(12) {
    animation-delay: 1.2s;
  }
  &:nth-child(13) {
    animation-delay: 1.3s;
  }
  &:nth-child(14) {
    animation-delay: 1.4s;
  }
  &:nth-child(15) {
    animation-delay: 1.5s;
  }
  &:nth-child(16) {
    animation-delay: 1.6s;
  }
  &:nth-child(17) {
    animation-delay: 1.7s;
  }
  &:nth-child(18) {
    animation-delay: 1.8s;
  }
  &:nth-child(19) {
    animation-delay: 1.9s;
  }
  &:nth-child(20) {
    animation-delay: 2s;
  }
  &:nth-child(21) {
    animation-delay: 2.1s;
  }
  &:nth-child(22) {
    animation-delay: 2.2s;
  }
  &:nth-child(23) {
    animation-delay: 2.3s;
  }
  &:nth-child(24) {
    animation-delay: 2.4s;
  }
  &:nth-child(25) {
    animation-delay: 2.5s;
  }
  &:nth-child(26) {
    animation-delay: 2.6s;
  }
  &:nth-child(27) {
    animation-delay: 2.7s;
  }
  &:nth-child(28) {
    animation-delay: 2.8s;
  }
  &:nth-child(29) {
    animation-delay: 2.9s;
  }
  &:nth-child(30) {
    animation-delay: 3s;
  }
}