bitburner-src/css/popupboxes.scss

245 lines
4.3 KiB
SCSS
Raw Normal View History

@import "mixins";
@import "theme";
@import "styles";
/* Pop-up boxes */
2017-05-30 16:55:58 +02:00
.popup-box-container {
2021-09-05 01:09:30 +02:00
display: none; /* Initially hidden */
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%;
background-color: rbga(var(--my-background-color), 0.4);
}
.popup-box-content {
2021-09-05 01:09:30 +02:00
background-color: var(--my-background-color);
padding: 12px;
border: 5px solid var(--my-highlight-color);
width: 70%;
max-height: 80%;
overflow-y: auto;
z-index: 11; /* Sit on top of the container */
color: var(--my-font-color);
}
2017-08-20 03:36:19 +02:00
.popup-box-button,
.popup-box-button-inactive {
2021-09-05 01:09:30 +02:00
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 {
2021-09-05 01:09:30 +02:00
color: var(--my-font-color);
text-decoration: none;
cursor: pointer;
}
2017-08-20 03:36:19 +02:00
.popupbox-button-inactive {
2021-09-05 01:09:30 +02:00
pointer-events: none;
cursor: default;
2017-08-20 03:36:19 +02:00
}
2017-09-01 16:12:40 +02:00
#yes-no-text-input-box-input {
2021-09-05 01:09:30 +02:00
color: var(--my-font-color);
border: 1px solid #fff;
background-color: #000;
2017-09-01 16:12:40 +02:00
}
.dialog-box-container {
2021-09-05 01:09:30 +02:00
display: block;
position: absolute;
z-index: 10;
width: 50%;
height: auto;
max-height: 50%;
top: 40%;
left: 50%;
margin: -10% 0 0 -25%;
overflow: auto;
background-color: var(--my-background-color);
border: 5px solid var(--my-highlight-color);
}
.log-box-container {
2021-09-05 01:09:30 +02:00
display: flex;
flex-flow: column;
background-color: gray;
width: 50%;
position: absolute;
left: 50%;
top: 40%;
margin: -10% 0 0 -25%;
height: auto;
max-height: 50%;
z-index: 10;
background-color: var(--my-background-color);
border: 2px solid var(--my-highlight-color);
}
.log-box-header {
2021-09-05 01:09:30 +02:00
background-color: #333;
border: 1px solid var(--my-highlight-color);
display: flex;
flex: row nowrap;
align-items: center;
justify-content: space-between;
}
.log-box-log-container {
2021-09-05 01:09:30 +02:00
overflow-y: auto;
}
.log-box-button {
2021-09-05 01:09:30 +02:00
color: #aaa;
font-size: $defaultFontSize;
font-weight: bold;
padding: 2px;
margin: 6px;
border: 1px solid #fff;
background-color: #000;
}
2021-08-23 07:15:20 +02:00
.log-box-button:hover,
.log-box-button:focus {
2021-09-05 01:09:30 +02:00
color: var(--my-font-color);
text-decoration: none;
cursor: pointer;
2021-08-23 07:15:20 +02:00
}
.dialog-box-content {
2021-09-05 01:09:30 +02:00
z-index: 2;
background-color: var(--my-background-color);
padding: 10px;
2021-09-05 01:09:30 +02:00
p span {
padding: 0;
margin: 0;
}
}
.dialog-box-close-button {
2021-09-05 01:09:30 +02:00
@include borderRadius(12px);
@include boxShadow(1px 1px 3px #000);
@extend .noselect;
2018-07-16 17:28:09 +02:00
2021-09-05 01:09:30 +02:00
float: right;
color: #aaa;
font-size: $defaultFontSize * 1.25;
font-weight: bold;
}
#log-box-close {
2021-09-05 01:09:30 +02:00
position: fixed;
right: 27%;
}
#log-box-kill-script {
2021-09-05 01:09:30 +02:00
right: 11%;
position: relative;
}
2021-09-05 01:09:30 +02:00
#log-box-close,
#log-box-kill-script {
float: right;
display: inline-block;
}
.dialog-box-close-button:hover,
.dialog-box-close-button:focus {
2021-09-05 01:09:30 +02:00
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* Faction invitation box */
#faction-invitation-box-container {
2021-09-05 01:09:30 +02:00
transition: opacity 400ms ease-in;
}
#faction-invitation-box-warning {
2021-09-05 01:09:30 +02:00
margin: 4px;
padding: 4px;
}
/* Infiltration-box */
#infiltration-box-sell,
#infiltration-box-faction {
2021-09-05 01:09:30 +02:00
display: block;
padding: 8px;
margin: 8px;
}
#infiltration-box-content span {
2021-09-05 01:09:30 +02:00
padding: 0;
margin: 0;
}
#infiltration-faction-select {
2021-09-05 01:09:30 +02:00
background-color: #000;
}
2017-08-13 07:01:33 +02:00
/* Generic Yes No Box */
#yes-no-text-input-box-input {
2021-09-05 01:09:30 +02:00
color: #fff;
2017-08-13 07:01:33 +02:00
}
/* Game Options */
#game-options-container {
2021-09-05 01:09:30 +02:00
transition: opacity 400ms ease-in;
}
#game-options-content {
2021-09-05 01:09:30 +02:00
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 {
2021-09-05 01:09:30 +02:00
display: inline-block;
width: 49%;
}
#game-options-close-button {
2021-09-05 01:09:30 +02:00
@include borderRadius(12px);
@include boxShadow(1px 1px 3px #000);
2018-07-16 17:28:09 +02:00
2021-09-05 01:09:30 +02:00
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 {
2021-09-05 01:09:30 +02:00
color: #fff;
text-decoration: none;
cursor: pointer;
2017-06-07 03:23:51 +02:00
}
#game-options-left-panel fieldset {
2021-09-05 01:09:30 +02:00
padding: 2px;
margin: 2px;
}
#import-game-file-selector {
2021-09-05 01:09:30 +02:00
display: none;
2017-06-09 02:27:34 +02:00
}