-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
188 lines (172 loc) · 3.47 KB
/
styles.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
body {
font-family: Arial, sans-serif;
background-color: black;
}
#currentTime{
color: white;
margin-left: 10px;
margin-right: 10px;
}
#subtitleText{
width: 96%;
text-align: center;
font-size: 60px;
color: white;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
input[type=range] {
height: 26px;
-webkit-appearance: none;
margin: 10px 0;
width: 100%;
background-color: black;
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 14px;
cursor: pointer;
animate: 0.2s;
box-shadow: 1px 1px 1px #50555C;
background: #50555C;
border-radius: 14px;
border: 0px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
box-shadow: 0px 0px 0px #000000;
border: 0px solid #000000;
height: 20px;
width: 40px;
border-radius: 12px;
background: #529DE1;
cursor: pointer;
-webkit-appearance: none;
margin-top: -3px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #50555C;
}
input[type=range]::-moz-range-track {
width: 100%;
height: 14px;
cursor: pointer;
animate: 0.2s;
box-shadow: 1px 1px 1px #50555C;
background: #50555C;
border-radius: 14px;
border: 0px solid #000000;
}
input[type=range]::-moz-range-thumb {
box-shadow: 0px 0px 0px #000000;
border: 0px solid #000000;
height: 20px;
width: 40px;
border-radius: 12px;
background: #529DE1;
cursor: pointer;
}
input[type=range]::-ms-track {
width: 100%;
height: 14px;
cursor: pointer;
animate: 0.2s;
background: transparent;
border-color: transparent;
color: transparent;
}
input[type=range]::-ms-fill-lower {
background: #50555C;
border: 0px solid #000000;
border-radius: 28px;
box-shadow: 1px 1px 1px #50555C;
}
input[type=range]::-ms-fill-upper {
background: #50555C;
border: 0px solid #000000;
border-radius: 28px;
box-shadow: 1px 1px 1px #50555C;
}
input[type=range]::-ms-thumb {
margin-top: 1px;
box-shadow: 0px 0px 0px #000000;
border: 0px solid #000000;
height: 20px;
width: 40px;
border-radius: 12px;
background: #529DE1;
cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
background: #50555C;
}
input[type=range]:focus::-ms-fill-upper {
background: #50555C;
}
button, input {
position: relative;
display: inline-block;
padding: 10px 20px;
font-size: 16px;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
background-color: #737375;
}
button:hover{
background-color: #3a3a3c;
}
.play-button::before {
content: "";
position: absolute;
top: 10px;
left: 18px;
border-style: solid;
border-width: 8px 0 8px 14px;
border-color: transparent transparent transparent white;
}
/* Pause button styles */
.pause-button {
background-color: #737375;
}
.pause-button:hover {
background-color: #3a3a3c;
}
.pause-button::before,
.pause-button::after {
content: "";
position: absolute;
top: 10px;
left: 16px;
width: 4px;
height: 16px;
background-color: #fff;
}
.pause-button::before {
left: 16px;
}
.pause-button::after {
left: 24px;
}
.subtitle-container {
display: flex;
justify-content: center;
}
.custom-dialog {
width: 500px;
padding: 20px;
background-color: #3a3a3c; /* Set the background color to #3a3a3c */
border-radius: 10px; /* Make the corners rounded */
color: white; /* Set the text color to white */
}
@media screen and (max-width: 600px) {
.custom-dialog {
width: 300px;
}
}