Add single track button

This commit is contained in:
Gregory Eremin
2011-09-26 17:34:18 +04:00
parent a74376009a
commit 037f16ea80
5 changed files with 36 additions and 6 deletions
+1
View File
@@ -229,3 +229,4 @@ $('.add-album').live 'click', ->
item['album'] = album.name
_player.addTracks album.tracks
false
+24
View File
@@ -37,6 +37,30 @@
}
td.song-duration {
text-align: right;
.s-duration {
display: block;
padding: 1px 0;
}
.s-add {
display: none;
font-size: 11px;
line-height: 11px;
color: #fafffa;
background-color: #90cc90;
border: #80bb80 1px solid;
border-radius: 3px;
padding: 0 3px 2px 3px;
float: right;
cursor: pointer;
}
}
tr:hover {
.s-duration {
display: none;
}
.s-add {
display: block;
}
}
}
}