-
Notifications
You must be signed in to change notification settings - Fork 7
/
popup.html
181 lines (180 loc) · 4.37 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
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
<html>
<head>
<script src="messages.js"></script>
<script src="quickify_popup.js"></script>
<style>
body {
width: 300px;
background-color: #1c1c1f;
color: #dfe0e6;
font-family: 'proxima_nova','Helvetica Neue',Helvetica,Arial,sans-serif;
font-size: 14px;
}
#logo {
position: fixed;
background-image: url('icons/quickify_38.png');
background-size: 20px 20px;
background-repeat: no-repeat;
width: 20px;
height: 20px;
top: 5px;
left: 5px;
}
#link {
position: fixed;
background-image: url('icons/white-ext-link.png');
background-size: 18px 18px;
background-repeat: no-repeat;
cursor: pointer;
width: 20px;
height: 20px;
top: 5px;
right: 5px;
opacity: 0.6;
}
#link:hover {
opacity: 1;
}
#song {
text-align: center;
font-size: 15px;
font-weight: 500;
margin: auto 10px;
margin-bottom: 5px;
z-index: 1;
position: relative;
}
#artist {
text-align: center;
width: 100%;
font-size: 14px;
margin-bottom: 20px;
}
#controls {
position: relative;
height: 42px;
margin-bottom: 10px;
}
#prev, #playpause, #next, #shuffle, #repeat, #add {
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
width: 32px;
height: 32px;
opacity: 0.8;
cursor: pointer;
display: inline-block;
position: absolute;
top: 5px;
}
#prev:hover, #playpause:hover, #next:hover, #shuffle:hover,
#repeat:hover, #add:hover {
opacity: 1;
}
#prev {
background-image: url('icons/white-skip-to-start-48.png');
left: 94px;
}
#playpause {
background-image: url('icons/white-play-48.png');
background-size: 28px;
background-position-x: 6px;
border: 1px solid white;
border-radius: 50%;
width: 36px;
height: 36px;
top: 2px;
left: 131px;
}
#playpause:hover {
border-color: #84bd00;
}
#playpause.pause {
background-image: url('icons/white-pause-48.png');
background-position-x: 4px;
}
#next {
background-image: url('icons/white-end-48.png');
left: 174px;
}
#add {
left: 5px;
top: 6px;
width: 28px;
height: 28px;
border-radius: 50%;
border: 1px solid transparent;
background-image: url('icons/white-add.png');
}
#add.done {
background-image: url('icons/white-check.png');
border-color: #84bd00;
background-size: 25px;
}
#add.done:hover {
background-image: url('icons/white-clear.png');
border-color: #eee;
}
#shuffle, #repeat {
background-size: 20px 20px;
}
#shuffle {
left: 238px;
background-image: url('icons/white-shuffle-48.png');
}
#shuffle.on {
background-image: url('icons/84bd00-shuffle-48.png');
}
#repeat {
left: 265px;
background-image: url('icons/white-repeat-48.png');
}
#repeat.on {
background-image: url('icons/84bd00-repeat-48.png');
}
#line, #progress {
height: 4px;
background-color: #3e3e40;
border-radius: 3px;
margin: 10px;
}
#progress {
background-color: #84bd00;
margin: 0px;
}
#times {
font-size: 12px;
color: #88898c;
height: 14px;
margin: 4px 10px;
}
#current {
float: left;
}
#end {
float: right;
}
</style>
</head>
<body>
<div id="logo"></div>
<div id="link"></div>
<div id="song">Song name</div>
<div id="artist">Artist name</div>
<div id="line">
<div id="progress" style="width: 0px"></div>
</div>
<div id="times">
<div id="current"></div>
<div id="end"></div>
</div>
<div id="controls">
<div id="prev"></div>
<div id="playpause"></div>
<div id="next"></div>
<div id="shuffle"></div>
<div id="repeat"></div>
<div id="add"></div>
</div>
</body>
</html>