-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
212 lines (168 loc) · 5.1 KB
/
style.css
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
* {
margin: 0;
padding: 0;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
box-sizing: border-box;
}
body {
background: rgb(230, 233, 233);
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.player {
height: 36rem;
width: 25rem;
background: rgb(208, 210, 210);
border-radius: 15px;
/* display: flex;
justify-content: center; */
border-radius: 23px;
background: linear-gradient(145deg, #f0f0f0, #cacaca);
box-shadow: 4px 10px 11px #9b9b9b,
-10px -10px 11px #ffffff;
margin: auto 15px;
}
.icontop {
display: flex;
justify-content: space-between;
align-items: center;
/* height: 70%; */
font-size: 1.5rem;
margin: 30px;
color: #829196;
}
.icontop .icons {
display: flex;
justify-content: center;
align-items: center;
height: 50px;
width: 50px;
cursor: pointer;
border-radius: 50%;
background: linear-gradient(145deg, #f0f0f0, #cacaca);
box-shadow: 8px 8px 16px #c3c3c3,
-8px -8px 16px #fdfdfd;
font-size: 1.3rem;
color: #91a1a7;
}
.poster {
display: flex;
justify-content: center;
/* align-items: center; */
}
.poster img {
height: 14rem;
border: 5px solid #e0e0e0;
border-radius: 10px;
background: linear-gradient(145deg, #f0f0f0, #cacaca);
box-shadow: 8px 8px 14px #929292,
-8px -8px 14px #ffffff;
}
.songs-detail {
text-align: center;
padding: 10px;
/* line-height: 1.2; */
font-size: 1rem;
color: #8a999e;
}
.songs-detail h3 {
color: #5d686c;
font-style: italic;
}
.progress {
display: flex;
justify-content: center;
margin: 20px auto;
}
.progress #progress-bar {
/* -webkit-appearance: none; */
width: 80%;
height: 8px;
border-radius: 4px;
cursor: pointer;
border-radius: 7px;
background: linear-gradient(145deg, #f0f0f0a7, #cacaca98);
box-shadow: 8px 8px 14px #929292,
-8px -8px 14px #ffffff;
accent-color: #A4B7BE;
}
#progress-bar:focus{
outline: none;
border: none;
}
.progress #progress-bar::-webkit-slider-thumb {
-webkit-appearance: none;
/* appearance: none; */
height: 25px;
width: 25px;
border-radius: 50%;
background: black;
border: 5px solid white;
box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}
.controls {
display: flex;
justify-content: space-evenly;
align-items: center;
padding: 20px;
}
.control {
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
border-radius: 50%;
background: linear-gradient(145deg, #f0f0f0, #cacaca);
box-shadow: 8px 8px 16px #c3c3c3,
-8px -8px 16px #fdfdfd;
font-size: 1.3rem;
color: #91a1a7;
}
.play {
height: 55px;
width: 55px;
font-size: 1.5rem;
}
.prev,
.next {
height: 45px;
width: 45px;
}
.heart,
.repeat {
height: 35px;
width: 35px;
font-size: 1.1rem;
}
.control:active {
transform: scale(1.3);
transition: 0.3s ease-in-out;
}
.heart {
color: rgba(255, 0, 0, 0.522);
text-shadow: 0.5px 0.5px 2px rgba(255, 0, 0, 0.522),
-0.5px -0.5px 1px rgba(255, 0, 0, 0.522);
}
.disc{
position: absolute;
z-index: -1;
transform: translateX(170px);
}
.discImg{
height: 30rem;
/* display: none; */
}
.spin{
animation: spin 1.5s linear infinite ;
}
@keyframes spin {
from{
transform: rotate(0deg);
}
to{
transform: rotate(360deg);
}
}