159 lines
3.0 KiB
CSS
159 lines
3.0 KiB
CSS
.console-body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background:
|
|
radial-gradient(120% 120% at 20% 20%, #0d1a2f 0%, transparent 45%),
|
|
radial-gradient(110% 110% at 80% 0%, #0b1224 0%, transparent 50%), #03060f;
|
|
color: #e8edf2;
|
|
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.console-main {
|
|
flex: 1;
|
|
padding: 18px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.console-card {
|
|
max-width: 1280px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
box-sizing: border-box;
|
|
background: rgba(8, 12, 22, 0.8);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 14px;
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.console-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.console-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
|
|
gap: 14px 24px;
|
|
color: #a9b8d4;
|
|
}
|
|
|
|
.console-target-id {
|
|
font-size: 14px;
|
|
color: #e5edff;
|
|
}
|
|
|
|
.console-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.console-terminal {
|
|
min-height: 65vh;
|
|
width: 100%;
|
|
background: #050913;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 12px;
|
|
padding: 10px 12px;
|
|
box-sizing: border-box;
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.console-terminal .xterm,
|
|
.console-terminal .xterm-viewport,
|
|
.console-terminal .xterm-screen {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.console-terminal .xterm-viewport::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
.console-terminal .xterm-viewport::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.btn,
|
|
.button {
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #e8edf2;
|
|
padding: 9px 12px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.btn.primary,
|
|
.button.primary {
|
|
background: linear-gradient(120deg, #34d399, #22c55e);
|
|
border-color: rgba(52, 211, 153, 0.5);
|
|
color: #062312;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.btn.ghost,
|
|
.button.ghost {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.pill {
|
|
padding: 6px 10px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.pill i {
|
|
font-size: 8px;
|
|
}
|
|
|
|
.pill.pill-online {
|
|
color: #6ee7b7;
|
|
border-color: rgba(110, 231, 183, 0.35);
|
|
background: rgba(110, 231, 183, 0.08);
|
|
}
|
|
|
|
.pill.pill-offline {
|
|
color: #fca5a5;
|
|
border-color: rgba(252, 165, 165, 0.35);
|
|
background: rgba(252, 165, 165, 0.08);
|
|
}
|
|
|
|
.pill.pill-ghost {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.console-body {
|
|
background: #050913;
|
|
}
|
|
.console-main {
|
|
padding: 10px;
|
|
}
|
|
.console-card {
|
|
padding: 10px;
|
|
}
|
|
.console-terminal {
|
|
min-height: 70vh;
|
|
}
|
|
}
|