This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
/
Onboarding.css
108 lines (95 loc) · 1.89 KB
/
Onboarding.css
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
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fade-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.wrapper {
left: 50%;
margin: auto;
max-width: 100%;
position: absolute;
text-align: center;
transform: translate3d(-50%, 0, 0);
width: 512px;
> div,
> section,
> form {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100vh;
width: 100%;
> header,
> main,
> footer {
width: 100%;
padding: 0 16px;
}
> main {
display: flex;
flex: 1 1 auto;
flex-direction: column;
justify-content: center;
}
> header,
> footer {
flex: 0 1 auto;
padding: 16px;
}
}
}
.body-home {
background-image: url(images/hello-back.png), url(images/bg-green.svg);
background-size: contain, 100% 100%;
background-position: center;
}
.body-done {
background-image: url(images/balloons.png), url(images/bg-green.svg);
background-size: contain, 100% 100%;
background-position: center;
}
.formGroup {
text-align: left;
margin: 0 0 16px 0;
}
.seed {
letter-spacing: 5px;
font-size: 150%;
}
.qrScanner {
width: 640px;
max-width: 100%;
margin: auto;
transform: rotateY(180deg);
video {
max-width: 100%;
}
}
.pageTransition {
opacity: 1;
&-enter {
animation-name: fade-in;
animation-duration: 0.3s;
animation-fill-mode: both;
animation-timing-function: ease;
z-index: 1;
}
&-exit {
animation-name: fade-out;
animation-duration: 0.3s;
animation-fill-mode: both;
animation-timing-function: ease;
}
}