-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverlay.css
executable file
·190 lines (190 loc) · 4 KB
/
overlay.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
@font-face {
font-family: Caviar Dreams;
src: url("CaviarDreams_Bold.ttf");
}
@keyframes masked-animation {
0% {background-position: -1000px 0}
50% {background-position: 1000px 0}
100% {background-position: 1000px 0}
}
@keyframes move {
0% {
background-position: -250px 0;
}
100% {
background-position: 1050px 0;
}
}
body{
margin: 0;
padding: 0;
}
.container{
position: relative;
height: 99px;
width: 900px;
margin: 0 auto;
padding: 0;
background-image: url(overlay.png);
font-family: Caviar Dreams;
transition: all 1s;
}
.hidden{
transform: translate(0, -55px);
}
.progress{
position: absolute;
left: 50px;
top: 50px;
height: 5px;
width: 800px;
background-color: rgba(0,0,0,0.2);
box-shadow:inset 1px 1px 0px 0 rgba(0, 0, 0, 0.5), 1px 1px 0px 0 rgba(255, 255, 255, 0.1);
border-radius: 0 0 5px 5px;
}
.value{
height: 100%;
border-radius: 0 0 10px 10px;
background-color: #7289DA;
transition: all 1s;
}
.load{
position: relative;
height: 100%;
animation: masked-animation 5s ease-in-out infinite;
background-image: linear-gradient(-45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.67) 48%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.67) 52%, rgba(255,255,255,0) 100%);
background-position: -1000px 0;
background-repeat: no-repeat;
background-size: 100% 100%;
color: #fff;
display: block;
border-radius: 0 0 5px 5px;
}
.loading{
background-image: linear-gradient(45deg, rgba(114,137,218,1) 0%,rgba(119,151,255,1) 50%,rgba(91,111,175,1) 51%,rgba(114,137,218,1) 100%);
background-repeat: no-repeat;
background-size: 250px 5px;
animation: move 3s linear infinite;
}
#Host{
top: 24px;
left: 32px;
width: 155px;
height: 22px;
}
#Host::before{
animation-delay: 2.6s;
animation: masked-animation 10s ease-in-out infinite;
background-size: 400% 100%;
}
#Time{
top: 24px;
left: 191px;
width: 74px;
height: 22px;
}
#Time::before{
animation-delay: 4.8s;
animation: masked-animation 12s ease-in-out infinite;
background-size: 550% 100%;
}
#Objective{
top: 24px;
left: 271px;
width: 360px;
height: 22px;
}
#Objective::before{
animation-delay: 0;
animation: masked-animation 9s ease-in-out infinite;
background-size: 200% 100%;
}
#Deaths{
top: 24px;
left: 637px;
width: 108px;
height: 22px;
}
#Deaths::before{
animation-delay: 7.3s;
animation: masked-animation 11s ease-in-out infinite;
background-size: 450% 100%;
}
#Kills{
top: 24px;
left: 751px;
width: 119px;
height: 22px;
}
#Kills::before{
animation-delay: 5.3s;
animation: masked-animation 13s ease-in-out infinite;
background-size: 400% 100%;
}
.host{
top: 0;
left: 83px;
width: 60px ;
height: 20px;
}
.time{
top: 0;
left: 201px;
width: 52px ;
height: 20px;
}
.objective{
top: 0;
left: 389px;
width: 122px ;
height: 20px;
}
.deaths{
top: 0;
left: 650px;
width: 83px ;
height: 20px;
}
.kills{
top: 0;
left: 782px;
width: 58px ;
height: 20px;
}
.textFormat{
text-align: center;
font-weight: bold;
display: block;
color: rgba(153, 170, 181, .7);
position: absolute;
}
.titleFormat{
text-align: center;
font-size: 18px;
font-weight: bold;
color: #7289da;
position: absolute;
text-shadow: 1px 1px rgba(0,0,0,0.4);
}
.info{
top: 59px;
left: 51px;
width: 799px;
height: 20px;
}
.info::before{
animation-delay: 8.2s;
animation: masked-animation 8s ease-in-out infinite;
background-size: 150% 100%;
}
.scroll::before{
position: absolute;
display: block;
content: attr(data-content);
width: 100%;
height: 100%;
color: rgba(0,0,0,0);
background-image: linear-gradient(-45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.67) 48%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.67) 52%, rgba(255,255,255,0) 100%);
background-repeat: no-repeat;
-webkit-background-clip: text;
}