Commit c2a29acb authored by Simon Daron's avatar Simon Daron
Browse files

debug player & listen conflict

parent 4e09a6ba
......@@ -335,12 +335,12 @@ background-color:#ff6633; border-color:#fff;}
#player-container.fixed .padded{
padding:0.5em;
}
#Listen.withPlaylist #player-container #audioPlayer{
#Player.withPlaylist #player-container #audioPlayer{
float:left;
width:50%;
border-right:2px solid white;
}
#Listen.withPlaylist #player-container #Playlist{
#Player.withPlaylist #player-container #Playlist{
float:right;
width:49%;
text-align:left;
......@@ -422,22 +422,22 @@ background-color:#ff6633; border-color:#fff;}
@media screen and (max-width: 600px) {
#Listen.withPlaylist #player-container #audioPlayer,
#Listen.withPlaylist #player-container #audioPlayer,
#Listen.withPlaylist #player-container #Playlist{
#Player.withPlaylist #player-container #audioPlayer,
#Player.withPlaylist #player-container #audioPlayer,
#Player.withPlaylist #player-container #Playlist{
float:none !important;
width:auto !important;
border:none;
max-width:auto !important;
}
#Listen.withPlaylist #player-container #Playlist{
#Player.withPlaylist #player-container #Playlist{
border-top:2px solid white;
margin-top:0.5em;
padding-top:0.5em;
}
}
@media screen and (min-width: 600px) {
#Listen #player-container #audioPlayer{
#Player #player-container #audioPlayer{
max-width:50%;
margin:auto;
}
......
......@@ -34,10 +34,10 @@ $(function() {
//doLog(JSON.stringify(self.playlist, null, '\t'));
if(self.playlist.length >= 1){
self.element.show();
$('#Listen').addClass('withPlaylist');
$('#Player').addClass('withPlaylist');
}else{
self.element.hide();
$('#Listen').removeClass('withPlaylist');
$('#Player').removeClass('withPlaylist');
}
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment