-
Notifications
You must be signed in to change notification settings - Fork 2
/
player.css
89 lines (84 loc) · 1.61 KB
/
player.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
* {
box-sizing: border-box;
}
.player {
width: 500px;
padding: 20px;
margin: 10px;
margin-bottom: 100px;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.35);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
border-radius: 5px;
}
.player .album-cover {
box-shadow: 3px 3px 15px rgba(0,0,0,0.65);
height: 315px;
position: relative;
width: 315px;
z-index: 10;
}
.player .album-cover img {
height: 315px;
position: relative;
width: 315px;
z-index: 10;
}
.player .album-cover .vinyl {
background-position: center, center;
background-size: cover, 40% auto;
background-repeat: no-repeat;
border-radius: 100%;
box-shadow: 0 0 10px rgba(0,0,0,0.8);
height: 300px;
left: 0;
position: absolute;
top: 5px;
width: 300px;
z-index: 5;
left: 52%;
}
.player .album-cover .vinyl.spin {
animation-name: spin;
animation-duration: 2000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
.player .song-progress-bar {
width: 315px;
height: 3px;
background: #ddd;
margin: 10px 0;
}
.player .song-progress-bar .inner-bar {
height: 3px;
background: #df405a;
width: 25%;
}
.player .song-info .song-title {
margin-bottom: 0;
}
.player .player-buttons {
width: 100%;
display: flex;
justify-content: space-around;
margin: 20px 0;
}
.player .player-buttons .playerbtn i {
font-size: 25px;
cursor: pointer;
transition: 0.15s ease-in-out;
}
.player .player-buttons .playerbtn i:hover {
color: #df405a;
}
.player .song-band {
padding: 0;
margin: 0;
}
@keyframes spin {
from {transform:rotate(0deg);}
to {transform:rotate(359deg);}
}