375 lines
5.9 KiB
CSS
375 lines
5.9 KiB
CSS
|
|
:root {
|
||
|
|
color-scheme: dark;
|
||
|
|
--bg: #090d14;
|
||
|
|
--bg-alt: #101726;
|
||
|
|
--card: #131e31;
|
||
|
|
--card-alt: #17263b;
|
||
|
|
--line: #23324d;
|
||
|
|
--text: #e8efff;
|
||
|
|
--muted: #9eb2d8;
|
||
|
|
--accent: #3ea7ff;
|
||
|
|
--accent-soft: #203759;
|
||
|
|
--good: #48c88e;
|
||
|
|
--bad: #ff6a78;
|
||
|
|
--warn: #f1b45a;
|
||
|
|
--shadow: rgba(4, 8, 15, 0.4);
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
|
||
|
|
color: var(--text);
|
||
|
|
background:
|
||
|
|
radial-gradient(1200px 500px at 20% -20%, #1f3656 0%, transparent 60%),
|
||
|
|
radial-gradient(1000px 700px at 120% 10%, #1f2f4e 0%, transparent 50%),
|
||
|
|
var(--bg);
|
||
|
|
}
|
||
|
|
|
||
|
|
h1,
|
||
|
|
h2,
|
||
|
|
h3,
|
||
|
|
h4,
|
||
|
|
p {
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
button,
|
||
|
|
input,
|
||
|
|
select {
|
||
|
|
font: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-shell {
|
||
|
|
min-height: 100vh;
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.topbar {
|
||
|
|
max-width: 1780px;
|
||
|
|
margin: 0 auto 18px;
|
||
|
|
padding: 18px 20px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: 16px;
|
||
|
|
background: linear-gradient(150deg, rgba(19, 30, 49, 0.96), rgba(12, 20, 33, 0.96));
|
||
|
|
box-shadow: 0 16px 34px var(--shadow);
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
gap: 14px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.topbar h1 {
|
||
|
|
font-size: clamp(1.35rem, 1.7vw, 1.9rem);
|
||
|
|
letter-spacing: 0.02em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.subtle {
|
||
|
|
color: var(--muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.tiny {
|
||
|
|
font-size: 0.84rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.layout {
|
||
|
|
max-width: 1780px;
|
||
|
|
margin: 0 auto;
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: minmax(430px, 1.5fr) minmax(360px, 1fr) minmax(380px, 1.05fr);
|
||
|
|
gap: 16px;
|
||
|
|
align-items: start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.column {
|
||
|
|
display: grid;
|
||
|
|
gap: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel {
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: 16px;
|
||
|
|
background: linear-gradient(150deg, rgba(19, 30, 49, 0.95), rgba(16, 23, 38, 0.96));
|
||
|
|
box-shadow: 0 12px 30px var(--shadow);
|
||
|
|
padding: 14px;
|
||
|
|
display: grid;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.scroll-panel {
|
||
|
|
max-height: calc(100vh - 160px);
|
||
|
|
overflow: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chip {
|
||
|
|
border-radius: 999px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
padding: 4px 10px;
|
||
|
|
font-size: 0.82rem;
|
||
|
|
background: var(--bg-alt);
|
||
|
|
color: var(--muted);
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chip.good {
|
||
|
|
border-color: rgba(72, 200, 142, 0.6);
|
||
|
|
color: var(--good);
|
||
|
|
background: rgba(72, 200, 142, 0.11);
|
||
|
|
}
|
||
|
|
|
||
|
|
.chip.bad {
|
||
|
|
border-color: rgba(255, 106, 120, 0.6);
|
||
|
|
color: var(--bad);
|
||
|
|
background: rgba(255, 106, 120, 0.12);
|
||
|
|
}
|
||
|
|
|
||
|
|
.chip.warn {
|
||
|
|
border-color: rgba(241, 180, 90, 0.6);
|
||
|
|
color: var(--warn);
|
||
|
|
background: rgba(241, 180, 90, 0.12);
|
||
|
|
}
|
||
|
|
|
||
|
|
button {
|
||
|
|
border: 1px solid transparent;
|
||
|
|
border-radius: 10px;
|
||
|
|
padding: 7px 12px;
|
||
|
|
cursor: pointer;
|
||
|
|
color: #091220;
|
||
|
|
background: var(--accent);
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
button.secondary {
|
||
|
|
border-color: var(--line);
|
||
|
|
color: var(--text);
|
||
|
|
background: var(--accent-soft);
|
||
|
|
}
|
||
|
|
|
||
|
|
button:disabled {
|
||
|
|
opacity: 0.65;
|
||
|
|
cursor: wait;
|
||
|
|
}
|
||
|
|
|
||
|
|
.actions {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error {
|
||
|
|
color: var(--bad);
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.namespace-block {
|
||
|
|
border: 1px solid rgba(35, 50, 77, 0.65);
|
||
|
|
border-radius: 14px;
|
||
|
|
padding: 10px;
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
background: rgba(12, 18, 30, 0.65);
|
||
|
|
}
|
||
|
|
|
||
|
|
.namespace-row {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 12px;
|
||
|
|
align-items: center;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.namespace-row h3 {
|
||
|
|
font-size: 1.03rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pvc-grid {
|
||
|
|
display: grid;
|
||
|
|
gap: 9px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pvc-card {
|
||
|
|
border: 1px solid rgba(35, 50, 77, 0.8);
|
||
|
|
border-radius: 12px;
|
||
|
|
background: linear-gradient(155deg, rgba(23, 38, 59, 0.92), rgba(15, 25, 41, 0.92));
|
||
|
|
padding: 10px;
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pvc-title-row {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 10px;
|
||
|
|
align-items: flex-start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.pvc-title-row h4 {
|
||
|
|
font-size: 0.98rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
label {
|
||
|
|
display: grid;
|
||
|
|
gap: 6px;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
color: var(--muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
input,
|
||
|
|
select {
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: 10px;
|
||
|
|
color: var(--text);
|
||
|
|
background: rgba(9, 13, 20, 0.8);
|
||
|
|
padding: 8px 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stack {
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
pre {
|
||
|
|
margin: 0;
|
||
|
|
border-radius: 12px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
background: rgba(6, 10, 16, 0.98);
|
||
|
|
color: #dbf0ff;
|
||
|
|
padding: 10px;
|
||
|
|
max-height: 290px;
|
||
|
|
overflow: auto;
|
||
|
|
font-size: 0.82rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-panel {
|
||
|
|
min-height: 280px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-grid {
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat {
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: 10px;
|
||
|
|
background: rgba(13, 24, 39, 0.86);
|
||
|
|
padding: 8px;
|
||
|
|
display: grid;
|
||
|
|
gap: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat .label {
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 0.78rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bucket-table-wrap {
|
||
|
|
overflow: auto;
|
||
|
|
max-height: 270px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
table {
|
||
|
|
width: 100%;
|
||
|
|
border-collapse: collapse;
|
||
|
|
font-size: 0.85rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
th,
|
||
|
|
td {
|
||
|
|
text-align: left;
|
||
|
|
padding: 8px;
|
||
|
|
border-bottom: 1px solid rgba(35, 50, 77, 0.6);
|
||
|
|
vertical-align: top;
|
||
|
|
}
|
||
|
|
|
||
|
|
th {
|
||
|
|
position: sticky;
|
||
|
|
top: 0;
|
||
|
|
background: rgba(10, 16, 28, 0.96);
|
||
|
|
}
|
||
|
|
|
||
|
|
.policy-list {
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.policy-item {
|
||
|
|
border: 1px solid rgba(35, 50, 77, 0.8);
|
||
|
|
border-radius: 11px;
|
||
|
|
background: rgba(11, 18, 31, 0.78);
|
||
|
|
padding: 9px;
|
||
|
|
display: grid;
|
||
|
|
gap: 7px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.policy-head {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.checkbox-row {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
color: var(--text);
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 1420px) {
|
||
|
|
.layout {
|
||
|
|
grid-template-columns: minmax(420px, 1.5fr) minmax(330px, 1fr);
|
||
|
|
}
|
||
|
|
|
||
|
|
.layout > .column:last-child {
|
||
|
|
grid-column: 1 / -1;
|
||
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 1080px) {
|
||
|
|
.app-shell {
|
||
|
|
padding: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.layout {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.layout > .column:last-child {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.scroll-panel {
|
||
|
|
max-height: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
}
|