end screen looks nicer

This commit is contained in:
Vermilingua
2013-11-01 23:12:06 +11:00
parent d7fc109554
commit e60abd0153
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -142,4 +142,8 @@
color:#FFFFFF; color:#FFFFFF;
opacity:0; opacity:0;
position:relative; position:relative;
}
.endGameRestart {
font-size: 32px;
} }
+3 -1
View File
@@ -413,6 +413,8 @@ var Space = {
.animate({opacity:1},1500); .animate({opacity:1},1500);
$('<br />') $('<br />')
.appendTo('.centerCont'); .appendTo('.centerCont');
$('<br />')
.appendTo('.centerCont');
$('#starsContainer').remove(); $('#starsContainer').remove();
if(typeof Storage != 'undefined' && localStorage) { if(typeof Storage != 'undefined' && localStorage) {
@@ -426,7 +428,7 @@ var Space = {
$('#content, #notifications').remove(); $('#content, #notifications').remove();
$('.deleteSave, .share, .manualSave').attr('style', 'color: white;').animate({opacity:0},1500); $('.deleteSave, .share, .manualSave').attr('style', 'color: white;').animate({opacity:0},1500);
$('<span>') $('<span>')
.addClass('deleteSave endGame') .addClass('deleteSave endGame endGameRestart')
.text('restart.') .text('restart.')
.click(Engine.confirmDelete) .click(Engine.confirmDelete)
.appendTo('.centerCont') .appendTo('.centerCont')