mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 15:12:27 +01:00
97896cadef
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.
99 lines
1.7 KiB
SCSS
99 lines
1.7 KiB
SCSS
@import "theme";
|
|
|
|
#bladeburner-container {
|
|
a,
|
|
div,
|
|
p,
|
|
pre,
|
|
td {
|
|
font-size: $defaultFontSize * 0.8125;
|
|
}
|
|
}
|
|
|
|
.bladeburner-action {
|
|
border: 1px solid #fff;
|
|
margin: 7px;
|
|
padding: 7px;
|
|
white-space: pre-wrap;
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
}
|
|
|
|
/* Whatever action is currently active */
|
|
.bladeburner-active-action {
|
|
border: 4px solid #fff;
|
|
}
|
|
|
|
/* Action & Skills panel navigation button */
|
|
%bladburner-nav-button {
|
|
border: 1px solid #fff;
|
|
margin: 2px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.bladeburner-nav-button {
|
|
@extend %bladburner-nav-button;
|
|
|
|
color: #fff;
|
|
|
|
&:hover {
|
|
background-color: #3d4044;
|
|
}
|
|
}
|
|
|
|
.bladeburner-nav-button-inactive {
|
|
@extend %bladburner-nav-button;
|
|
|
|
text-decoration: none;
|
|
background-color: #555;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Bladeburner Console */
|
|
.bladeburner-console-div {
|
|
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%;
|
|
}
|
|
|
|
.bladeburner-console-input-row {
|
|
transition: height 1s;
|
|
width: 100%;
|
|
}
|
|
|
|
.bladeburner-console-input-cell {
|
|
display: flex;
|
|
}
|
|
|
|
.bladeburner-console-input {
|
|
display: inline-block;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border: 0;
|
|
background-color: var(--my-background-color);
|
|
font-size: $defaultFontSize * 0.8125;
|
|
outline: none;
|
|
color: var(--my-font-color);
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.bladeburner-console-line {
|
|
word-wrap: break-word;
|
|
hyphens: auto;
|
|
-webkit-hyphens: auto;
|
|
-moz-hyphens: auto;
|
|
}
|