bitburner-src/css/terminal.scss

73 lines
1.3 KiB
SCSS
Raw Normal View History

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