bitburner-src/css/terminal.scss

77 lines
1.2 KiB
SCSS
Raw Normal View History

@import "theme";
#terminal-container {
2021-09-05 01:09:30 +02:00
height: 100%;
width: 99%;
overflow: auto;
overflow-y: scroll;
2021-09-14 20:44:23 +02:00
scrollbar-width: "none"; // firefox
}
#terminal-container::-webkit-scrollbar {
display: none;
}
#terminal {
2021-09-05 01:09:30 +02:00
padding-top: 10px;
padding-left: 10px;
height: auto;
width: 70%;
font-size: $defaultFontSize;
overflow: auto;
overflow-y: scroll;
background-color: var(--my-background-color);
table-layout: fixed;
2021-09-05 01:09:30 +02:00
.prompt {
color: var(--my-prompt-color);
margin: 0;
padding: 0;
}
}
#terminal-input {
2021-09-05 01:09:30 +02:00
background-color: var(--my-background-color);
color: var(--my-font-color);
transition: height 1s;
}
.terminal-input {
2021-09-05 01:09:30 +02:00
display: inline-block;
padding: 0 !important;
margin: 0 !important;
border: 0;
background-color: var(--my-background-color);
font-size: $defaultFontSize;
outline: none;
color: var(--my-font-color);
}
2017-07-22 00:54:55 +02:00
.terminal-line {
2021-09-05 01:09:30 +02:00
width: 70%;
word-wrap: break-word;
hyphens: auto;
-webkit-hyphens: auto;
-moz-hyphens: auto;
2017-07-22 00:54:55 +02:00
}
#terminal-input-td {
2021-09-05 01:09:30 +02:00
display: flex;
}
#terminal-input-td textarea {
2021-09-05 01:09:30 +02:00
overflow: hidden;
resize: none;
height: auto;
}
#terminal-input-header {
2021-09-05 01:09:30 +02:00
white-space: pre;
}
#terminal-input-text-box {
2021-09-05 01:09:30 +02:00
margin-left: 2px;
flex: 1 1 auto;
}