-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.html
69 lines (61 loc) · 1.77 KB
/
popup.html
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
<html>
<head>
<script src="popup.js"></script>
<style>
body {
min-width: 300px;
}
.slidecontainer {
width: 100%;
padding-top: 5%;
padding-bottom: 5%;
}
.slider {
width: 100%;
margin-top: 2.5%;
}
.container {
width: 95%;
margin-left: 2.5%;
}
.slider {
width: 100%;
height: 5px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 5px;
height: 10px;
background: #4CAF50;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 25px;
height: 25px;
background: #4CAF50;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<div id="title"><b>Playback Speed: <span id="currentSpeed"></span>x</b></div>
<div class="slidecontainer">
<input type="range" min="0.25" max="3" value="1" step="0.25" class="slider" id="playbackSpeed">
</div>
<div id="buttons">
<input class="btn" type="button" value="Reset" id="resetPlaybackSpeed" />
</div>
</div>
</div>
</body>
</html>