Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
167 lines (161 loc) · 2.72 KB
/
Copy pathstyle.css
File metadata and controls
167 lines (161 loc) · 2.72 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
*, ::before, ::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
position: relative;
min-height: 100vh;
background: #3d3f41;
background: linear-gradient(132deg, #3d3f41 6%, #384a52 61%, #4a4c4e 95%);
font-family: "Lato", sans-serif;
padding: 100px 20px;
}
canvas{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
}
.audio-player-container{
max-width: 350px;
margin: 0 auto;
border-radius: 30px;
background: #0d0c0f;
background: linear-gradient(132deg, #0d0c0f 6%, #283339 61%, #29343a 95%);
}
.thumbnail-container{
border-radius: 15px;
user-select: none;
padding: 20px 20px 10px;
}
.thumbnail{
border-radius: 15px;
width: 100%;
height: 280px;
object-fit: cover;
object-position: center;
box-shadow: 0 17px 36px #00000080;
}
.music-info{
padding: 20px 50px 50px;
}
.top-information{
display: flex;
justify-content: space-between;
}
.music-title{
color: #fff;
font-size: 25px;
}
.artist-name{
color: #666568;
}
.current-index{
color: #d2d2d2;
font-weight: 100;
font-size: 14px;
margin-top: auto;
margin-bottom: 2px;
}
.progress-container{
position: relative;
margin: 35px 0 60px;
background-color: #727377;
width: 100%;
border-radius: 5px;
cursor: pointer;
}
.progress-bar{
position: relative;
width: 0;
height: 5px;
border-radius: 5px;
background: #4a8ea3;
transform-origin: left;
/* transform: scaleX(0); */
background: linear-gradient(99deg, #4a8ea3, rgb(109, 214, 239) 100%);
}
.time-indicator{
position: absolute;
top: 10px;
font-size: 14px;
color: #666568;
pointer-events: none;
}
.duration-time{
right: 0;
}
.navigation{
position: relative;
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
}
.main-commands{
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
button{
background: transparent;
border: 0;
outline: 0;
cursor: pointer;
}
button img{
width: 25px;
pointer-events: none;
}
.shuffle{
position: relative;
}
.repeat {
position: relative;
}
.shuffle svg,
.repeat svg {
width: 20px;
}
.shuffle svg,
.repeat svg {
fill: #545454;
transition: fill .2s ease-in-out;
}
.shuffle.active,
.active-one,
.repeat.active svg {
fill: #fff;
}
.repeat.one::before{
content: '1';
position: absolute;
right: 0;
bottom: 10px;
color: #545454;
background-color: #f1f1f1;
padding: 2px;
border-radius: 5px;
font-size: 10px;
}
.play-btn{
display: flex;
justify-content: center;
align-items: center;
width: 65px;
height: 65px;
border-radius: 50%;
background: rgba(113, 247, 249);
background: linear-gradient(130deg, #71f7f9, #bdfcfe);
}
.play-btn img{
width: 40px;
height: 40px;
}
img{
width: 20px;
}