359 lines
5.2 KiB
CSS
359 lines
5.2 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
background: #0f1115;
|
|
color: #f5f7fa;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background:
|
|
radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%),
|
|
linear-gradient(180deg, #0b1020 0%, #0f1115 100%);
|
|
}
|
|
|
|
.layout {
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
padding: 28px;
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.card {
|
|
background: rgba(24, 28, 36, 0.92);
|
|
border: 1px solid #2a3140;
|
|
border-radius: 16px;
|
|
padding: 22px;
|
|
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.hero-actions,
|
|
.actions,
|
|
.panel-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.panel-header {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 10px;
|
|
color: #60a5fa;
|
|
font-size: 13px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 10px;
|
|
font-size: 34px;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.muted {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.metrics-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.metric-card {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.metric-label {
|
|
color: #94a3b8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 32px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.metric-value.small {
|
|
font-size: 24px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.metric-value.danger {
|
|
color: #f87171;
|
|
}
|
|
|
|
.summary-grid {
|
|
display: grid;
|
|
gap: 12px;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.summary-item {
|
|
padding: 14px;
|
|
border-radius: 12px;
|
|
background: #111827;
|
|
border: 1px solid #263041;
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.summary-label,
|
|
.event-meta,
|
|
.event-detail,
|
|
.empty-state {
|
|
color: #94a3b8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.summary-value {
|
|
font-size: 16px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.event-toolbar {
|
|
display: grid;
|
|
gap: 12px;
|
|
grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.events-list {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.event-item {
|
|
border: 1px solid #263041;
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
background: #0b1220;
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.event-topline {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.event-badges {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.event-mode-badge,
|
|
.event-status,
|
|
.event-error-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 72px;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.event-mode-badge {
|
|
background: rgba(59, 130, 246, 0.16);
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.event-error-badge {
|
|
min-width: auto;
|
|
background: rgba(239, 68, 68, 0.16);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.status-success {
|
|
background: rgba(34, 197, 94, 0.18);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.status-failed {
|
|
background: rgba(239, 68, 68, 0.18);
|
|
color: #f87171;
|
|
}
|
|
|
|
.event-item-failed {
|
|
border-color: rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.event-failure-meta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
color: #fecaca;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.event-body {
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
pre,
|
|
textarea,
|
|
input,
|
|
select {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
border: 1px solid #334155;
|
|
background: #0b1220;
|
|
color: #e2e8f0;
|
|
padding: 12px;
|
|
font: 14px/1.5 'SFMono-Regular', ui-monospace, monospace;
|
|
}
|
|
|
|
textarea {
|
|
min-height: 260px;
|
|
}
|
|
|
|
label,
|
|
.form-grid {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: linear-gradient(135deg, #3b82f6, #2563eb);
|
|
color: white;
|
|
padding: 10px 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
filter: brightness(1.08);
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 18px;
|
|
border: 1px dashed #334155;
|
|
border-radius: 12px;
|
|
background: rgba(15, 23, 42, 0.55);
|
|
}
|
|
|
|
.mode-hint {
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
border: 1px solid #263041;
|
|
background: rgba(15, 23, 42, 0.7);
|
|
color: #cbd5e1;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.mode-hint-warning {
|
|
border-color: rgba(250, 204, 21, 0.35);
|
|
background: rgba(120, 53, 15, 0.28);
|
|
color: #fde68a;
|
|
}
|
|
|
|
.result-panel {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.result-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.result-title.success {
|
|
color: #4ade80;
|
|
}
|
|
|
|
.result-title.failed {
|
|
color: #f87171;
|
|
}
|
|
|
|
.result-grid {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.result-item {
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid #263041;
|
|
background: #0b1220;
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.result-label {
|
|
color: #94a3b8;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.result-value {
|
|
color: #f8fafc;
|
|
font-size: 14px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.metrics-grid,
|
|
.summary-grid,
|
|
.event-toolbar {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.hero,
|
|
.panel-header,
|
|
.actions,
|
|
.event-topline {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.layout {
|
|
padding: 16px;
|
|
}
|
|
|
|
.metrics-grid,
|
|
.summary-grid,
|
|
.event-toolbar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|