-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
207 lines (204 loc) · 4 KB
/
style.css
File metadata and controls
207 lines (204 loc) · 4 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
/* video container */
.c-video {
width: 100%;
position: relative;
}
/* video loading prelaoder*/
.loader-area {
display: none;
}
.loader {
position: absolute;
width: 100%;
height: 100%;
background: #101820ff;
display: flex;
align-items: center;
justify-content: center;
}
.loader::after {
content: "";
position: absolute;
border: 5px solid #f3f3f300;
border-radius: 50%;
border-top: 5px solid #ffffff;
border-bottom: 5px solid #ffffff;
width: 140px;
height: 140px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
/* animaiton for loader (browser support code)*/
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
/* animaiton for loader */
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loader p {
color: #ffffff !important;
font-size: 20px;
text-transform: uppercase;
text-align: center;
}
/* video player */
.video {
width: 100%;
}
.video:hover {
cursor: pointer;
}
/* video controler */
.controls-area {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.678);
}
.controls {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* video play button **************** You can change the button style from here *****************/
.controls button {
width: 300px;
padding: 10px;
background: rgba(0, 0, 0, 0.329) !important;
outline: none;
box-shadow: none;
border: 3px solid #ffffff;
border-radius: 100px;
color: #ffffff;
font-size: 30px;
font-weight: 600;
}
.controls button:hover {
cursor: pointer;
}
.unmutedBtn {
display: none;
}
.unmuted {
display: block;
-webkit-animation: bounc 2s linear infinite;
animation: bounc 2s linear infinite;
}
/* animation for button bouncing */
@keyframes bounc {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.play {
display: none;
}
.play.active {
display: block;
-webkit-animation: bounc 2s linear infinite;
animation: bounc 2s linear infinite;
}
.active {
display: block;
}
/* responsive for small devices*/
@media only screen and (max-width: 480px) and (min-width: 220px) {
.controls button {
width: 150px;
padding: 5px;
border: 2px solid #ffffff;
color: #ffffff;
font-size: 12px;
font-weight: 400;
}
.loader::after {
content: "";
position: absolute;
border: 5px solid #f3f3f300;
border-radius: 50%;
border-top: 5px solid #ffffff;
border-bottom: 5px solid #ffffff;
width: 90px;
height: 90px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
.loader p {
color: #ffffff !important;
font-size: 12px;
text-transform: uppercase;
text-align: center;
}
}
/* responsive for medium screen devices */
@media only screen and (max-width: 768px) and (min-width: 481px) {
.controls button {
width: 250px;
padding: 8px;
border: 2px solid #ffffff;
color: #ffffff;
font-size: 18px;
font-weight: 400;
}
.loader::after {
content: "";
position: absolute;
border: 5px solid #f3f3f300;
border-radius: 50%;
border-top: 5px solid #ffffff;
border-bottom: 5px solid #ffffff;
width: 115px;
height: 115px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
.loader p {
color: #ffffff !important;
font-size: 16px;
text-transform: uppercase;
text-align: center;
}
}
video::-webkit-media-controls-panel {
display: none;
-webkit-appearance: none;
}
video::-webkit-media-controls-play-button {
display: none;
-webkit-appearance: none;
}
video::-webkit-media-controls-start-playback-button {
display: none;
-webkit-appearance: none;
}
video::-webkit-media-controls {
display: none;
-webkit-appearance: none;
}