Skip to content

Commit

Permalink
Merge branch 'master' into kevin_local
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin McDonagh committed Sep 5, 2010
2 parents 7af03c0 + 0d464f8 commit f1a6dae
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 16 deletions.
81 changes: 68 additions & 13 deletions code/css/mashbox1.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
ADDTRACK
TABLE
FILELIST
TRACK MASH LOADING DIALOG
DIALOG
COLORS
FDB7BE
F3A7B0
*/

/* =RESET
Expand Down Expand Up @@ -45,6 +50,8 @@ h1 {
font-size:4.5em;
font-family: 'Reenie Beanie', arial, serif;
font-style:italic;
color:#E84F60;
text-shadow:#F7B448 1px 1px 1px;
}

button {
Expand All @@ -53,8 +60,6 @@ button {
}




/* =PLAYER
--------------------------------------------------------------------------- */
#player {
Expand Down Expand Up @@ -262,6 +267,7 @@ button {
#add-track #files {
position:relative;
z-index:5;
padding-bottom:2px;
}

#add-track > div {
Expand All @@ -277,12 +283,6 @@ button {
font-size:1.2em;
}


/*
FDB7BE
F3A7B0
*/

#add-track #files:hover {
background: -webkit-gradient(
linear,
Expand Down Expand Up @@ -317,8 +317,7 @@ F3A7B0
}

#add-track > span * {
display:inline-block;
vertical-align:bottom;
float:left;
}

#add-track b {
Expand All @@ -330,6 +329,7 @@ F3A7B0

#add-track span span {
font-size:1.3em;
padding:8px 0 0 0;
}

#add-track h3 {
Expand All @@ -346,7 +346,16 @@ F3A7B0
display:block;
}

#add-track #genres li a:hover {
#add-track .genre li a {
background:#eee;
font-size:1.2em;
padding:2px 5px;
border-top:1px solid #fff;
display:block;
}

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

Expand Down Expand Up @@ -444,7 +453,53 @@ table tr:nth-child(2n) {
cursor:pointer;
}


<<<<<<< HEAD
#choose-genre.active:hover span {
border-color: transparent #F3A7B0 transparent transparent !important;
}

#choose-genre.active:hover button {
background:#F3A7B0;
}


/* =DIALOG
--------------------------------------------------------------------------- */
ol{
list-style: none;
}
.cover {
float:left;
}
ol.txt_mash li{
clear:both;
}

.details{
display:block;
margin:0 0 0 108px;
}

.details h3 {
font-size:2em;
}

.details p {
font-size:1.7em;
}

.plus {
text-align:center;
font-size:3em;
font-style:bold;
}

.equals {
text-align:center;
font-size:3em;
font-style:bold;
}


/* =TRACK MASH LOADING DIALOG
--------------------------------------------------------------------------- */
Expand Down
10 changes: 7 additions & 3 deletions code/js/mashbox1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,23 @@ function handleList() {
e.preventDefault();
jQuery("#files + div").slideToggle();
});


var chooseGenre = jQuery('#choose-genre');

jQuery('#genres a').bind('click',function(){
var genre = this.className.split('-')[1];
jQuery('#files-'+genre).removeClass('hidden');
jQuery('#genres').slideUp();
jQuery('#choose-genre').html('<span></span><button>'+genre+'</button>');
chooseGenre.html('<span></span><button>'+genre+'</button>');
chooseGenre.addClass('active')
});

jQuery('#choose-genre button').live('click',function(){
var genre = jQuery('#choose-genre').text();
jQuery('#files-'+genre).addClass('hidden');
jQuery('#genres').slideDown();
jQuery('#choose-genre').html('Choose a genre !');
chooseGenre.html('Choose a genre !');
chooseGenre.removeClass('active')
});

}
Expand Down

0 comments on commit f1a6dae

Please sign in to comment.