-
Notifications
You must be signed in to change notification settings - Fork 3
/
theme.css
211 lines (173 loc) · 4.18 KB
/
theme.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
dialog {
opacity: 0.7;
border: 0px;
border-radius: 8px;
}
dialog h5 {
background: linear-gradient(rgb(100, 156, 255), rgb(214, 102, 251));
-webkit-background-clip: text;
color: transparent;
text-align: center;
font-size: 18px;
font-weight: 800;
}
dialog ul {
list-style-type: none;
padding: 0px
}
dialog ul li {
border-radius: 8px;
margin: 20px 2px;
background: linear-gradient(rgb(100, 156, 255), rgb(214, 102, 251));
text-align: center;
background-color: #c47135;
border: none;
color: #ffffff;
outline: none;
padding: 12px 40px 10px;
position: relative;
}
dialog ul li:before,
dialog ul li:after {
border: 0 solid transparent;
transition: all 0.25s;
content: '';
height: 24px;
position: absolute;
width: 24px;
}
dialog ul li:before {
border-top: 2px solid #c47135;
left: 0px;
top: -5px;
}
dialog ul li:after {
border-bottom: 2px solid #c47135;
bottom: -5px;
right: 0px;
}
dialog ul li:hover {
background-color: #c47135;
}
dialog ul li:hover:before,
dialog ul li:hover:after {
height: 100%;
width: 100%;
}
endplayer-container {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
endplayer-title {
display: flex;
align-items: center;
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
opacity: 0;
transition: opacity 1s linear;
}
endplayer-title:hover {
opacity: 1;
}
endplayer-title endplayer-title-text {
margin: 5px 10px;
font-size: 18px;
background: linear-gradient(rgb(100, 156, 255), rgb(214, 102, 251));
-webkit-background-clip: text;
color: transparent;
}
endplayer-control {
display: flex;
align-items: center;
flex-direction: column;
justify-content: space-between;
opacity: 0;
transition: opacity 1s linear;
width: 100%;
height: 70px;
background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}
endplayer-control:hover {
opacity: 1;
}
endplayer-controls-tray {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
endplayer-controls-time {
background: linear-gradient(rgb(100, 156, 255), rgb(214, 102, 251));
-webkit-background-clip: text;
color: transparent;
font-size: 12px;
font-weight: 800;
}
endplayer-button-group {
display: flex;
align-items: center;
justify-content: space-between;
}
endplayer-button-group button {
cursor: pointer;
border-radius: 8px;
border: 2px solid rgba(0, 0, 0, 0);
background: none;
margin: 2px 3px;
}
endplayer-button-group button:hover {
background-color: rgba(0, 0, 0, 0.4);
}
endplayer-button-group button:active {
border: 2px solid rgb(100, 156, 255);
transition: border 0.1s;
}
endplayer-button-group button img {
width: 32px;
height: 32px;
}
/* Progress */
/*
* https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/
* */
endplayer-progress {
height: 10px;
width: 98%;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
endplayer-progress input[type="range"] {
-webkit-appearance: none;
overflow: hidden;
outline : none;
background: none;
}
endplayer-progress input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
border: 1px solid #000000;
height: 36px;
width: 16px;
border-radius: 5px;
background: rgb(214, 102, 251);
cursor: pointer;
margin-top: -14px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
transition: background 0.2s;
}
endplayer-progress input[type="range"]::-webkit-slider-thumb:hover {
background: rgb(0, 0, 0, 0.4);
}
endplayer-progress input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 3px;
cursor: pointer;
background: linear-gradient(to right,rgb(98,239,171,0.4) 5%,rgb(242,234,125,0.4) 15%,rgb(242,234,125,0.4) 25%,rgb(255,135,151,0.4) 35%,rgb(255,135,151,0.4) 45%,rgb(225,164,244,0.4) 55%,rgb(225,164,244,0.4) 65%,rgb(130,255,244,0.4) 75%,rgb(130,255,244,0.4) 85%,rgb(98,239,171,0.4) 95%);
border-radius: 3px;
transition: height 0.2s;
}
endplayer-progress input[type=range]::-webkit-slider-runnable-track:hover {
height: 10px;
border-radius: 5px;
}