Skip to content

Commit

Permalink
merging lastfm + ui dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
yvg committed Sep 5, 2010
1 parent 02fb0ef commit c859c4e
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 8 deletions.
56 changes: 51 additions & 5 deletions code/css/mashbox1.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ul {

body {
font-family:'Molengo', Arial, Verdana, sans-serif;
background:#ededed;
background:#FEF9F5;
font-size:69.75%;
color:#444;
}
Expand Down Expand Up @@ -68,7 +68,22 @@ button {
margin: 0 10px 0 0;
}
#player > div:first-child:hover {
background:#ffffd3;
background:#E84F60 -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.11, rgb(232,79,97)),
color-stop(0.74, rgb(255,120,138))
);
background:#E84F60 -moz-linear-gradient(
center bottom,
rgb(232,79,97) 11%,
rgb(255,120,138) 74%
);
}

#player > div:first-child:hover a {
border-color:transparent transparent transparent #000 !important;
}

#player > div:first-child a {
Expand Down Expand Up @@ -213,6 +228,18 @@ button {
border-width:17px !important;
}

#player > div:first-child:hover .sc-player.playing .sc-controls a.sc-pause {
border-color:#000 !important;
}

.sc-player.playing .sc-controls a.sc-pause{
/* background: url('../img/pause.png');*/
/* display:block !important;
border-color: red !important;
margin:28px 0 0 28px !important;
border-width:17px !important;*/
}

.sc-player.playing .sc-controls a.sc-pause:hover{
/* background: url('../img/pause-hover.png');*/
}
Expand Down Expand Up @@ -249,8 +276,27 @@ button {
font-size:1.2em;
}


/*
FDB7BE
F3A7B0
*/

#add-track #files:hover {
background:#ffffd3;
background: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.11, #F3A7B0),
color-stop(0.74, #FDB7BE)
);
background: -moz-linear-gradient(
center bottom,
#F3A7B0 11%,
#FDB7BE 74%
);

color:#000;
}

#add-track > span {
Expand Down Expand Up @@ -300,7 +346,7 @@ button {
}

#add-track #genres li a:hover {
background:#ffffd3;
background:rgba(247,180,72,.5);
}


Expand Down Expand Up @@ -328,7 +374,7 @@ table tr {
}

table tr:hover td {
background:#ffffd3 !important;
background:rgba(247,180,72,.5) !important;
}

table th {
Expand Down
5 changes: 4 additions & 1 deletion code/js/mashbox1.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ var lastFmGetCover = function(nb) {

}


console.log(soundcloud)
soundcloud.addEventListener('onPlayerReady', function(){
alert('ok')
});



Expand Down
2 changes: 0 additions & 2 deletions code/mashbox1.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="js/soundcloud.player.api.js"></script>
<script type="text/javascript" src="js/sc-player.js"></script>
<script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="scripts/jquery-ui-1.8.4.custom.min.js"></script>
<script type="text/javascript" src="js/mashbox1.js"></script>
</body>
</html>

0 comments on commit c859c4e

Please sign in to comment.