Skip to content
This repository was archived by the owner on Feb 9, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions app/styles/player.styl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@

#total-time
float: right

#progress-bar
margin-top: 8px
background-color: $border-color
Expand All @@ -207,18 +206,25 @@
border-radius: 2px
cursor: pointer

#progress-bar::after
position: absolute
content: ""
width: 779px
height: 100%
border-radius: 2px

#progress
width: 0%
height: 4px
border-radius: 2px
background-color: $blue

@media (max-width: 63.9375em)
margin-top: 0px
position: absolute
top: 0px
left: 0px

#progress
width: 0%
height: 4px
border-radius: 2px
background-color: $blue

.controls-extended
width: 280px

Expand Down
12 changes: 6 additions & 6 deletions app/views/templates/playerTimeline.jst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="text-container">
<span id="title"><%= title %></span>
<% if (artist != "") {%>
<span id="artist"><%= artist %></span>
<span id="artist"><%= artist %></span>
<% } %>
</div>
<div id="progress-bar">
<div id="progress" style="width:<%= timePercent %>"></div>
</div>
<span id="current-time"><%= audioCurrentTime %></span>
<span id="total-time"><%= totalTime %></span>
<div id="progress-bar">
<div id="progress" style="width:<%= timePercent %>"></div>
</div>
<span id="current-time"><%= audioCurrentTime %></span>
<span id="total-time"><%= totalTime %></span>