|
5 | 5 | width: 100%; |
6 | 6 | height: auto; |
7 | 7 |
|
8 | | - background-color: #f2f2f2; |
| 8 | + background-color: $white; |
9 | 9 |
|
10 | 10 | transition: transform 300ms, height 300ms; |
11 | 11 |
|
12 | 12 | .media-player__controls { |
13 | 13 | position: relative; |
14 | | - background-image: linear-gradient(180deg, #FFF, #E3E3E3); |
15 | | - |
16 | | - box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15); |
| 14 | + background-color: $white; |
17 | 15 |
|
18 | 16 | .controls__play-pause-skip { |
19 | 17 | display: flex; |
|
36 | 34 | font-size: 28px; |
37 | 35 | padding: 0; |
38 | 36 |
|
39 | | - color: #555; |
| 37 | + color: $grey-700; |
40 | 38 |
|
41 | 39 | width: 35px; |
42 | 40 | vertical-align: middle; |
43 | 41 |
|
44 | 42 | i.fi { |
45 | | - background-image: linear-gradient(0deg, #999, #333); |
| 43 | + background-color: $grey-700; |
46 | 44 | -webkit-background-clip: text; |
47 | 45 | -webkit-text-fill-color: transparent; |
48 | 46 | } |
|
53 | 51 | button[disabled] i, |
54 | 52 | button[disabled] i { |
55 | 53 | background-image: none; |
56 | | - background-color: #CCC; |
| 54 | + background-color: $grey-300; |
57 | 55 | } |
58 | 56 |
|
59 | 57 | .controls__actions { |
|
67 | 65 | font-size: 16px; |
68 | 66 | } |
69 | 67 |
|
70 | | - .meta__favorite { |
71 | | - i.active { background-image: linear-gradient(0deg, #F70, #F30); } |
| 68 | + .meta__favorite i { |
| 69 | + &.fi { background-color: $grey-300; } |
| 70 | + &.active { background-color: $soundcloud; } |
72 | 71 | } |
73 | 72 |
|
74 | 73 | .controls__next, |
|
157 | 156 | width: 100%; |
158 | 157 | height: 2px; |
159 | 158 | cursor: pointer; |
160 | | - background: #F50; |
| 159 | + background: $soundcloud; |
161 | 160 | border-radius: 1.3px; |
162 | 161 | } |
163 | 162 | input[type=range]::-webkit-slider-thumb { |
164 | 163 | height: 12px; |
165 | 164 | width: 12px; |
166 | 165 | border-radius: 12px; |
167 | | - background: linear-gradient(180deg, #FFF, #E3E3E3); |
168 | | - box-shadow: 0 0 5px rgba(0, 0, 0, 0.4); |
| 166 | + background: $soundcloud; |
169 | 167 | cursor: pointer; |
170 | 168 | -webkit-appearance: none; |
171 | 169 | margin-top: -5.2px; |
|
181 | 179 | text-align: center; |
182 | 180 | cursor: default; |
183 | 181 |
|
184 | | - color: #666; |
185 | | - text-shadow: 0 1px 0 rgba(#fff, .85); |
| 182 | + color: $grey-700; |
186 | 183 |
|
187 | 184 | -webkit-user-select: none; |
188 | 185 | } |
|
220 | 217 | } |
221 | 218 |
|
222 | 219 | .seeker__progress-bar::-webkit-progress-bar { |
223 | | - background-color: rgba(#C1C1C1, .85); |
| 220 | + background-color: rgba($grey-300, .85); |
224 | 221 | } |
225 | 222 |
|
226 | 223 | .seeker__progress-bar::-webkit-progress-value { |
227 | | - background-color: #f50; |
| 224 | + background-color: $soundcloud; |
228 | 225 | transition: all 200ms; |
229 | 226 | } |
230 | 227 |
|
|
240 | 237 |
|
241 | 238 | float: right; |
242 | 239 |
|
243 | | - background-color: #f50; |
| 240 | + background-color: $soundcloud; |
244 | 241 |
|
245 | 242 | cursor: pointer; |
246 | 243 | } |
|
252 | 249 |
|
253 | 250 | .media-player__meta { |
254 | 251 | font-size: 13px; |
255 | | - color: #fff; |
| 252 | + color: $white; |
256 | 253 | padding: 10px; |
257 | 254 |
|
258 | 255 | .meta__artist, |
259 | 256 | .meta__title { |
260 | 257 | cursor: pointer; |
261 | 258 | } |
262 | 259 |
|
| 260 | + .meta__title { |
| 261 | + margin-top: -1px; // Adjust the height of author and title so they seem as part of the same box |
| 262 | + } |
263 | 263 | > div { |
264 | 264 | max-width: 100%; |
265 | 265 | @include truncate(); |
266 | 266 |
|
267 | 267 | display: block; |
268 | 268 |
|
269 | 269 | > span { |
270 | | - background-color: rgba(0, 0, 0, .9); |
| 270 | + background-color: rgba($black, .9); |
271 | 271 | padding: 4px 6px; |
272 | 272 | line-height: 25px; |
273 | 273 |
|
|
0 commit comments