-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspotify clone.html
272 lines (264 loc) · 19.1 KB
/
spotify clone.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
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spotify</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="utility.css">
<link rel="stylesheet" href="main-style.css">
</head>
<body>
<aside class="aside">
<div class="top-left">
<button class="home ">
<svg data-encore-id="icon" xmlns="http://www.w3.org/2000/svg" height='27px' role="img"
aria-hidden="true" class="Svg-sc-ytk21e-0 bneLcE home-active-icon QbaKKdcHNA2x3_YJvpYu"
viewBox="0 0 24 24">
<path
d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z">
</path>
</svg>
<h4>Home</h2>
</button>
<button class="search">
<svg data-encore-id="icon" role="img" xmlns="http://www.w3.org/2000/svg" height='27px'
aria-hidden="true" class="Svg-sc-ytk21e-0 bneLcE search-icon QbaKKdcHNA2x3_YJvpYu"
viewBox="0 0 24 24">
<path
d="M10.533 1.27893C5.35215 1.27893 1.12598 5.41887 1.12598 10.5579C1.12598 15.697 5.35215 19.8369 10.533 19.8369C12.767 19.8369 14.8235 19.0671 16.4402 17.7794L20.7929 22.132C21.1834 22.5226 21.8166 22.5226 22.2071 22.132C22.5976 21.7415 22.5976 21.1083 22.2071 20.7178L17.8634 16.3741C19.1616 14.7849 19.94 12.7634 19.94 10.5579C19.94 5.41887 15.7138 1.27893 10.533 1.27893ZM3.12598 10.5579C3.12598 6.55226 6.42768 3.27893 10.533 3.27893C14.6383 3.27893 17.94 6.55226 17.94 10.5579C17.94 14.5636 14.6383 17.8369 10.533 17.8369C6.42768 17.8369 3.12598 14.5636 3.12598 10.5579Z">
</path>
</svg>
<h4>Search</h2>
</button>
</div>
<article class="library">
<div class="title">
<div class="left">
<button class="lib-collapse">
<svg data-encore-id="icon" role="img" xmlns="http://www.w3.org/2000/svg" fill='#b3b3b3' height='27px' aria-hidden="true" viewBox="0 0 24 24" class="Svg-sc-ytk21e-0 bneLcE"> <path d="M3 22a1 1 0 0 1-1-1V3a1 1 0 0 1 2 0v18a1 1 0 0 1-1 1zM15.5 2.134A1 1 0 0 0 14 3v18a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V6.464a1 1 0 0 0-.5-.866l-6-3.464zM9 2a1 1 0 0 0-1 1v18a1 1 0 1 0 2 0V3a1 1 0 0 0-1-1z"></path></svg>
<h3>Your Library</h3>
</button>
</div>
<div class="right hc">
<button class="dfc" type="menu">
<img id="plus" height="16" src="assets/plus.svg">
</button>
<button class="dfc rotate180" id="expandLib" type="reset">
<img height="16" src="assets/arrow.svg">
</button>
</div>
</div>
<ul class="tags">
<li><button class="tag-btn">Playlists</button></li>
<li><button class="tag-btn">Artists</button></li>
<li><button class="tag-btn">Albums</button></li>
<li><button class="tag-btn">Podcasts & Shows</button></li>
<button class="hidden-more" style="display: none;">
<svg data-encore-id="icon" role="img" height="16" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dCAvla"><path d="M4.97.47a.75.75 0 0 0 0 1.06L11.44 8l-6.47 6.47a.75.75 0 1 0 1.06 1.06L13.56 8 6.03.47a.75.75 0 0 0-1.06 0z"></path></svg>
</button>
</ul>
<ul class="wide-lib-card-container wide-card-container">
<div class="search-in-lib">
<span class="search-left">
<svg data-encore-id="icon" height="17" role="icon" xmlns="http://www.w3.org/2000/svg" height='21px' aria-hidden="true" class="Svg-sc-ytk21e-0 bneLcE search-icon QbaKKdcHNA2x3_YJvpYu" viewBox="0 0 24 24"><path d="M10.533 1.27893C5.35215 1.27893 1.12598 5.41887 1.12598 10.5579C1.12598 15.697 5.35215 19.8369 10.533 19.8369C12.767 19.8369 14.8235 19.0671 16.4402 17.7794L20.7929 22.132C21.1834 22.5226 21.8166 22.5226 22.2071 22.132C22.5976 21.7415 22.5976 21.1083 22.2071 20.7178L17.8634 16.3741C19.1616 14.7849 19.94 12.7634 19.94 10.5579C19.94 5.41887 15.7138 1.27893 10.533 1.27893ZM3.12598 10.5579C3.12598 6.55226 6.42768 3.27893 10.533 3.27893C14.6383 3.27893 17.94 6.55226 17.94 10.5579C17.94 14.5636 14.6383 17.8369 10.533 17.8369C6.42768 17.8369 3.12598 14.5636 3.12598 10.5579Z"></path>
</svg>
</span>
<span class="search-right">
<small>Recents</small>
<svg data-encore-id="icon" height='16' role="img" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 cAMMLk"> <path d="M15 14.5H5V13h10v1.5zm0-5.75H5v-1.5h10v1.5zM15 3H5V1.5h10V3zM3 3H1V1.5h2V3zm0 11.5H1V13h2v1.5zm0-5.75H1v-1.5h2v1.5z"></path>
</svg>
</span>
</div>
</ul>
</article>
</aside>
<div class="sep">
<div>
<div class="line"></div>
</div>
</div>
<main>
<div class="main-sticky">
<div class="main-top">
<div class="left">
<button>
<a href="" class="nav-main-forward-backword">
<svg data-encore-id="icon" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" height = '18' viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 cAMMLk IYDlXmBmmUKHveMzIPCF"><path d="M11.03.47a.75.75 0 0 1 0 1.06L4.56 8l6.47 6.47a.75.75 0 1 1-1.06 1.06L2.44 8 9.97.47a.75.75 0 0 1 1.06 0z"></path></svg>
</a>
</button>
<button>
<a href="" class="nav-main-forward-backword">
<svg data-encore-id="icon" role="img" height="18" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dCAvla"><path d="M4.97.47a.75.75 0 0 0 0 1.06L11.44 8l-6.47 6.47a.75.75 0 1 0 1.06 1.06L13.56 8 6.03.47a.75.75 0 0 0-1.06 0z"></path></svg>
</a>
</button>
</div>
<div class="right">
<button class="premium-btn">Explore Premium</button>
<button class="install-btn"> <img src="assets/arrow-down-circle.svg" alt=""> Install App</button>
<button class="bell-btn">
<svg data-encore-id="icon" class="white-on-hover" role="img" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" height='16' viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI">
<path d="M8 1.5a4 4 0 0 0-4 4v3.27a.75.75 0 0 1-.1.373L2.255 12h11.49L12.1 9.142a.75.75 0 0 1-.1-.374V5.5a4 4 0 0 0-4-4zm-5.5 4a5.5 5.5 0 0 1 11 0v3.067l2.193 3.809a.75.75 0 0 1-.65 1.124H10.5a2.5 2.5 0 0 1-5 0H.957a.75.75 0 0 1-.65-1.124L2.5 8.569V5.5zm4.5 8a1 1 0 1 0 2 0H7z"></path>
</svg>
</button>
<button class="user-btn"><strong>K</strong></button>
</div>
</div>
<ul class="main-tags tags">
<li><button class="tag-btn">All</button></li>
<li><button class="tag-btn">Music</button></li>
<li><button class="tag-btn">Podcasts</button></li>
</ul>
</div>
<div class="wide-main-card-container">
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom">bottomPart</p>
</div>
</div>
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom">bottomPart</p>
</div>
</div>
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom"></p>
</div>
</div>
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom"></p>
</div>
</div>
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom">bottomPart</p>
</div>
</div>
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom">bottomPart</p>
</div>
</div>
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom"></p>
</div>
</div>
<div class="wide-card">
<img src="assets/zebra.jfif" height = '50'>
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<p class="card-bottom">bottomPart</p>
</div>
</div>
</div>
<div class="a-type-of-playlist">
<h3>Made For Kitty</h3>
<section class="music-playlist-container">
<article class="sq-playlist-card">
<img src="assets/zebra.jfif">
<strong>Title</strong>
<p>Lorem ipsum dolor sit amet adipisicing elit</p>
</article>
<article class="sq-playlist-card">
<img src="assets/zebra.jfif">
<strong>Title</strong>
<p>Lorem ipsum dolor sit amet elit</p>
</article>
<article class="sq-playlist-card">
<img src="assets/zebra.jfif">
<strong>Title</strong>
<p>Lorem ipsum dolor sit adipisicing elit</p>
</article>
<article class="sq-playlist-card">
<img src="assets/zebra.jfif">
<strong>Title</strong>
<p>Lorem ipsum dolor</p>
</article>
<article class="sq-playlist-card">
<img src="assets/zebra.jfif">
<strong>Title</strong>
<p>Lorem ipsum dolor</p>
</article>
</section>
</div>
</main>
<div class="current">
<div class="cur-info">
<img src="assets/zebra.jfif" height="80%">
<div class="card-inner-text">
<h4 class="card-title">cardTitle</h4>
<div class="card-bottom">bottomPart</div>
</div>
<button class="white-on-hover">
<svg height="16" xmlns="http://www.w3.org/2000/svg" data-encore-id="icon" role="img" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z"></path><path d="M11.75 8a.75.75 0 0 1-.75.75H8.75V11a.75.75 0 0 1-1.5 0V8.75H5a.75.75 0 0 1 0-1.5h2.25V5a.75.75 0 0 1 1.5 0v2.25H11a.75.75 0 0 1 .75.75z"></path></svg>
</div>
<div class="player">
<div class="upper-btns">
<button class="shuffle-btn">
<svg data-encore-id="icon" class="white-on-hover" role="img" aria-hidden="true" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M13.151.922a.75.75 0 1 0-1.06 1.06L13.109 3H11.16a3.75 3.75 0 0 0-2.873 1.34l-6.173 7.356A2.25 2.25 0 0 1 .39 12.5H0V14h.391a3.75 3.75 0 0 0 2.873-1.34l6.173-7.356a2.25 2.25 0 0 1 1.724-.804h1.947l-1.017 1.018a.75.75 0 0 0 1.06 1.06L15.98 3.75 13.15.922zM.391 3.5H0V2h.391c1.109 0 2.16.49 2.873 1.34L4.89 5.277l-.979 1.167-1.796-2.14A2.25 2.25 0 0 0 .39 3.5z"></path><path d="m7.5 10.723.98-1.167.957 1.14a2.25 2.25 0 0 0 1.724.804h1.947l-1.017-1.018a.75.75 0 1 1 1.06-1.06l2.829 2.828-2.829 2.828a.75.75 0 1 1-1.06-1.06L13.109 13H11.16a3.75 3.75 0 0 1-2.873-1.34l-.787-.938z"></path></svg>
</button>
<button class="prev-song-btn">
<svg data-encore-id="icon" class="white-on-hover" role="img" aria-hidden="true" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M3.3 1a.7.7 0 0 1 .7.7v5.15l9.95-5.744a.7.7 0 0 1 1.05.606v12.575a.7.7 0 0 1-1.05.607L4 9.149V14.3a.7.7 0 0 1-.7.7H1.7a.7.7 0 0 1-.7-.7V1.7a.7.7 0 0 1 .7-.7h1.6z"></path></svg>
</button>
<button id="play-btn">
<svg data-encore-id="icon" role="img" aria-hidden="true" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M3 1.713a.7.7 0 0 1 1.05-.607l10.89 6.288a.7.7 0 0 1 0 1.212L4.05 14.894A.7.7 0 0 1 3 14.288V1.713z"></path></svg>
</button>
<button class="next-song-btn">
<svg data-encore-id="icon" class="white-on-hover" role="img" aria-hidden="true" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M12.7 1a.7.7 0 0 0-.7.7v5.15L2.05 1.107A.7.7 0 0 0 1 1.712v12.575a.7.7 0 0 0 1.05.607L12 9.149V14.3a.7.7 0 0 0 .7.7h1.6a.7.7 0 0 0 .7-.7V1.7a.7.7 0 0 0-.7-.7h-1.6z"></path></svg>
</button>
<button class="loop-song-btn">
<svg data-encore-id="icon" role="img" aria-hidden="true" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M0 4.75A3.75 3.75 0 0 1 3.75 1h.75v1.5h-.75A2.25 2.25 0 0 0 1.5 4.75v5A2.25 2.25 0 0 0 3.75 12H5v1.5H3.75A3.75 3.75 0 0 1 0 9.75v-5zM12.25 2.5h-.75V1h.75A3.75 3.75 0 0 1 16 4.75v5a3.75 3.75 0 0 1-3.75 3.75H9.81l1.018 1.018a.75.75 0 1 1-1.06 1.06L6.939 12.75l2.829-2.828a.75.75 0 1 1 1.06 1.06L9.811 12h2.439a2.25 2.25 0 0 0 2.25-2.25v-5a2.25 2.25 0 0 0-2.25-2.25z"></path><path d="M9.12 8V1H7.787c-.128.72-.76 1.293-1.787 1.313V3.36h1.57V8h1.55z"></path></svg>
</button>
</div>
<div class="song-length-display">
<small class="time time-lapsed">1:33</small>
<div class="lines" id="timelines">
<div id="timeline-bg" class="line-bg"></div>
<div id="timeline-above" class="line-above">
<span class="cur-value-circle"></span>
</div>
</div>
<small class="time time-left">2:10</small>
</div>
</div>
<div class="bottom-right-controles">
<button class='now-playing-view-btn white-on-hover'>
<svg data-encore-id="icon" height="16" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M11.196 8 6 5v6l5.196-3z"></path><path d="M15.002 1.75A1.75 1.75 0 0 0 13.252 0h-10.5a1.75 1.75 0 0 0-1.75 1.75v12.5c0 .966.783 1.75 1.75 1.75h10.5a1.75 1.75 0 0 0 1.75-1.75V1.75zm-1.75-.25a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25h-10.5a.25.25 0 0 1-.25-.25V1.75a.25.25 0 0 1 .25-.25h10.5z"></path></svg></button>
<button class="queu-btne white-on-hover">
<svg data-encore-id="icon" height="16" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M15 15H1v-1.5h14V15zm0-4.5H1V9h14v1.5zm-14-7A2.5 2.5 0 0 1 3.5 1h9a2.5 2.5 0 0 1 0 5h-9A2.5 2.5 0 0 1 1 3.5zm2.5-1a1 1 0 0 0 0 2h9a1 1 0 1 0 0-2h-9z"></path></svg></button>
<button class="connect-to-device-btn white-on-hover">
<svg data-encore-id="icon" height="16" xmlns="http://www.w3.org/2000/svg" role="presentation" aria-hidden="true" class="Svg-sc-ytk21e-0 dYnaPI" viewBox="0 0 16 16"><path d="M6 2.75C6 1.784 6.784 1 7.75 1h6.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 14.25 15h-6.5A1.75 1.75 0 0 1 6 13.25V2.75zm1.75-.25a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25h-6.5zm-6 0a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25H4V11H1.75A1.75 1.75 0 0 1 0 9.25v-6.5C0 1.784.784 1 1.75 1H4v1.5H1.75zM4 15H2v-1.5h2V15z"></path><path d="M13 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm-1-5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path></svg></button>
<button class="mute-btn white-on-hover">
<svg data-encore-id="icon" height="16" xmlns="http://www.w3.org/2000/svg" role="presentation" aria-label="Volume high" aria-hidden="true" id="volume-icon" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 kcUFwU"><path d="M9.741.85a.75.75 0 0 1 .375.65v13a.75.75 0 0 1-1.125.65l-6.925-4a3.642 3.642 0 0 1-1.33-4.967 3.639 3.639 0 0 1 1.33-1.332l6.925-4a.75.75 0 0 1 .75 0zm-6.924 5.3a2.139 2.139 0 0 0 0 3.7l5.8 3.35V2.8l-5.8 3.35zm8.683 4.29V5.56a2.75 2.75 0 0 1 0 4.88z"></path><path d="M11.5 13.614a5.752 5.752 0 0 0 0-11.228v1.55a4.252 4.252 0 0 1 0 8.127v1.55z"></path></svg></button>
<div id="soundlines" class="lines">
<div id="soundline-bg" class="line-bg"></div>
<div id="soundline-above" class="line-above">
<span class="cur-value-circle"></span>
</div>
</div>
<button class="open-mini-player-btn white-on-hover">
<svg data-encore-id="icon" height="16" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M16 2.45c0-.8-.65-1.45-1.45-1.45H1.45C.65 1 0 1.65 0 2.45v11.1C0 14.35.65 15 1.45 15h5.557v-1.5H1.5v-11h13V7H16V2.45z"></path><path d="M15.25 9.007a.75.75 0 0 1 .75.75v4.493a.75.75 0 0 1-.75.75H9.325a.75.75 0 0 1-.75-.75V9.757a.75.75 0 0 1 .75-.75h5.925z"></path></svg></button>
<button class="full-screen-btn white-on-hover">
<svg data-encore-id="icon" height="16" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" viewBox="0 0 16 16" class="Svg-sc-ytk21e-0 dYnaPI"><path d="M6.53 9.47a.75.75 0 0 1 0 1.06l-2.72 2.72h1.018a.75.75 0 0 1 0 1.5H1.25v-3.579a.75.75 0 0 1 1.5 0v1.018l2.72-2.72a.75.75 0 0 1 1.06 0zm2.94-2.94a.75.75 0 0 1 0-1.06l2.72-2.72h-1.018a.75.75 0 1 1 0-1.5h3.578v3.579a.75.75 0 0 1-1.5 0V3.81l-2.72 2.72a.75.75 0 0 1-1.06 0z"></path></svg></button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>