-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
220 lines (197 loc) · 4.02 KB
/
app.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: rgb(236, 236, 236);
}
/* ---------------------- ANIMATIONS STARTS HERE ------------------- */
.slide-down {
animation: slide-down 1s ease;
-webkit-animation: slide-down 1s ease;
animation-fill-mode: forwards;
}
@keyframes slide-down {
from {
opacity: 1;
}
to {
margin-top: 50px;
opacity: 0;
}
}
.slide-up {
animation: slide-up 1s ease;
-webkit-animation: slide-up 1s ease;
animation-fill-mode: forwards;
}
@keyframes slide-up {
from {
margin-top: 50px;
opacity: 0;
}
to {
margin-top: 17px;
opacity: 1;
}
}
.slide-right1 {
animation: slide-right1 1s linear;
-webkit-animation: slide-right1 1s linear;
animation-fill-mode: forwards;
animation-delay: 0.7s
}
@keyframes slide-right1 {
from {
visibility: visible;
left: 5px;
}
to {
left: 80px;
visibility: visible;
}
}
.slide-left1 {
animation: slide-left1 1s linear;
-webkit-animation: slide-left1 1s linear;
animation-fill-mode: forwards;
}
@keyframes slide-left1 {
from { left: 80px; visibility: visible}
to {left: 0; visibility: hidden}
}
.slide-left {
animation: slide-left 1s linear;
-webkit-animation: slide-left 1s linear;
animation-fill-mode: forwards;
animation-delay: 1.5s;
}
@keyframes slide-left {
from {
visibility: visible;
right: 5px;
}
to {
right: 80px;
opacity: 1;
visibility: visible;
}
}
.slide-right {
animation: slide-right 1s linear;
-webkit-animation: slide-right 1s linear;
animation-fill-mode: forwards;
}
@keyframes slide-right {
from { right: 80px; visibility: visible;}
to {right: 0; visibility: hidden;}
}
/* ---------------------- ANIMATIONS ENDS HERE ------------------- */
.container {
margin: 100px auto;
width: 80%;
height: 400px;
max-width: 500px;
background-color: white;
padding-top: 10px;
}
.container > p {
text-align: center;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
color: grey;
margin-top: 50px;
}
.container > p:nth-of-type(1) {
color: rgb(85, 146, 141);
font-size: 12px;
}
.send {
width: 200px;
height: 50px;
margin: 100px auto;
padding: 1px;
background-color: rgb(80, 80, 133);
background-color: rgb(85, 146, 141);
border: none;
border-radius: 7px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
-ms-border-radius: 7px;
-o-border-radius: 7px;
color: white;
text-align: center;
position: relative;
cursor: pointer;
box-shadow: 0 10px 20px rgba(59, 93, 99, 0.3);
}
.send:active {
box-shadow: 0 5px 5px rgba(59, 93, 99, 0.3);
}
.send p {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
margin-top: 17px;
}
.human-wrapper {
width: 23px;
height: 25px;
/* border: 1px solid lime; */
bottom: 40px;
z-index: 5;
position: absolute;
visibility: hidden;
}
.head {
width: 10px;
height: 10px;
background-color: white;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
position: absolute;
}
.body {
width: 3px;
height: 13px;
background-color: white;
position: absolute;
left: 3px;
top: 11px;
}
.hand {
width: 10px;
height: 2px;
background-color: white;
position: absolute;
left: 3px;
top: 12px;
z-index: 1;
}
.package {
width: 10px;
height: 10px;
background-color: burlywood;
position: absolute;
left: 11px;
top: 5px;
}
.send > div:nth-of-type(1) {
bottom: 10px;
left: 5px;
}
.send > div:nth-of-type(2) {
bottom: 10px;
right: 5px;
transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-moz-transform: scaleX(-1);
-ms-transform: scaleX(-1);
-o-transform: scaleX(-1);
}
#character2 .package {
visibility: hidden;
}