Skip to content

Commit

Permalink
conversion tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Continuities committed Nov 9, 2015
1 parent 3849f78 commit fba203c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 10 deletions.
5 changes: 5 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ div#header {
right: 10px;
bottom: 10px;
color: #666;
z-index: 10;
}

.menu span {
Expand Down Expand Up @@ -126,6 +127,10 @@ span.customSelectOptions {
text-decoration: underline;
}

.menu .appStore {
font-weight: bold;
}

div.headerButton {
font-size: 18px;
cursor: pointer;
Expand Down
4 changes: 2 additions & 2 deletions css/space.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@
position:relative;
}

.endGameRestart {
.endGameOption {
font-size: 32px;
cursor: pointer;
}

.endGameRestart:hover {
.endGameOption:hover {
text-decoration: underline;
}
2 changes: 1 addition & 1 deletion mobileWarning.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
Sorry about that!<br/>
</strong><br/>
Of course you can <a href='index.html?ignorebrowser=true'>play anyway</a>, but it probably won't work!<br/><br/>
A Dark Room is now native on iOS! Get it on the <a href="https://itunes.apple.com/us/app/a-dark-room/id736683061?mt=8">App Store</a>.
A Dark Room is now native on iOS! Get it on the <a href="https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=mobilesplash&mt=8">App Store</a>.
</div>
</center>
</body>
Expand Down
12 changes: 6 additions & 6 deletions script/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@
});
}

$('<span>')
.addClass('appStore menuBtn')
.text(_('app store.'))
.click(function() { window.open('https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=adrproper&mt=8'); })
.appendTo(menu);

$('<span>')
.addClass('lightsOff menuBtn')
.text(_('lights off.'))
Expand Down Expand Up @@ -173,12 +179,6 @@
.appendTo(menu);
}

$('<span>')
.addClass('menuBtn')
.text(_('app store.'))
.click(function() { window.open('https://itunes.apple.com/us/app/a-dark-room/id736683061'); })
.appendTo(menu);

$('<span>')
.addClass('menuBtn')
.text(_('github.'))
Expand Down
10 changes: 9 additions & 1 deletion script/space.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,19 @@ var Space = {
$('#starsContainer').remove();
$('#content, #notifications').remove();
$('<span>')
.addClass('endGame endGameRestart')
.addClass('endGame endGameOption')
.text(_('restart.'))
.click(Engine.confirmDelete)
.appendTo('.centerCont')
.animate({opacity:1},1500);
$('<br />')
.appendTo('.centerCont');
$('<span>')
.addClass('endGame endGameOption')
.text(_('app store.'))
.click(function() { window.open('https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=gameover&mt=8'); })
.appendTo('.centerCont')
.animate({opacity:1},1500);
Engine.options = {};
Engine.deleteSave(true);
}
Expand Down

0 comments on commit fba203c

Please sign in to comment.