mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
end screen looks nicer
This commit is contained in:
@@ -142,4 +142,8 @@
|
|||||||
color:#FFFFFF;
|
color:#FFFFFF;
|
||||||
opacity:0;
|
opacity:0;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.endGameRestart {
|
||||||
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
+3
-1
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user