diff --git a/README.md b/README.md index da382d30e..9c3317aaa 100644 --- a/README.md +++ b/README.md @@ -52,19 +52,18 @@ Tasks TODO: Private beta feedback - 2 things right off the bat, I'd suggest putting a "Back" button in the tutorial - window, and you could highlight or otherwise point out which tab the tutorial is - suggesting I click on next - Maybe have a different colour for each tab, and then in the tutorial window it - can have the name of the tab with that colour + I'd suggest putting a "Back" button in the tutorial + window, Also not really a big deal, but I'm at 110% zoom on chrome and the tutorial window covers some of the text For the last thing of the tutorial, I would just have a button like "Finish Tutorial" rather than "Next" - Command to see a script's RAM cost + I'd put a little popup or something when you click save, so you know Netscript commands: I just got two from the top of my head: a function to get the current cash on the server, and a function to know how much a hack would take - Like, if I want to grow each time I take 5000$ from the server, that would be practical \ No newline at end of file + Like, if I want to grow each time I take 5000$ from the server, that would be practical + + Now, only other suggestion before sleep would be to be able to buy multiple Hacknet upgrades in one click \ No newline at end of file diff --git a/css/interactivetutorial.css b/css/interactivetutorial.css index f72d71d7a..86150a903 100644 --- a/css/interactivetutorial.css +++ b/css/interactivetutorial.css @@ -5,7 +5,7 @@ right: 0; top: 0; height: 100%; /* Full height */ - margin: 20% auto; + margin: 35% auto; padding: 10px; border: 5px solid #FFFFFF; width: 35%; @@ -22,7 +22,8 @@ } #interactive-tutorial-exit, -#interactive-tutorial-next { +#interactive-tutorial-next, +#interactive-tutorial-back { color: #aaa; font-size: 20px; font-weight: bold; @@ -38,6 +39,11 @@ float: left; } +#interactive-tutorial-back { + margin-right: 20%; + float: right; +} + #interactive-tutorial-next { float: right; } @@ -45,7 +51,9 @@ #interactive-tutorial-exit:hover, #interactive-tutorial-exit:focus, #interactive-tutorial-next:hover, -#interactive-tutorial-next:focus { +#interactive-tutorial-next:focus, +#interactive-tutorial-back:hover, +#interactive-tutorial-back:focus { color: white; text-decoration: none; cursor: pointer; diff --git a/css/styles.css b/css/styles.css index 4a58be444..64d8b63e3 100644 --- a/css/styles.css +++ b/css/styles.css @@ -163,4 +163,36 @@ tr:focus { .tooltip:hover .tooltiptext { visibility: visible; +} + +/* Flashing button */ +@-webkit-keyframes glowing { + 0% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; } + 50% { background-color: #FF0000; -webkit-box-shadow: 0 0 40px #FF0000; } + 100% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; } +} + +@-moz-keyframes glowing { + 0% { background-color: #B20000; -moz-box-shadow: 0 0 3px #B20000; } + 50% { background-color: #FF0000; -moz-box-shadow: 0 0 40px #FF0000; } + 100% { background-color: #B20000; -moz-box-shadow: 0 0 3px #B20000; } +} + +@-o-keyframes glowing { + 0% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } + 50% { background-color: #FF0000; box-shadow: 0 0 40px #FF0000; } + 100% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } +} + +@keyframes glowing { + 0% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } + 50% { background-color: #FF0000; box-shadow: 0 0 40px #FF0000; } + 100% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } +} + +.flashing-button { + -webkit-animation: glowing 1500ms infinite; + -moz-animation: glowing 1500ms infinite; + -o-animation: glowing 1500ms infinite; + animation: glowing 1500ms infinite; } \ No newline at end of file diff --git a/index.html b/index.html index b760337cb..f045e7fbb 100644 --- a/index.html +++ b/index.html @@ -690,6 +690,7 @@
Exit Tutorial Next + Back