forked from nazrhom/soundcloudController
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
executable file
·150 lines (132 loc) · 3.22 KB
/
popup.html
File metadata and controls
executable file
·150 lines (132 loc) · 3.22 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>SoundCloud Controller Popup</title>
<style type="text/css">
.prev,
.next{
padding-top:3px;
}
button{
background:transparent;
border:0px;
}
.player-controls{
background:#F2F2F2;
border:1px solid #CECECE;
border-radius:4px 4px 4px 4px;
padding:0.4em;
min-height: 24px;
}
.prev{
margin-top:1px;
}
.next{
margin-right: 12px;
padding-right: 1em;
z-index: 99;
}
.play-pause{
padding: 0.18em 1.3em 0em 1.5em;
width: 57px;
}
#titolo{
font: 12px/1.4 "Lucida Grande","Lucida Sans Unicode","Lucida Saem",Garuda,Verdana,Tahoma,sans-serif;
color: #222;
background: #F2F2F2;
padding: 5px 10px 2px 10px;
margin: 0px -0.32px 1.68px -11.32px;
}
.repeat{
padding:0 1em;
}
.sound{
border-left: 1px solid rgba(0, 0, 0, 0.5);
padding: 0 0.7em;
}
input[type='range'] {
-webkit-appearance: none;
border-radius: 5px;
box-shadow: inset 0 0 5px #333;
background-color: #999;
height: 10px;
vertical-align: middle;
}
input[type='range']::-moz-range-track {
-moz-appearance: none;
border-radius: 5px;
box-shadow: inset 0 0 5px #333;
background-color: #999;
height: 10px;
}
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none !important;
border-radius: 20px;
background-color: #FFF;
box-shadow:inset 0 0 10px rgba(000,000,000,0.5);
border: 1px solid #999;
height: 20px;
width: 20px;
}
input[type='range']::-moz-range-thumb {
-moz-appearance: none;
border-radius: 20px;
background-color: #FFF;
box-shadow:inset 0 0 10px rgba(000,000,000,0.5);
border: 1px solid #999;
height: 20px;
width: 20px;
}
#scroll-volume{
width: 8.9em;
padding: 15px;
background: #222;
transform: rotate(90deg);
border-radius: 0 4px 4px 0px;
margin-top: 62px;
margin-left: 240px;
display:none;
}
.disappear{
display:none;
}
.appear{
display:block!important;
}
body{
margin:0px;
}
:focus{
outline: none;
}
img:hover{
cursor: pointer;
}
</style>
<script src="popup.js"></script>
</head>
<body>
<div class="player-controls" style="display:inline-flex">
<button class="prev" id="previous-button">
<img src="img/prev.svg" width="13">
</button>
<button class="play-pause" id="play-pause-button">
<img id="play-pause" src="img/play.svg" height="20">
</button>
<button class="next" id="next-button">
<img src="img/next.svg" width="13">
</button>
<marquee id="titolo" behavior="scroll" direction="left" scrollamount="5" width="110"></marquee>
<button class="repeat" id="repeat-button">
<img id="replay" src="img/repeat.svg" width="19">
</button>
<button class="sound" id="volume-button">
<img id="volume" src="img/max_volume.svg" width="19">
</button>
</div>
<div id="scroll-volume">
<input type="range" min="0" max="50" value="5" step="5" onchange="rangevalue.value=value" />
</div>
</body>
</html>