.tui-window {
--tui-accent: #af87ff;
--tui-accent-line: #7f65c4;
--tui-sel: #00d787;
--tui-green: #7fd67a;
--tui-yellow: #e8c66f;
--tui-blue: #7fa9ff;
--tui-red: #f08080;
--tui-dim: #6f8587;
position: relative;
min-width: 0;
padding-bottom: 30px;
overflow: hidden;
container-type: inline-size;
background: #10191b;
border: 1px solid #426067;
border-radius: var(--radius-lg);
box-shadow:
0 30px 80px #0009,
0 0 0 1px #b1faff09,
0 0 60px #af87ff0d;
}
.tui-window [hidden] {
display: none !important;
}
.tui-window .window-title {
margin-left: 0;
}
.tui-window:focus-within {
border-color: #6f9f5a;
}
.tui-window:focus-visible {
outline: 2px solid var(--lime);
outline-offset: 3px;
}
.tui-screen {
position: relative;
padding: 12px 14px 12px;
font: 12px/1.65 var(--font-mono);
color: #c5d8d6;
}
.tui-screen button {
font: inherit;
color: inherit;
background: none;
border: 0;
padding: 0;
margin: 0;
cursor: pointer;
}
.tui-tabs {
display: flex;
align-items: center;
gap: 1ch;
white-space: nowrap;
margin: 0 0 12px;
}
.tui-screen .tui-tab {
padding: 0 0.5ch;
border-radius: 2px;
transition: color 0.2s;
}
.tui-screen .tui-tab:hover {
color: var(--text-bright);
}
.tui-screen .tui-tab[data-active] {
color: var(--tui-accent);
font-weight: 500;
}
.tui-unread {
color: var(--tui-yellow);
}
.tui-totals {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
text-align: right;
color: var(--tui-dim);
font-size: 10px;
}
.tui-body {
position: relative;
display: grid;
min-height: 290px;
}
.tui-modal {
position: absolute;
inset: 16px 3ch auto;
z-index: 1;
padding: 12px 2ch 10px;
border: 1px solid var(--tui-accent);
border-radius: 2px;
background: #10191b;
box-shadow: 0 16px 40px #000a;
}
.tui-modal {
max-height: calc(100% - 16px);
overflow: hidden;
}
.tui-modal dl {
display: grid;
grid-template-columns: 9ch minmax(0, 1fr) 9ch minmax(0, 1fr);
gap: 0 1ch;
margin: 0;
}
.tui-modal dd {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@container (max-width: 479px) {
.tui-modal dl {
grid-template-columns: 9ch minmax(0, 1fr);
}
}
.tui-modal dt {
color: var(--tui-accent);
}
.tui-modal dd {
margin: 0;
}
.tui-modal p {
margin: 8px 0 0;
font-size: 11px;
line-height: 1.5;
}
.tui-confirm {
inset: 50% auto auto 50%;
transform: translate(-50%, -50%);
width: max-content;
max-width: calc(100% - 4ch);
padding: 10px 3ch 8px;
text-align: center;
white-space: pre-wrap;
}
.tui-inbox-empty {
display: block;
padding: 0 0.5ch;
white-space: normal;
}
.tui-inbox-empty code {
font: inherit;
color: #c5d8d6;
}
.tui-panel {
display: flex;
flex-direction: column;
gap: 14px;
}
.tui-box {
position: relative;
padding: 11px 1ch 8px;
border: 1px solid var(--tui-accent-line);
border-radius: 2px;
}
.tui-box-title {
position: absolute;
top: -0.8em;
left: 1ch;
padding: 0 0.4ch;
background: #10191b;
color: #dce7e5;
line-height: 1.6;
}
.tui-table {
display: flex;
flex-direction: column;
min-height: 158px;
max-height: 180px;
}
.tui-rows {
min-height: 0;
overflow: hidden;
}
.tui-empty {
display: grid;
place-items: center;
text-align: center;
white-space: normal;
}
.tui-tr {
display: grid;
grid-template-columns: 11ch 12ch 7ch minmax(0, 1fr);
column-gap: 1ch;
padding: 0 0.5ch;
border-radius: 2px;
white-space: pre;
}
.tui-tr > span {
overflow: hidden;
text-overflow: ellipsis;
}
.tui-tr--services {
grid-template-columns: 10ch 7ch 10ch minmax(0, 1fr);
}
.tui-tr--ports {
grid-template-columns: 15ch minmax(0, 1fr) 14ch 8ch 5ch;
}
.tui-empty .tui-rows {
display: none;
}
.tui-tr--inbox {
grid-template-columns: 9ch 5ch 9ch minmax(0, 1fr);
}
.tui-th {
color: var(--tui-dim);
}
.tui-row {
cursor: pointer;
transition: background 0.2s;
}
.tui-row:hover {
background: #ffffff07;
}
.tui-row[data-selected],
.tui-row[data-selected] span {
color: var(--tui-sel);
font-weight: 500;
}
.tui-row[data-selected] {
background: #00d78712;
}
.tui-row[data-unread] {
font-weight: 500;
}
.tui-accent {
color: var(--tui-accent);
font-weight: 500;
}
.tui-green {
color: var(--tui-green);
}
.tui-red {
color: var(--tui-red);
}
.tui-yellow {
color: var(--tui-yellow);
}
.tui-dim {
color: var(--tui-dim);
}
.tui-blue {
color: var(--tui-blue);
font-weight: 500;
}
.tui-source {
color: var(--cyan-deep);
}
.tui-mail {
color: var(--tui-yellow);
}
.tui-detail {
min-height: 96px;
}
.tui-kv > div {
white-space: pre;
overflow: hidden;
text-overflow: ellipsis;
}
.tui-body[data-terms] {
height: 290px;
grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
gap: 14px 1ch;
}
.tui-body[data-terms] .tui-panel {
display: contents;
}
.tui-body[data-terms] .tui-table {
grid-column: 1 / -1;
min-height: 0;
max-height: none;
}
.tui-body[data-terms] .tui-detail {
grid-column: 1;
min-height: 0;
}
.tui-body:not([data-terms]) .tui-detail--terms {
display: none;
}
.tui-body[data-focus='terminal'] .tui-box:not(.tui-term) {
border-color: #2c3d40;
}
.tui-term {
grid-column: 2;
grid-row: 2;
min-width: 0;
min-height: 0;
padding-bottom: 6px;
border-color: #2c3d40;
cursor: text;
}
.tui-body[data-focus='terminal'] .tui-term {
border-color: var(--tui-accent);
}
.tui-term-tabs {
max-width: calc(100% - 2ch);
overflow: hidden;
white-space: pre;
text-overflow: ellipsis;
}
.tui-screen .tui-term-tab {
color: var(--tui-dim);
}
.tui-screen .tui-term-tab[data-active] {
color: var(--tui-accent);
font-weight: 500;
}
.tui-screen .tui-term-tab[data-exited] {
color: var(--tui-dim);
font-weight: 400;
}
.tui-term-mark {
color: var(--tui-accent);
font-weight: 500;
}
.tui-term-screen {
display: flex;
flex-direction: column;
justify-content: flex-end;
height: 100%;
overflow: hidden;
font-size: 11px;
line-height: 1.45;
white-space: pre-wrap;
word-break: break-all;
}
.tui-cursor {
display: inline-block;
width: 1ch;
height: 1.2em;
vertical-align: text-bottom;
background: #c5d8d6;
}
.tui-view {
position: absolute;
inset: -1em 0 0;
z-index: 2;
display: grid;
padding-top: 1em;
background: #10191b;
}
.tui-view--split {
grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
column-gap: 0;
}
.tui-pane {
min-width: 0;
min-height: 0;
border-color: #2c3d40;
}
.tui-pane[data-focused] {
border-color: var(--tui-accent);
}
.tui-pane .tui-box-title {
max-width: calc(100% - 2ch);
font-size: 11px;
overflow: hidden;
white-space: pre;
text-overflow: ellipsis;
}
.tui-view-text {
height: 100%;
overflow: hidden;
font-size: 11px;
line-height: 1.45;
white-space: pre;
}
.tui-view-text > div {
overflow: hidden;
text-overflow: ellipsis;
}
.tui-prompt {
margin-top: 2px;
font-size: 11px;
line-height: 15px;
white-space: pre;
}
.tui-prompt > div {
height: 15px;
overflow: hidden;
text-overflow: ellipsis;
}
.tui-prompt .tui-cursor {
height: 1.1em;
}
.tui-prompt-hint {
color: var(--tui-dim);
}
.tui-prompt-hint[data-error] {
color: var(--tui-red);
}
.tui-prompt-hint .tui-accent {
color: var(--tui-accent);
}
.tui-suspended {
position: absolute;
inset: 0;
z-index: 3;
padding: 12px 14px;
overflow: hidden;
background: #0c1315;
font-size: 11px;
line-height: 1.45;
white-space: pre-wrap;
word-break: break-word;
}
.tui-help {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 1.8ch;
margin-top: 14px;
color: var(--tui-dim);
font-size: 11px;
}
.tui-hint {
display: inline-flex;
align-items: center;
gap: 0.6ch;
white-space: nowrap;
}
@container (min-width: 560px) {
.tui-help {
column-gap: 0;
}
.tui-hint + .tui-hint::before {
content: '·';
margin: 0 1.1ch;
color: #3e5456;
}
}
.tui-screen .tui-key {
min-width: 2.4ch;
padding: 0 5px;
border: 1px solid #35494c;
border-bottom-width: 2px;
border-radius: 4px;
background: #182427;
color: #e3eeec;
line-height: 1.5;
text-align: center;
transition:
color 0.15s,
border-color 0.15s,
background 0.15s;
}
.tui-screen .tui-key + .tui-key {
margin-left: 3px;
}
.tui-screen .tui-key:hover {
border-color: #6f9f5a;
color: var(--lime);
}
.tui-screen .tui-key[data-flash] {
border-color: var(--lime);
background: var(--lime);
color: #0d1113;
}
.tui-hint-slot {
color: var(--lime);
letter-spacing: 0.06em;
}
.tui-hint-slot[data-kind='message'] {
color: #d8f7c0;
letter-spacing: 0;
text-transform: none;
}
@container (max-width: 699px) {
.tui-hint--wide {
display: none !important;
}
}
@container (max-width: 660px) {
.tui-totals {
display: none;
}
}
@container (max-width: 559px) {
.tui-screen {
font-size: 11px;
}
.tui-help {
column-gap: 1.3ch;
font-size: 10.5px;
}
}
@media (prefers-reduced-motion: reduce) {
.tui-screen .tui-key,
.tui-screen .tui-tab,
.tui-row {
transition: none;
}
}