-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ejs
66 lines (66 loc) · 1.52 KB
/
index.ejs
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>React Chat</title>
<meta name="viewport" content="width=device-width">
<style>
.spinner_arc {
fill: none;
stroke-dasharray: 100;
stroke-dashoffset: 200;
stroke-width: 3;
}
.spinner_arc1 {
stroke: #FF00FF;
animation: arc 2s linear infinite;
}
.spinner_arc2 {
stroke: #00FF00;
animation: arc_back 2s linear infinite;
}
.spinner_arc3 {
stroke: #FFFF00;
animation: arc 2s linear infinite;
}
@keyframes arc {
from {
stroke-dashoffset: 200;
}
to {
stroke-dashoffset: 0;
}
}
@keyframes arc_back {
from {
stroke-dashoffset: 0;
}
to {
stroke-dashoffset: 200;
}
}
.waiter_outer_container{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
top: 0;
background-color: rgba(207, 207, 207, 0.5);
z-index: 200;
position: fixed;
}
</style>
</head>
<body>
<div id="app" style="width: 100%">
</div>
<div data-role="waiter_outer_container" class=" waiter_outer_container ">
<svg width="150" height="150">
<path class="spinner_arc spinner_arc1" d="M10,122.5 Q107.4,103.8 75,10"></path>
<path class="spinner_arc spinner_arc2" d="M140,122.5 Q42.5,103.8 75,10"></path>
<path class="spinner_arc spinner_arc3" d="M140,122.5 Q75.4,47.5 10,122.5"></path>
</svg>
</div>
</body>
</html>