495 lines
7.2 KiB
CSS
495 lines
7.2 KiB
CSS
|
|
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');
|
||
|
|
|
||
|
|
:root {
|
||
|
|
--bg: #080808;
|
||
|
|
--panel: #0f0f0f;
|
||
|
|
--border: #1e1e1e;
|
||
|
|
--accent: #00e87a;
|
||
|
|
--accent-dim: #00e87a66;
|
||
|
|
--text: #d6d6d6;
|
||
|
|
--text-dim: #6b6b6b;
|
||
|
|
--danger: #ff5c5c;
|
||
|
|
--warn: #e8c400;
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
html,
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
background: var(--bg);
|
||
|
|
color: var(--text);
|
||
|
|
font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#app {
|
||
|
|
max-width: 1100px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 16px;
|
||
|
|
min-height: 100vh;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.topbar {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
border-bottom: 1px solid var(--border);
|
||
|
|
padding-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.brand {
|
||
|
|
font-weight: 700;
|
||
|
|
font-size: 20px;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.cursor {
|
||
|
|
animation: blink 1s steps(1) infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes blink {
|
||
|
|
50% {
|
||
|
|
opacity: 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.arrow {
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.rate {
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.points {
|
||
|
|
color: var(--text);
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 260px 1fr;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.col {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 12px;
|
||
|
|
min-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel {
|
||
|
|
border: 1px solid var(--border);
|
||
|
|
background: var(--panel);
|
||
|
|
padding: 10px 12px;
|
||
|
|
border-radius: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel h2 {
|
||
|
|
font-size: 11px;
|
||
|
|
letter-spacing: 1px;
|
||
|
|
color: var(--text-dim);
|
||
|
|
margin: 0 0 8px 0;
|
||
|
|
font-weight: 500;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 4px 8px;
|
||
|
|
border-bottom: 1px dashed var(--border);
|
||
|
|
padding-bottom: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dim {
|
||
|
|
color: var(--text-dim);
|
||
|
|
font-weight: 400;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tiny {
|
||
|
|
font-size: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.list {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 6px 8px;
|
||
|
|
border: 1px solid transparent;
|
||
|
|
border-radius: 3px;
|
||
|
|
cursor: default;
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.selected {
|
||
|
|
border-color: var(--accent-dim);
|
||
|
|
background: #0d1a13;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item .name {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.hardware {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
gap: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.upgrade {
|
||
|
|
cursor: pointer;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.upgrade.owned {
|
||
|
|
color: var(--text-dim);
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.upgrade.locked {
|
||
|
|
opacity: 0.35;
|
||
|
|
cursor: not-allowed;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.upgrade.affordable .upgrade-status {
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.upgrade:not(.locked):not(.owned):hover {
|
||
|
|
background: #131313;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.service {
|
||
|
|
cursor: default;
|
||
|
|
border-bottom: 1px solid var(--border);
|
||
|
|
border-radius: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item.service.crashed {
|
||
|
|
color: var(--danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-icon {
|
||
|
|
width: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.service.running .status-icon {
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.service.crashed .status-icon {
|
||
|
|
color: var(--danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
.value {
|
||
|
|
min-width: 70px;
|
||
|
|
text-align: right;
|
||
|
|
}
|
||
|
|
|
||
|
|
.redundant-badge {
|
||
|
|
color: var(--accent);
|
||
|
|
font-size: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fix-btn {
|
||
|
|
background: var(--danger);
|
||
|
|
color: #080808;
|
||
|
|
border: none;
|
||
|
|
font-weight: 700;
|
||
|
|
padding: 3px 8px;
|
||
|
|
border-radius: 3px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.uninstall-btn {
|
||
|
|
background: transparent;
|
||
|
|
color: var(--text-dim);
|
||
|
|
border: 1px solid var(--border);
|
||
|
|
font-weight: 700;
|
||
|
|
padding: 3px 8px;
|
||
|
|
border-radius: 3px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.uninstall-btn:hover {
|
||
|
|
color: var(--danger);
|
||
|
|
border-color: var(--danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fix-btn:disabled {
|
||
|
|
opacity: 0.4;
|
||
|
|
cursor: default;
|
||
|
|
}
|
||
|
|
|
||
|
|
.buy-btn {
|
||
|
|
margin-top: 8px;
|
||
|
|
width: 100%;
|
||
|
|
background: transparent;
|
||
|
|
border: 1px dashed var(--accent-dim);
|
||
|
|
color: var(--accent);
|
||
|
|
padding: 6px;
|
||
|
|
border-radius: 3px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.buy-btn:disabled {
|
||
|
|
opacity: 0.3;
|
||
|
|
cursor: not-allowed;
|
||
|
|
border-color: var(--border);
|
||
|
|
color: var(--text-dim);
|
||
|
|
}
|
||
|
|
|
||
|
|
.buy-btn:not(:disabled):hover {
|
||
|
|
background: #0d1a13;
|
||
|
|
}
|
||
|
|
|
||
|
|
.deploy-row {
|
||
|
|
display: flex;
|
||
|
|
gap: 6px;
|
||
|
|
margin-top: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.svc-select {
|
||
|
|
flex: 1;
|
||
|
|
background: var(--bg);
|
||
|
|
color: var(--text);
|
||
|
|
border: 1px solid var(--border);
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 12px;
|
||
|
|
padding: 4px;
|
||
|
|
border-radius: 3px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.deploy-row .buy-btn {
|
||
|
|
width: auto;
|
||
|
|
margin-top: 0;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.log-panel {
|
||
|
|
flex: 1;
|
||
|
|
min-height: 200px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.log-list {
|
||
|
|
overflow-y: auto;
|
||
|
|
max-height: 320px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 3px;
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.log-line {
|
||
|
|
color: var(--text-dim);
|
||
|
|
line-height: 1.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.log-time {
|
||
|
|
color: #3d3d3d;
|
||
|
|
margin-right: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.prestige-banner {
|
||
|
|
border: 1px solid var(--accent-dim);
|
||
|
|
background: #0d1a13;
|
||
|
|
padding: 10px 14px;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.prestige-btn {
|
||
|
|
width: auto;
|
||
|
|
margin-top: 0;
|
||
|
|
white-space: nowrap;
|
||
|
|
padding: 6px 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-btn {
|
||
|
|
background: transparent;
|
||
|
|
color: var(--text-dim);
|
||
|
|
border: 1px solid var(--border);
|
||
|
|
border-radius: 50%;
|
||
|
|
width: 22px;
|
||
|
|
height: 22px;
|
||
|
|
line-height: 1;
|
||
|
|
cursor: pointer;
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-btn:hover {
|
||
|
|
color: var(--accent);
|
||
|
|
border-color: var(--accent-dim);
|
||
|
|
}
|
||
|
|
|
||
|
|
.quirk-badge {
|
||
|
|
color: var(--warn);
|
||
|
|
font-size: 10px;
|
||
|
|
border: 1px solid #4a3f00;
|
||
|
|
border-radius: 3px;
|
||
|
|
padding: 1px 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.rack-art-panel {
|
||
|
|
overflow-x: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.rack-art {
|
||
|
|
margin: 0;
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 12px;
|
||
|
|
line-height: 1.8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.rack-art-line {
|
||
|
|
white-space: pre;
|
||
|
|
}
|
||
|
|
|
||
|
|
.rack-host-name {
|
||
|
|
color: var(--text-dim);
|
||
|
|
}
|
||
|
|
|
||
|
|
.slot-running {
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.slot-crashed {
|
||
|
|
color: var(--danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
#help-modal {
|
||
|
|
position: fixed;
|
||
|
|
inset: 0;
|
||
|
|
background: rgba(0, 0, 0, 0.75);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
z-index: 100;
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-box {
|
||
|
|
background: var(--panel);
|
||
|
|
border: 1px solid var(--accent-dim);
|
||
|
|
border-radius: 4px;
|
||
|
|
width: 100%;
|
||
|
|
max-width: 620px;
|
||
|
|
max-height: 80vh;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
font-family: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-head {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
padding: 12px 16px;
|
||
|
|
border-bottom: 1px solid var(--border);
|
||
|
|
color: var(--accent);
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-close {
|
||
|
|
background: transparent;
|
||
|
|
border: none;
|
||
|
|
color: var(--text-dim);
|
||
|
|
font-size: 20px;
|
||
|
|
cursor: pointer;
|
||
|
|
line-height: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-close:hover {
|
||
|
|
color: var(--danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-body {
|
||
|
|
padding: 14px 16px;
|
||
|
|
overflow-y: auto;
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-body h3 {
|
||
|
|
color: var(--text-dim);
|
||
|
|
font-size: 11px;
|
||
|
|
letter-spacing: 1px;
|
||
|
|
margin: 16px 0 8px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-body h3:first-child {
|
||
|
|
margin-top: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-list {
|
||
|
|
margin: 0;
|
||
|
|
padding-left: 18px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 6px;
|
||
|
|
line-height: 1.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cl-entry {
|
||
|
|
margin-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cl-head {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
align-items: baseline;
|
||
|
|
margin-bottom: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cl-version {
|
||
|
|
color: var(--accent);
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cl-entry ul {
|
||
|
|
margin: 0;
|
||
|
|
padding-left: 18px;
|
||
|
|
color: var(--text-dim);
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 3px;
|
||
|
|
line-height: 1.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 720px) {
|
||
|
|
.grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
}
|