194 lines
3.6 KiB
CSS
194 lines
3.6 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-topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 14px 18px;
|
|
background: rgba(7, 12, 22, 0.9);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.console-topbar .brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.console-topbar .console-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.console-main {
|
|
flex: 1;
|
|
padding: 18px;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.console-card {
|
|
width: min(1100px, 96vw);
|
|
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: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.console-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 10px;
|
|
color: #a9b8d4;
|
|
}
|
|
|
|
.console-target-id {
|
|
font-size: 14px;
|
|
color: #e5edff;
|
|
}
|
|
|
|
.console-output {
|
|
min-height: 420px;
|
|
max-height: 70vh;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
background: #050913;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
overflow: auto;
|
|
overflow-x: auto;
|
|
box-sizing: border-box;
|
|
white-space: normal;
|
|
text-align: left;
|
|
overflow-wrap: normal;
|
|
word-break: normal;
|
|
line-height: 1.5;
|
|
font-size: 14px;
|
|
color: #e8edf2;
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.console-pre {
|
|
margin: 0;
|
|
white-space: pre;
|
|
display: block;
|
|
width: max-content;
|
|
min-width: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.console-input-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 10px;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.console-input-row .prompt {
|
|
color: #6ee7b7;
|
|
}
|
|
|
|
.console-input-row textarea {
|
|
flex: 1;
|
|
resize: vertical;
|
|
min-height: 44px;
|
|
max-height: 160px;
|
|
background: transparent;
|
|
border: none;
|
|
color: #e8edf2;
|
|
font-size: 14px;
|
|
outline: none;
|
|
}
|
|
|
|
.console-buttons {
|
|
display: flex;
|
|
gap: 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);
|
|
}
|
|
|
|
.status-pill {
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.console-body {
|
|
background: #050913;
|
|
}
|
|
.console-main {
|
|
padding: 12px;
|
|
}
|
|
.console-card {
|
|
padding: 12px;
|
|
}
|
|
.console-input-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
.console-buttons {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
.console-buttons .btn,
|
|
.console-buttons .button {
|
|
width: auto;
|
|
}
|
|
}
|