mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
5f13bc6336
Updates: – Character Overview box (top right corner) – redesigned and added colours to the attributes. – Added prompt colour in the terminal. – Minor copy fixes (grammar and typos). – Code formatting cleanup. – Character > Stats – Fixed spacing issue when Intelligence is not yet available – Main Menu – Adjusted the spacing and changed the border to outline to improve the readability. – Tooltip boxes (Firefox only) – fixed the issue when tooltips were generating additional spacing around the <br> tags. – Multiple general updates to UI to improve accessibility and readability. Aimed to improve the user experience when playing the game on a smaller screen resolutions. – Accordion/Dropdown buttons – improved the readability of the plus/minus icons. – Added .editorconfig with the most basic settings.
198 lines
3.6 KiB
SCSS
198 lines
3.6 KiB
SCSS
@import "mixins";
|
|
@import "theme";
|
|
|
|
/* Pop-up boxes */
|
|
.popup-box-container {
|
|
display: none; /* Hidden by default */
|
|
position: fixed; /* Stay in place */
|
|
z-index: 10; /* Sit on top */
|
|
left: 0;
|
|
top: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rbga(var(--my-background-color), 0.4);
|
|
}
|
|
|
|
.popup-box-content {
|
|
background-color: var(--my-background-color);
|
|
padding: 12px;
|
|
border: 5px solid var(--my-highlight-color);
|
|
width: 70%;
|
|
max-height: 80%;
|
|
/*
|
|
margin: auto;
|
|
height:auto;
|
|
max-height:80%;
|
|
position:absolute;
|
|
top:0;
|
|
left:0;
|
|
bottom:0;
|
|
right:0;
|
|
*/
|
|
overflow-y: auto;
|
|
color: var(--my-font-color);
|
|
}
|
|
|
|
.popup-box-button,
|
|
.popup-box-button-inactive {
|
|
color: #aaa;
|
|
float: right;
|
|
font-size: $defaultFontSize;
|
|
font-weight: bold;
|
|
padding: 2px;
|
|
margin: 6px;
|
|
border: 1px solid #fff;
|
|
background-color: #000;
|
|
}
|
|
|
|
.popup-box-button:hover,
|
|
.popup-box-button:focus {
|
|
color: var(--my-font-color);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popupbox-button-inactive {
|
|
pointer-events: none;
|
|
cursor: default;
|
|
}
|
|
|
|
#yes-no-text-input-box-input {
|
|
color: var(--my-font-color);
|
|
border: 1px solid #fff;
|
|
background-color: #000;
|
|
}
|
|
|
|
.dialog-box-container,
|
|
#log-box-container {
|
|
display: block;
|
|
position: absolute;
|
|
z-index: 10;
|
|
width: 50%;
|
|
height: auto;
|
|
max-height: 40%;
|
|
top: 40%;
|
|
left: 50%;
|
|
margin: -10% 0 0 -25%;
|
|
overflow: auto;
|
|
background-color: var(--my-background-color);
|
|
border: 5px solid var(--my-highlight-color);
|
|
}
|
|
|
|
.dialog-box-content,
|
|
#log-box-content {
|
|
z-index: 2;
|
|
background-color: var(--my-background-color);
|
|
padding: 10px;
|
|
}
|
|
|
|
.dialog-box-close-button {
|
|
@include borderRadius(12px);
|
|
@include boxShadow(1px 1px 3px #000);
|
|
|
|
float: right;
|
|
color: #aaa;
|
|
font-size: $defaultFontSize * 1.25;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#log-box-close {
|
|
position: fixed;
|
|
right: 27%;
|
|
}
|
|
|
|
#log-box-kill-script {
|
|
right: 11%;
|
|
position: relative;
|
|
}
|
|
|
|
#log-box-close, #log-box-kill-script {
|
|
float: right;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dialog-box-close-button:hover,
|
|
.dialog-box-close-button:focus,{
|
|
color: #fff;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Faction invitation box */
|
|
#faction-invitation-box-container {
|
|
transition: opacity 400ms ease-in;
|
|
}
|
|
#faction-invitation-box-warning {
|
|
margin: 4px;
|
|
padding: 4px;
|
|
}
|
|
|
|
/* Infiltration-box */
|
|
#infiltration-box-sell,
|
|
#infiltration-box-faction {
|
|
display: block;
|
|
padding: 8px;
|
|
margin: 8px;
|
|
}
|
|
|
|
#infiltration-faction-select {
|
|
background-color: #000;
|
|
}
|
|
|
|
/* Generic Yes No Box */
|
|
#yes-no-text-input-box-input {
|
|
color: #fff;
|
|
}
|
|
|
|
/* Game Options */
|
|
#game-options-container {
|
|
transition: opacity 400ms ease-in;
|
|
}
|
|
|
|
#game-options-content {
|
|
background-color: var(--my-background-color);
|
|
padding: 10px;
|
|
border: 5px solid var(--my-highlight-color);
|
|
color: var(--my-font-color);
|
|
width: 80%;
|
|
max-height: 80%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#game-options-left-panel,
|
|
#game-options-right-panel {
|
|
display: inline-block;
|
|
width: 49%;
|
|
}
|
|
|
|
#game-options-close-button {
|
|
@include borderRadius(12px);
|
|
@include boxShadow(1px 1px 3px #000);
|
|
|
|
color: #aaa;
|
|
float: right;
|
|
margin: 4px;
|
|
padding: 4px;
|
|
font-size: $defaultFontSize * 1.25;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#game-options-close-button:hover,
|
|
#game-options-close-button:focus {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#game-options-left-panel fieldset {
|
|
padding: 2px;
|
|
margin: 2px;
|
|
}
|
|
|
|
#import-game-file-selector {
|
|
display: none;
|
|
}
|