-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·119 lines (110 loc) · 2 KB
/
style.css
File metadata and controls
executable file
·119 lines (110 loc) · 2 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
background: linear-gradient(to bottom right, #b968c5, skyblue);
}
.audio-player {
width: 100%;
font-family: arial;
color: white;
font-size: 18px;
overflow: hidden;
display: grid;
grid-template-rows: auto 3px;
margin-bottom: 10px;
}
.time {
font-family: 'HelveticaNeue',Arial,sans-serif;
font-weight: 300;
}
.subtitle {
margin-top: 5px;
font-size: 11px;
font-weight: 300;
font-family: 'HelveticaNeue',Arial,sans-serif;
}
.trackinfo {
display: flex;
flex-direction: column;
margin-left: 24px;
}
.info {
display: flex;
align-items: center;
font-family: 'HelveticaNeue',Arial,sans-serif;
}
.play-container {
border: 1px solid #FFF;
border-radius: 50px;
height: 50px;
width: 50px;
display: flex;
justify-content: center;
align-items: center;
}
.audio-player .timeline {
background: rgba(255, 255, 255, 0.2);
width: 100%;
position: relative;
cursor: pointer;
}
.audio-player .timeline .progress {
background: rgb(255, 255, 255);
width: 0%;
height: 100%;
transition: 0.25s;
}
.audio-player .controls {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 12px;
}
.audio-player .controls .toggle-play.play {
cursor: pointer;
position: relative;
left: 5px;
height: 0;
width: 0;
border: 8px solid #0000;
border-left: 13px solid white;
}
.audio-player .controls .toggle-play.play:hover {
transform: scale(1.1);
}
.audio-player .controls .toggle-play.pause {
height: 15px;
width: 20px;
cursor: pointer;
position: relative;
}
.audio-player .controls .toggle-play.pause:before {
position: absolute;
top: 0;
left: 3px;
background: white;
content: "";
height: 15px;
width: 15px;
}
.audio-player .controls .toggle-play.pause:after {
position: absolute;
top: 0;
right: 8px;
background: white;
content: "";
height: 15px;
width: 3px;
}
.audio-player .controls .toggle-play.pause:hover {
transform: scale(1.1);
}
.audio-player .controls .time {
display: flex;
}
.audio-player .controls .time > * {
padding: 2px;
}