-
Notifications
You must be signed in to change notification settings - Fork 38
/
Main.css
133 lines (118 loc) · 2.02 KB
/
Main.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
body{
margin: 0px;
padding: 0px;
}
#bg{
height: 100vh;
width: 100%;
position: absolute;
overflow: hidden;
}
#bg img{
height: 120vh;
width: 105%;
-webkit-filter:blur(20px);
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 1;
}
#blackLayer{
height: 100vh;
width: 100%;
background-color: rgba(0,0,0,.2);
position: absolute;
z-index: 99;
}
#main{
width: 25%;
background-color:#fff;
border-radius: 15px;
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 999;
}
#image img{
height: 180px;
width: 100%;
margin-top: -5px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
#player{
padding: 25px;
color:#333;
}
#songTitle{
width:300px;
text-align: center;
font-family: monospace;
font-size: 18px;
position: absolute;
top:60%;
left: 50%;
transform: translate(-50%,-50%);
}
#buttons{
height: 50px;
width: 100%;
margin-top: 50px;
position:relative;
top:10%;
left: 50%;
transform: translate(-50%,-50%);
}
#play,#next,#pre{
width: 50px;
height: 50px;
border: 0;
background-color:royalblue;
border-radius: 50%;
outline: none;
cursor: pointer;
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
}
#next{
width: 30px;
height: 30px;
left: 70%;
}
#pre{
width: 30px;
height: 30px;
left: 30%;
}
#play img,#next img,#pre img{
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
}
#seek-bar{
width: 250px;
height: 5px;
background-color:gray;
display: flex;
border-radius: 50px;
margin-left: 25px;
cursor: pointer;
}
#fill{
height: 5px;
background-color:royalblue;
border-radius: 20px;
}
#handle{
width: 8px;
height: 8px;
background-color:royalblue;
border-radius: 50%;
margin-left: -5px;
transform: scale(2);
}