Styled the duration and remaining time

pull/29/head
Nikan Dalvand 2019-07-28 12:46:46 +04:30
parent 70555d1b8c
commit 27601f6901
3 changed files with 7 additions and 7 deletions

View File

@ -1,17 +1,17 @@
<template>
<section class="player">
<img @load="onArtworkLoad" class="artwork" src="/static/demo/artwork.jpg" />
<img @load="onArtworkLoad" class="artwork" src="/static/demo/yellow.jpeg" />
<div>
<p class="title">Don't Let Me Down</p>
<p class="artist">The Chainsmokers</p>
<p class="title">Yellow</p>
<p class="artist">Rich Brian</p>
</div>
<div class="visualizer">
<div id="visualizer"></div>
<div id="minimap" class="shade"></div>
</div>
<div class="duration">
<p class="progress active">00:00</p>
<p>{{duration}}</p>
<p class="currentTime progress active">00:00</p>
<p class="remainingTime">{{duration}}</p>
</div>
<div class="control-buttons">
<div class="play-pause-button" @click="togglePlay">
@ -162,10 +162,10 @@ section.player
img.artwork
height: 4.5rem
width: 4.5rem
p.title,p.artist
p.title,p.artist,.currentTime,.remainingTime
font-size: .8rem
margin: 8px 10px
p.artist
p.artist,.remainingTime
color: lighten(black,45)
.visualizer
flex-grow: 1

Binary file not shown.

BIN
static/demo/yellow.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB