react-hackterm
Version:
Hackable terminal emulator in React
60 lines (59 loc) • 1.07 kB
CSS
.terminal-theme,
.terminal {
background: #097a44;
color: #bbbbbb;
overflow: auto;
}
.terminal .prefix {
color: #eeb100;
}
.terminal .command {
color: #eeb100;
}
.terminal .branch {
background: #17c7ff;
color: #fff;
padding-left: 3px;
padding-right: 3px;
border-radius: 3px;
}
.terminal .inner {
padding: 10px;
overflow: auto;
}
.terminal .inner .output,
.terminal .inner .output-shell {
display: table;
}
.terminal .inner .output .prefix,
.terminal .inner .output-shell .prefix {
float: left;
color: #eeb100;
}
.terminal .inner .output input,
.terminal .inner .output-shell input {
float: left;
display: block;
background: transparent;
color: #eeb100;
border: 0;
}
.terminal .inner .editor {
display: table;
}
.terminal .inner .editor .prefix {
float: left;
color: #eeb100;
}
.terminal .inner .editor input {
float: left;
display: block;
background: transparent;
color: #eeb100;
border: 0;
padding-left: 10px;
}
.terminal .inner .editor input:hover,
.terminal .inner .editor input:focus {
outline: none;
}