diff --git a/css/bladeburner.css b/css/bladeburner.css index 00e30c402..2a658fb8c 100644 --- a/css/bladeburner.css +++ b/css/bladeburner.css @@ -7,9 +7,9 @@ } .bladeburner-action { - border:1px solid #fff; - margin:7px; - padding:7px; + border: 1px solid #fff; + margin: 7px; + padding: 7px; white-space: pre-wrap; } @@ -19,25 +19,25 @@ /* Whatever action is currently active */ .bladeburner-active-action { - border:4px solid #fff; + border: 4px solid #fff; } /* Action & Skills panel navigation button */ .bladeburner-nav-button { - border:1px solid #fff; - color:#fff; - padding:2px; - margin:2px; + border: 1px solid #fff; + color: #fff; + padding: 2px; + margin: 2px; } .bladeburner-nav-button:hover { - background-color:#3d4044; + background-color: #3d4044; } .bladeburner-nav-button-inactive { - border:1px solid #fff; - padding:2px; - margin:2px; + border: 1px solid #fff; + padding: 2px; + margin: 2px; text-decoration: none; background-color: #555; cursor: default; @@ -46,24 +46,24 @@ /* Bladeburner Console */ .bladeburner-console-div { - display:inline-block; - width:40%; - border:1px solid #fff; - overflow:auto; - height:100%; - position:absolute; + display: inline-block; + width: 40%; + border: 1px solid #fff; + overflow: auto; + height: 100%; + position: absolute; } .bladeburner-console-table { - height:auto; - overflow:auto; - table-layout:fixed; - width:100%; + height: auto; + overflow: auto; + table-layout: fixed; + width: 100%; } .bladeburner-console-input-row { transition: height 1s; - width:100%; + width: 100%; } .bladeburner-console-input-cell { @@ -84,7 +84,7 @@ .bladeburner-console-line { word-wrap: break-word; - hyphens:auto; + hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto; } diff --git a/css/companymanagement.css b/css/companymanagement.css index 7a399798f..5c26a25d4 100644 --- a/css/companymanagement.css +++ b/css/companymanagement.css @@ -9,8 +9,8 @@ .cmpy-mgmt-header-tab { display: inline-block; color: #fff; - background-color:#555; - border:1px solid #fff; + background-color: #555; + border: 1px solid #fff; padding: 4px; } @@ -24,7 +24,7 @@ /* Switch between Cities */ .cmpy-mgmt-city-tab { - display:inline-block; + display: inline-block; color: #fff; background-color: #555; border: 1px solid #fff; @@ -46,7 +46,7 @@ .cmpy-mgmt-industry-left-panel, .cmpy-mgmt-industry-right-panel { - display:inline-block; + display: inline-block; width: 45%; height: 100%; top: 10px; @@ -57,73 +57,73 @@ .cmpy-mgmt-industry-overview-panel { border: 1px solid #fff; color: var(--my-font-color); - display:inline-block; + display: inline-block; width: 100%; } .cmpy-mgmt-employee-panel { border: 1px solid #fff; - display:block; - width:100%; + display: block; + width: 100%; } .cmpy-mgmt-warehouse-panel { border: 1px solid #fff; - display:inline-block; - width:100%; + display: inline-block; + width: 100%; } /* Hiring new employees*/ .cmpy-mgmt-find-employee-option { - border:1px solid #fff; + border: 1px solid #fff; margin: 6px; } .cmpy-mgmt-find-employee-option:hover { - background-color:#3d4044; + background-color: #3d4044; } /* Warehouse */ .cmpy-mgmt-warehouse-material-div { - padding:2px; - border:1px solid #fff; + padding: 2px; + border: 1px solid #fff; } .cmpy-mgmt-warehouse-product-div { - padding:2px; - border:1px solid #fff; + padding: 2px; + border: 1px solid #fff; } /* Exporting materials/products */ .cmpy-mgmt-existing-export { - border:1px solid #fff; - border-radius:25px; - margin:4px; - padding:4px; + border: 1px solid #fff; + border-radius: 25px; + margin: 4px; + padding: 4px; } .cmpy-mgmt-existing-export:hover { - background-color:#333; + background-color: #333; } /* Upgrades */ .cmpy-mgmt-upgrade-container { - border:1px solid #fff; + border: 1px solid #fff; width: 60%; - margin:4px; + margin: 4px; } .cmpy-mgmt-upgrade-div { - display:inline-block; - border:1px solid #fff; - margin:2px; - padding:6px; - border-radius:25px; - font-size:"12px"; - color:var(--my-font-color); + display: inline-block; + border: 1px solid #fff; + margin: 2px; + padding: 6px; + border-radius: 25px; + font-size: "12px"; + color: var(--my-font-color); } .cmpy-mgmt-upgrade-div:hover { - background-color:#333; + background-color: #333; } diff --git a/css/interactivetutorial.css b/css/interactivetutorial.css index b861af790..095a626c8 100644 --- a/css/interactivetutorial.css +++ b/css/interactivetutorial.css @@ -1,6 +1,6 @@ /* interactivetutorial.css */ #interactive-tutorial-wrapper { - position:relative; + position: relative; } #interactive-tutorial-container { @@ -40,7 +40,7 @@ -moz-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000; - background-color:#000; + background-color: #000; } #interactive-tutorial-exit { diff --git a/css/loader.css b/css/loader.css index c23dfb52f..e6022d953 100644 --- a/css/loader.css +++ b/css/loader.css @@ -140,8 +140,8 @@ button[type="button"] { .loaderoverlay .loaderspinner, .loaderoverlay .loaderspinner:before, .loaderoverlay .loaderspinner:after { - border-top-color: #6f3!important; - border-bottom-color:#6f3 !important; + border-top-color: #6f3 !important; + border-bottom-color: #6f3 !important; } .loaderoverlay .loaderlabel { color: #6f3; diff --git a/css/menupages.css b/css/menupages.css index a73822fa2..e490c0334 100644 --- a/css/menupages.css +++ b/css/menupages.css @@ -17,7 +17,7 @@ /* Script Editor */ #script-editor-container { - background-color:transparent; + background-color: transparent; } #javascript-editor { margin: 10px; @@ -37,14 +37,14 @@ .ace_line, .ace_line * { - background-color:transparent; - margin:0px; - padding:0px; + background-color: transparent; + margin: 0px; + padding: 0px; } .ace_text-input { - font-size:16px; - background-color:transparent; + font-size: 16px; + background-color: transparent; } /* This temp element is used for auto adjusting filename field */ @@ -65,9 +65,9 @@ } #script-editor-wrapper { - height:100%; + height: 100%; width: 70%; - background:transparent; + background: transparent; } #script-editor-filename-wrapper { @@ -83,7 +83,7 @@ display: inline-block; padding-top: 10px; padding-bottom: 0px; - float:center; + float: center; background-color: #555; color: #fff; } @@ -96,7 +96,7 @@ color: #fff; margin: 4px; - padding: 2px; + padding: 2px; border: 2px solid var(--my-highlight-color); -webkit-box-shadow: @@ -116,23 +116,23 @@ } #script-editor-options-panel { - position:absolute; + position: absolute; right: 9%; - bottom:15%; - border:2px solid #fff; - width:19%; - background-color:#444; - padding:2px; - overflow:auto; + bottom: 15%; + border: 2px solid #fff; + width: 19%; + background-color: #444; + padding: 2px; + overflow: auto; z-index: 1; color: #fff; } #script-editor-options-panel fieldset { - margin-top:8px; - margin-bottom:8px; + margin-top: 8px; + margin-bottom: 8px; padding: 2px; - font-size:12px; + font-size: 12px; } /* Active scripts */ @@ -271,7 +271,7 @@ box-shadow: 1px 1px 3px #000; margin: 4px; padding: 4px; - background-color:#000; + background-color: #000; } .active-scripts-button:hover, @@ -403,11 +403,11 @@ } .faction-work-div-wrapper { - overflow:hidden; + overflow: hidden; border: 2px solid #333; padding: 6px; margin: 6px; - width:70%; + width: 70%; } #faction-donate-amount-txt, @@ -416,11 +416,11 @@ margin: 6px; display: inline-block; color: var(--my-font-color); - background-color:#000; + background-color: #000; } #faction-donate-amount-txt { - width:50%; + width: 50%; } #faction-container p, @@ -509,7 +509,7 @@ } #location-container a { - display:inline-block; + display: inline-block; width: 30%; } @@ -538,7 +538,7 @@ } #infiltration-left-panel, #infiltration-right-panel { - display:inline-block; + display: inline-block; border: 1px solid #fff; width: 35%; height: 75%; @@ -548,7 +548,7 @@ } #infiltration-faction-select { - color:#fff; + color: #fff; } #infiltration-left-panel p, @@ -557,7 +557,7 @@ } #infiltration-buttons .a-link-button { - display:inline; + display: inline; width: 25%; } @@ -587,12 +587,12 @@ } .stock-market-position-text { - color:#fff; - display:inline-block; + color: #fff; + display: inline-block; } .stock-market-order-list { - overflow-y:auto; + overflow-y: auto; max-height: 100px; } @@ -615,6 +615,6 @@ } .gang-member-info-div { - float:left; + float: left; background-color: #555; } diff --git a/css/missions.css b/css/missions.css index 6406699f5..261727afa 100644 --- a/css/missions.css +++ b/css/missions.css @@ -2,7 +2,7 @@ /* Hacking missions */ #mission-container { - overflow:hidden; + overflow: hidden; } .hack-mission-grid { @@ -13,29 +13,29 @@ grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; grid-gap: 2.5%; height: 90%; - position:absolute; + position: absolute; width: 100%; - overflow-y:auto; + overflow-y: auto; padding-right: 10px; } .hack-mission-grid::-webkit-scrollbar { - display:none; + display: none; } .hack-mission-node { - z-index:5; - background-color:#808080; + z-index: 5; + background-color: #808080; align-self: center; justify-self: center; - display:inline-block; + display: inline-block; } .hack-mission-node p { - margin-top:8px; - color:#fff; - font-size:12px; - text-align:center; + margin-top: 8px; + color: #fff; + font-size: 12px; + text-align: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -43,8 +43,8 @@ } .hack-mission-player-node { - color:#fff; - background-color:#00f; + color: #fff; + background-color: #00f; } .hack-mission-player-node-active { @@ -53,21 +53,21 @@ } .hack-mission-enemy-node { - color:#fff; - background-color:#f00; + color: #fff; + background-color: #f00; } .hack-mission-cpu-node { - width:100%; - height:100%; + width: 100%; + height: 100%; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; } .hack-mission-firewall-node { - width:90%; - height:100%; + width: 90%; + height: 100%; } .hack-mission-database-node { @@ -82,10 +82,10 @@ -webkit-transform: skew(-20deg); -moz-transform: skew(-20deg); -o-transform: skew(-20deg); - color:#fff; - font-size:12px; + color: #fff; + font-size: 12px; margin-top: 8px; - text-align:center; + text-align: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -104,10 +104,10 @@ -webkit-transform: skew(20deg); -moz-transform: skew(20deg); -o-transform: skew(20deg); - color:#fff; - font-size:12px; + color: #fff; + font-size: 12px; margin-top: 8px; - text-align:center; + text-align: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -116,7 +116,7 @@ .hack-mission-spam-node, .hack-mission-shield-node { - height:100%; + height: 100%; width: 100%; } diff --git a/css/popupboxes.css b/css/popupboxes.css index 35ae48ae5..2b92cdd33 100644 --- a/css/popupboxes.css +++ b/css/popupboxes.css @@ -7,7 +7,7 @@ top: 0; width: 100%; height: 100%; - overflow:auto; + overflow: auto; background-color: rbga(var(--my-background-color), 0.4); } @@ -29,7 +29,7 @@ padding: 2px; margin: 6px; border: 1px solid #fff; - background-color:#000; + background-color: #000; } .popup-box-button:hover, @@ -47,7 +47,7 @@ #yes-no-text-input-box-input { color: var(--my-font-color); border: 1px solid #fff; - background-color:#000; + background-color: #000; } .dialog-box-container, @@ -97,8 +97,8 @@ } #log-box-close, #log-box-kill-script { - float:right; - display:inline-block; + float: right; + display: inline-block; } .dialog-box-close-button:hover, @@ -126,7 +126,7 @@ } #infiltration-faction-select { - background-color:#000; + background-color: #000; } /* Generic Yes No Box */ @@ -177,10 +177,10 @@ } #game-options-left-panel fieldset { - padding:2px; - margin:2px; + padding: 2px; + margin: 2px; } #import-game-file-selector { - display:none; + display: none; } diff --git a/css/styles.css b/css/styles.css index 5ef165ddb..a0fed4938 100644 --- a/css/styles.css +++ b/css/styles.css @@ -42,7 +42,7 @@ span { } #entire-game-container { - background-color:transparent; + background-color: transparent; } /* Disable border highlight on elements */ @@ -51,7 +51,7 @@ textarea:focus, button:focus, td:focus, tr:focus { - outline:none; + outline: none; } /* Main navigation menu */ @@ -94,7 +94,7 @@ tr:focus { } .mainmenu>li a.active:hover { - background-color:#aaa; + background-color: #aaa; } /* Plus and minus signs */ @@ -111,7 +111,7 @@ tr:focus { } .mainmenu-accordion-header.opened { - background-color:#222; + background-color: #222; } /* Slide down transition */ @@ -123,12 +123,12 @@ tr:focus { /* Borders */ .mainmenu-accordion-header { - border:2px solid #fff; + border: 2px solid #fff; } /* Make html links ("a" elements) nice looking buttons with this class */ a:link, a:visited { - color:#fff; + color: #fff; } .a-link-button { @@ -198,18 +198,18 @@ a:link, a:visited { } .dropdown { - color:#fff; - background-color:#000; + color: #fff; + background-color: #000; } .text-input { - color:#fff; - background-color:#000; + color: #fff; + background-color: #000; } /* Notification icon (for create program right now only) */ #create-program-tab { - position:relative; + position: relative; } #create-program-notification { font-size: 10px; @@ -263,7 +263,7 @@ a:link, a:visited { text-align: center; padding: 4px; left: 101%; - bottom:-25%; + bottom: -25%; position: absolute; z-index: 99; @@ -280,7 +280,7 @@ a:link, a:visited { text-align: center; padding: 4px; left: 40%; - bottom:-10%; + bottom: -10%; position: absolute; z-index: 99; @@ -294,13 +294,13 @@ a:link, a:visited { /* help tip. Question mark that opens popup with info/details */ .help-tip { - content:'?'; - padding:1px; - margin-left:3px; - color:#fff; - border:1px solid #fff; - border-radius:5px; - display:inline-block; + content: '?'; + padding: 1px; + margin-left: 3px; + color: #fff; + border: 1px solid #fff; + border-radius: 5px; + display: inline-block; } .help-tip:hover { @@ -357,48 +357,48 @@ a:link, a:visited { } @-keyframes blink{ - 0% { opacity:1; } - 50% { opacity:0; } - 100% { opacity:1; } + 0% { opacity: 1; } + 50% { opacity: 0; } + 100% { opacity: 1; } } @-webkit-keyframes blink{ - 0% { opacity:1; } - 50% { opacity:0; } - 100% { opacity:1; } + 0% { opacity: 1; } + 50% { opacity: 0; } + 100% { opacity: 1; } } @-moz-keyframes blink{ - 0% { opacity:1; } - 50% { opacity:0; } - 100% { opacity:1; } + 0% { opacity: 1; } + 50% { opacity: 0; } + 100% { opacity: 1; } } @-ms-keyframes blink{ - 0% { opacity:1; } - 50% { opacity:0; } - 100% { opacity:1; } + 0% { opacity: 1; } + 50% { opacity: 0; } + 100% { opacity: 1; } } @-o-keyframes blink{ - 0% { opacity:1; } - 50% { opacity:0; } - 100% { opacity:1; } + 0% { opacity: 1; } + 50% { opacity: 0; } + 100% { opacity: 1; } } /* Status text */ @-webkit-keyframes status-text{ from{ - opacity:1; - top:0px; + opacity: 1; + top: 0px; } to{ - opacity:0; - top:0px; + opacity: 0; + top: 0px; } } .status-text{ - display:inline; - position:fixed; - top:0px; - -webkit-animation:status-text 3s 1; + display: inline; + position: fixed; + top: 0px; + -webkit-animation: status-text 3s 1; background-color: transparent; height: 15%; } @@ -457,7 +457,7 @@ a:link, a:visited { -webkit-box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000; height: 22px; - background-color:#000; + background-color: #000; } #character-overview-save-button:hover, @@ -475,12 +475,12 @@ a:link, a:visited { /* Scan analyze links from AutoLink */ .scan-analyze-link { - cursor:pointer; - color:#fff; - text-decoration:underline; + cursor: pointer; + color: #fff; + text-decoration: underline; } .scan-analyze-link:hover { - text-decoration:none; + text-decoration: none; } /* Accordion menus (Header with collapsible panel) */ @@ -529,8 +529,8 @@ a:link, a:visited { margin-left: 5%; display: none; background-color: #555; - overflow-y:auto; - overflow-x:none; + overflow-y: auto; + overflow-x: none; } .accordion-panel div, diff --git a/css/terminal.css b/css/terminal.css index 76fb71737..9633edc19 100644 --- a/css/terminal.css +++ b/css/terminal.css @@ -16,7 +16,7 @@ overflow: auto; overflow-y: scroll; background-color: var(--my-background-color); - table-layout:fixed; + table-layout: fixed; } #terminal-input { @@ -39,7 +39,7 @@ .terminal-line { width: 70%; word-wrap: break-word; - hyphens:auto; + hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto; } diff --git a/css/workinprogress.css b/css/workinprogress.css index a13664e72..ed922ee65 100644 --- a/css/workinprogress.css +++ b/css/workinprogress.css @@ -44,12 +44,12 @@ } .bitnode { - color:#00f; + color: #00f; } .bitnode-destroyed { - color:#f00; + color: #f00; } .bitnode:hover, .bitnode-destroyed:hover { - color:#fff; + color: #fff; } diff --git a/stylelint.config.js b/stylelint.config.js index 646bbafa9..3098c18bb 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -65,7 +65,7 @@ module.exports = { // "declaration-block-single-line-max-declarations": 1, "declaration-block-trailing-semicolon": "always", "declaration-colon-newline-after": "always-multi-line", -// "declaration-colon-space-after": "always-single-line", + "declaration-colon-space-after": "always-single-line", "declaration-colon-space-before": "never", // "declaration-empty-line-before": "never", //"declaration-no-important": true,