}
#player-container #myPlaylist a {
- margin-right: 30px;
white-space: normal;
}
margin:0;
}
#Playlist ol li .soundControls{
- line-height:1.5em;
- height:1.5em;
- clear:right;
- float:right;
+ margin-left: 1ex;
+ position: relative;
+ top: -0.5ex;
+ visibility: hidden;
+}
+#Playlist ol li.active .soundControls {
+ visibility: visible;
}
#Playlist ol li .title{
- margin-right:70px;
- display:block;
+ display:inline-block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: right;
padding: 1ex;
}
+
+button.no-icon-remove::after {
+ content: "\0025fc";
+}
var html5 = $('<button>',{title:"Display HTML5 audio",'class':'icon-html5',click:function(){
audio.toggle();
}}).hide();
- var remove = $('<button>',{title:"Remove from list",'class':'icon-remove',click:function(){
+ var remove = $('<button>',{title:"Remove from list",'class':'no-icon-remove',click:function(){
container.remove();
thePlaylist._update();
}});
audio.trigger('beforePlay').trigger('play');
}
}});
+ controls.append(remove);
var title = $('<a>',{href:sound.url,'class':"button title",html:sound.title});
- container.append(title).append(audio);
+ container.append(title).append(controls).append(audio);
if(sound.focus){thePlaylist.setFocus(container);}
return container;
},