react-terminal-viewer
Version:
<h1 align="center"> react-terminal-viewer </h1>
69 lines (61 loc) • 1.34 kB
text/less
.terminal-viewer-virtual-list {
padding: 16px;
color: #b5bbc6;
font-size: 13px;
font-family: Roboto Mono, Andale Mono, Consolas, Courier New, monospace;
}
.terminal-viewer-virtual-list-row {
display: inline-flex;
align-items: stretch;
overflow: visible;
}
.terminal-viewer-virtual-list-row--active {
color: #dddddd;
background: #3c4655;
.terminal-viewer-line-number,
.terminal-viewer-pre {
color: #dddddd;
}
}
.terminal-viewer-line-number,
.terminal-viewer-text-placeholder {
margin-right: 8px;
padding-right: 8px;
color: #959da5bf;
font-size: 12px;
font-family: Roboto Mono, Andale Mono, Consolas, Courier New, monospace;
line-height: 20px;
text-align: right;
}
.terminal-viewer-line-number {
display: inline-block;
flex-shrink: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.terminal-viewer-text-placeholder {
position: absolute;
visibility: hidden;
}
.terminal-viewer-hl-mark {
color: #000000;
background: #ffff54;
}
.terminal-viewer-hl-marked {
background: #ff9540;
}
.terminal-viewer-pre {
display: inline-block;
flex-grow: 1;
margin: 0;
padding: 0;
overflow: hidden;
line-height: 20px;
white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
background-color: #f5f5f5;
border: none;
border-radius: 0;
}