bitburner-src/css/bladeburner.scss

98 lines
1.7 KiB
SCSS
Raw Normal View History

@import "theme";
#bladeburner-container {
a,
div,
p,
pre,
td {
font-size: $defaultFontSize * 0.8125;
}
2018-05-02 19:38:11 +02:00
}
.bladeburner-action {
border: 1px solid #fff;
margin: 7px;
padding: 7px;
2018-05-02 19:38:11 +02:00
white-space: pre-wrap;
pre {
white-space: pre-wrap;
}
2018-05-02 19:38:11 +02:00
}
/* Whatever action is currently active */
.bladeburner-active-action {
border: 4px solid #fff;
2018-05-02 19:38:11 +02:00
}
/* Action & Skills panel navigation button */
%bladeburner-nav-button {
border: 1px solid #fff;
margin: 2px;
padding: 2px;
color: #fff;
2018-05-02 19:38:11 +02:00
}
.bladeburner-nav-button {
@extend %bladeburner-nav-button;
&:hover {
background-color: #3d4044;
}
2018-05-02 19:38:11 +02:00
}
.bladeburner-nav-button-inactive {
@extend %bladeburner-nav-button;
2018-05-02 19:38:11 +02:00
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;
2018-05-02 19:38:11 +02:00
}
.bladeburner-console-table {
height: auto;
overflow: auto;
table-layout: fixed;
width: 100%;
2018-05-02 19:38:11 +02:00
}
.bladeburner-console-input-row {
transition: height 1s;
width: 100%;
2018-05-02 19:38:11 +02:00
}
.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;
2018-05-02 19:38:11 +02:00
color: var(--my-font-color);
flex: 1 1 auto;
}
.bladeburner-console-line {
word-wrap: break-word;
hyphens: auto;
2018-05-02 19:38:11 +02:00
-webkit-hyphens: auto;
-moz-hyphens: auto;
}