diff --git a/css/main.css b/css/main.css index 631b6df..869d6e7 100644 --- a/css/main.css +++ b/css/main.css @@ -69,6 +69,7 @@ div#header { right: 10px; bottom: 10px; color: #666; + z-index: 10; } .menu span { @@ -126,6 +127,10 @@ span.customSelectOptions { text-decoration: underline; } +.menu .appStore { + font-weight: bold; +} + div.headerButton { font-size: 18px; cursor: pointer; diff --git a/css/space.css b/css/space.css index 61705e6..b044231 100644 --- a/css/space.css +++ b/css/space.css @@ -144,11 +144,11 @@ position:relative; } -.endGameRestart { +.endGameOption { font-size: 32px; cursor: pointer; } -.endGameRestart:hover { +.endGameOption:hover { text-decoration: underline; } diff --git a/mobileWarning.html b/mobileWarning.html index cf06a9b..65584db 100644 --- a/mobileWarning.html +++ b/mobileWarning.html @@ -27,7 +27,7 @@ Sorry about that!

Of course you can play anyway, but it probably won't work!

- A Dark Room is now native on iOS! Get it on the App Store. + A Dark Room is now native on iOS! Get it on the App Store. diff --git a/script/engine.js b/script/engine.js index a644318..3340548 100644 --- a/script/engine.js +++ b/script/engine.js @@ -133,6 +133,12 @@ }); } + $('') + .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); + $('') .addClass('lightsOff menuBtn') .text(_('lights off.')) @@ -173,12 +179,6 @@ .appendTo(menu); } - $('') - .addClass('menuBtn') - .text(_('app store.')) - .click(function() { window.open('https://itunes.apple.com/us/app/a-dark-room/id736683061'); }) - .appendTo(menu); - $('') .addClass('menuBtn') .text(_('github.')) diff --git a/script/space.js b/script/space.js index d9d91b8..c12ef0d 100644 --- a/script/space.js +++ b/script/space.js @@ -438,11 +438,19 @@ var Space = { $('#starsContainer').remove(); $('#content, #notifications').remove(); $('') - .addClass('endGame endGameRestart') + .addClass('endGame endGameOption') .text(_('restart.')) .click(Engine.confirmDelete) .appendTo('.centerCont') .animate({opacity:1},1500); + $('
') + .appendTo('.centerCont'); + $('') + .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); }