stash latest changes from local copy

This commit is contained in:
Trevor Squillario 2014-04-16 10:47:07 -04:00
parent 45042656f2
commit b0c3d9e9ab
3 changed files with 25 additions and 22 deletions

View file

@ -69,23 +69,6 @@ function AppCtrl($scope, $rootScope, $document, $window, $location, $cookieStore
} }
}); });
$(".coverartfancy").on("click", "a", function () {
$("a.coverartfancy").fancybox({
beforeShow: function () {
//this.title = $('#songdetails_artist').html();
},
afterLoad: function () {
//this.inner.prepend( '<h1>1. My custom title</h1>' );
//this.content = '<h1>2. My custom title</h1>';
},
hideOnContentClick: true,
type: 'image',
openEffect: 'none',
closeEffect: 'none'
});
});
var submenu_active = false; var submenu_active = false;
$('div.submenu').mouseenter(function () { $('div.submenu').mouseenter(function () {
submenu_active = true; submenu_active = true;
@ -131,6 +114,23 @@ function AppCtrl($scope, $rootScope, $document, $window, $location, $cookieStore
$rootScope.hideQueue(); $rootScope.hideQueue();
} }
}; };
/*
$(document).on("click", "a[name=coverartfancy]", function () {
$.fancybox({
beforeShow: function () {
//this.title = $('#songdetails_artist').html();
},
afterLoad: function () {
//this.inner.prepend( '<h1>1. My custom title</h1>' );
//this.content = '<h1>2. My custom title</h1>';
},
hideOnContentClick: true,
type: 'image',
openEffect: 'none',
closeEffect: 'none'
});
});
*/
$("a.coverartfancy").fancybox({ $("a.coverartfancy").fancybox({
beforeShow: function () { beforeShow: function () {
//this.title = $('#songdetails_artist').html(); //this.title = $('#songdetails_artist').html();
@ -144,7 +144,6 @@ function AppCtrl($scope, $rootScope, $document, $window, $location, $cookieStore
openEffect: 'none', openEffect: 'none',
closeEffect: 'none' closeEffect: 'none'
}); });
$('.showQueue').fancybox({ $('.showQueue').fancybox({
href: '#queue', href: '#queue',
autoWidth: false, autoWidth: false,
@ -156,6 +155,9 @@ function AppCtrl($scope, $rootScope, $document, $window, $location, $cookieStore
if ($rootScope.queue == 0) { if ($rootScope.queue == 0) {
this.close(); this.close();
} }
},
helpers: {
title: null
} }
}); });

View file

@ -172,8 +172,7 @@
// End UnityShim // End UnityShim
} }
if ($rootScope.queue.length > 0) { if ($rootScope.queue.length > 0) {
$('#QueuePreview').stop().scrollTo('#' + id, 400); $('#queue').stop().scrollTo('#' + id, 400);
//$rootScope.showQueue();
} }
var spechtml = ''; var spechtml = '';
var data = $(player1).data().jPlayer; var data = $(player1).data().jPlayer;

View file

@ -743,7 +743,7 @@ ul.songlist .row img
} }
ul.songlist .row .itemactions ul.songlist .row .itemactions
{ {
width: 20%; /* 20% */ width: 15%;
float: left; float: left;
padding: 6px 0 0 16px; padding: 6px 0 0 16px;
} }
@ -762,7 +762,7 @@ ul.songlist .row .track
} }
ul.songlist .row .title ul.songlist .row .title
{ {
width: 20%; /* 50% */ width: 25%;
} }
ul.songlist .row .albumblock ul.songlist .row .albumblock
{ {
@ -779,6 +779,7 @@ ul.songlist .row .albumblock img
ul.songlist .row .artist ul.songlist .row .artist
{ {
width: 15%; width: 15%;
padding: 0 10px 0 0;
} }
ul.songlist .row .albumtext ul.songlist .row .albumtext
{ {
@ -1503,6 +1504,7 @@ a.button {
border-radius: 2px; border-radius: 2px;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
cursor: pointer;
} }
a.button:hover { a.button:hover {
color: #333; color: #333;