Commit Graph

170 Commits

Author SHA1 Message Date
Steven Evans
56da0f9214 [refactor] Pulling out createStatusText from Engine 2018-08-02 14:33:06 -04:00
Steven Evans
97896cadef [style] Cleanup of Styleline violations
Allowing up to 4 decimal places in order to get 13px from the 16px
default size.

Having "@extend" come before "@include" and other rules to minimize its
use being overlooked. Extending classes and placeholders can lead to
some tricky rendered styles, so the use definitely needs to be done
judiciously.
2018-07-17 12:52:27 -04:00
Steven Evans
98d79d4d3c [refactor] small SCSS refactorings to "bladeburner" and "interactivetutorial" 2018-07-17 12:09:19 -04:00
Steven Evans
4bbd74eedf [refactor] Refactored "missions" SCSS 2018-07-17 12:09:19 -04:00
Steven Evans
681401b7b0 [refactor] Converting all font-size to be based on $defaultFontSize 2018-07-17 12:09:19 -04:00
Steven Evans
2afed92c82 [refactor] Moving global styling out of "loader" 2018-07-17 12:09:18 -04:00
Steven Evans
94e2c58d7f [refactor] Refactored the loader; inlined the customizations 2018-07-17 12:09:18 -04:00
Steven Evans
ec0a2f1903 [refactor] pulling the general font-family to a SCSS variable 2018-07-17 12:09:18 -04:00
Steven Evans
df881791d3 [refactor] Added 'box-shadow' mixin 2018-07-17 12:09:18 -04:00
Steven Evans
cab8c01833 [refactor] Introducing the "border-radius" SCSS mixin 2018-07-17 12:09:17 -04:00
Steven Evans
9b5b997b6d [chore] Introducing SCSS, renaming existing files.
Not utilizing any functionality yet, just setting up for refactorings.
2018-07-17 11:55:04 -04:00
Steven Evans
420b6e9fb9 [style] Enabled Stylelint 'selector-combinator-space-*' rules 2018-07-10 09:49:45 -04:00
Steven Evans
2851424392 [style] Enabled Stylelint 'no-missing-end-of-source-newline' rule 2018-07-10 09:49:44 -04:00
Steven Evans
e74b31e313 [style] Enabled Stylelint "comment-whitespace-inside" rule 2018-07-10 09:49:44 -04:00
Steven Evans
f2b703d94c [style] Enabled Stylelint 'max-empty-lines' rule 2018-07-10 09:49:43 -04:00
Steven Evans
17c91b83d1 [style] Enabled Stylelint 'indentation' rule 2018-07-10 09:49:43 -04:00
Steven Evans
30de15efb7 [refactor] Enabled Stylelint 'function-comma-space-after' rule 2018-07-10 09:49:43 -04:00
Steven Evans
877a276542 [refactor] Enabled Stylelint 'length-zero-no-unit' rule 2018-07-10 09:49:42 -04:00
Steven Evans
bfa2c3d4f9 [refactor] Enabled Stylelint 'no-extra-semicolons' rule 2018-07-10 09:49:42 -04:00
Steven Evans
d563d9624a [refactor] Enabled Stylelint 'declaration-colon-space-after' rule 2018-07-10 09:49:41 -04:00
Steven Evans
71d80ae5a4 [refactor] Enabled Stylelint 'color-hex-length' 2018-07-10 09:49:41 -04:00
Steven Evans
1eee47dd3e [refactor] Enabled Stylelint "color-hex-case" rule 2018-07-10 09:49:41 -04:00
Steven Evans
9f3459a46f [refactor] Enabled Stylelint rule "color-named"
Going with no named colors for consistency.
2018-07-10 09:49:40 -04:00
Olivier Gagnon
83aeb50605 unify dropdown and text input accross the app 2018-06-13 16:20:27 -04:00
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Olivier Gagnon
20b35ccfb5 user can no longer select button text (meaning they can spam) 2018-06-13 03:26:07 -04:00
Olivier Gagnon
a4ef94c0e0 styling dev menu 2018-06-12 17:16:25 -04:00
Olivier Gagnon
bc14a6a147 work on the dev menu 2018-06-12 15:27:37 -04:00
Steven Evans
2cbc728baf [fix] UI layout of hacknet nodes no longer overflows player info 2018-06-05 23:49:06 -04:00
Steven Evans
720478377f [feat] Shrunk the UI of Hacknet Nodes to view more at a time on screen.
The UI of a single Hacknet Node now only takes up ~50% of the screen.
This allows two nodes to be displayed per "row" when the screen is wide
enough.

Also repositioned the buttons for the nodes so they are inline with the
information each updates. This visual correlation lets us reduce the
text that needs to be in each button.

Also reduced the amount of DOM that needs to be continuously garbage
collected by updating specific text rather than throwing out entire HTML
elements.
2018-06-05 13:30:07 -04:00
Olivier Gagnon
f70d39f9e6 make the stock market accound and api button green when bought 2018-05-27 04:02:54 -04:00
danielyxie
9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -05:00
danielyxie
521b81aec0 v0.35.2 2018-03-26 19:46:21 -05:00
danielyxie
f33d81b1a5 v0.35.1 2018-03-12 14:39:04 -05:00
danielyxie
e3c435270b V0.35.0. Adding netscript_tests in game testbench. 2018-03-03 15:05:33 -06:00
danielyxie
779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00
danielyxie
f82d216e10 v0.34.4 2018-02-14 22:26:43 -06:00
danielyxie
5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie
e88a3936f3 v0.34.1 2018-01-19 22:47:57 -06:00
danielyxie
3f61ec1cab v0.34.0 changes 2017-12-06 21:45:47 -06:00
danielyxie
488d6043ec Adding companymanagement.css 2017-12-01 21:32:33 -06:00
danielyxie
bc6f0da677 Fixed Netscript interpreter memory issues by breaking promise chains in while and for loops. Improved Stock Market UI. Added a button to kill script from log display box. Added confirm() Netscript function 2017-11-02 16:47:09 -05:00
danielyxie
4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -05:00
danielyxie
4ccad83e5e Initial implementation of BitNode-8: Ghost of Wall Street. Added TextFile.js to git. Added design for company management 2017-10-20 16:59:54 -05:00
danielyxie
8f0dad0d10 Fixed issue in Hacking Missions where nodes weren't easily selectable 2017-10-13 10:19:42 -05:00
danielyxie
4186326771 Added new Text Files (downloadable) and their corresponding Terminal commands. Added sprintf and vsprintf. 2017-10-12 15:10:34 -05:00
danielyxie
04bfcc0f20 All v0.30.0 Changes 2017-10-09 23:56:48 -05:00
danielyxie
51c37176f1 Bugfixes and balance tweaks for Hacking missions 2017-10-01 22:27:42 -05:00
danielyxie
662f30cc38 Added :q, :x, :wq Vim Ex commands. Added ADR-v2 Pheromone new Augmentation. Fixed bugs and added improvements to Hacking missions. 2017-10-01 21:35:22 -05:00
danielyxie
26fe9eb519 Added Callback function to installAugmentations(). Implemented Source-File 5. Added player-defined functions to Netscript (not thoroughly tested). Began working on Hacking Mission Enemy 'AI' 2017-09-29 10:02:33 -05:00