初始提交

This commit is contained in:
2026-06-22 10:48:35 +08:00
commit d254377951
42 changed files with 3662 additions and 0 deletions
+320
View File
@@ -0,0 +1,320 @@
:root {
--bg: #031b34;
--bg-deep: #001327;
--panel: rgba(9, 55, 91, 0.86);
--panel-strong: rgba(13, 74, 115, 0.92);
--panel-soft: rgba(18, 91, 132, 0.42);
--line: rgba(93, 191, 255, 0.32);
--line-strong: rgba(99, 213, 255, 0.64);
--text: #e8f7ff;
--muted: #92b9d1;
--blue: #5d93ff;
--cyan: #49d6ff;
--green: #5ee1b5;
--yellow: #ffc857;
--orange: #ff8b3d;
--red: #ff5c66;
--shadow: 0 18px 50px rgba(0, 8, 20, 0.42);
--radius: 18px;
--font: "Microsoft YaHei", "Source Han Sans SC", "PingFang SC", sans-serif;
--num: "DIN Alternate", "Bahnschrift", "Microsoft YaHei", sans-serif;
}
* {
box-sizing: border-box;
}
html,
body {
width: 100vw;
height: 100vh;
margin: 0;
background:
radial-gradient(circle at 14% 8%, rgba(29, 126, 177, 0.38), transparent 30%),
radial-gradient(circle at 86% 12%, rgba(31, 95, 155, 0.28), transparent 34%),
linear-gradient(180deg, #02152b 0%, #062b4a 48%, #031b34 100%);
color: var(--text);
font-family: var(--font);
overflow: hidden;
}
button,
input,
select {
font-family: inherit;
}
.screen {
position: absolute;
left: 0;
top: 0;
width: 1920px;
height: 1080px;
min-height: 1080px;
margin: 0;
padding: 14px 18px 18px;
overflow: hidden;
isolation: isolate;
transform-origin: left top;
}
.screen::before {
content: "";
position: absolute;
inset: 0;
z-index: -2;
background-image:
linear-gradient(rgba(89, 185, 255, 0.06) 1px, transparent 1px),
linear-gradient(90deg, rgba(89, 185, 255, 0.05) 1px, transparent 1px);
background-size: 100% 28px, 28px 100%;
opacity: 0.8;
pointer-events: none;
}
.screen::after {
content: "";
position: absolute;
inset: auto 0 0;
height: 38vh;
z-index: -1;
background: linear-gradient(180deg, transparent, rgba(0, 11, 23, 0.62));
pointer-events: none;
}
.topbar {
display: grid;
grid-template-columns: 1fr auto;
gap: 14px;
align-items: start;
margin-bottom: 8px;
}
.title-zone {
display: flex;
align-items: center;
gap: 16px;
min-width: 0;
}
.brand-mark {
position: relative;
width: 52px;
height: 52px;
border-radius: 16px;
background:
linear-gradient(135deg, rgba(85, 214, 255, 0.96), rgba(45, 110, 255, 0.72)),
linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent);
box-shadow: 0 0 30px rgba(73, 214, 255, 0.34), inset 0 0 18px rgba(255, 255, 255, 0.18);
overflow: hidden;
flex: 0 0 auto;
}
.brand-mark::before,
.brand-mark::after {
content: "";
position: absolute;
border-radius: 999px;
background: rgba(255, 255, 255, 0.86);
}
.brand-mark::before {
width: 30px;
height: 8px;
left: 14px;
top: 16px;
box-shadow: 0 14px 0 rgba(255, 255, 255, 0.76), 0 28px 0 rgba(255, 255, 255, 0.56);
}
.brand-mark::after {
width: 8px;
height: 8px;
right: 13px;
top: 16px;
box-shadow: 0 14px 0 rgba(255, 255, 255, 0.76), 0 28px 0 rgba(255, 255, 255, 0.56);
}
.title-text {
min-width: 0;
}
.eyebrow {
color: var(--cyan);
font-size: 13px;
letter-spacing: 0.18em;
text-transform: uppercase;
margin-bottom: 4px;
}
h1 {
margin: 0;
font-size: clamp(26px, 2.6vw, 42px);
line-height: 1.1;
letter-spacing: 0.04em;
text-shadow: 0 0 22px rgba(83, 202, 255, 0.44);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.purpose {
margin-top: 6px;
color: var(--muted);
font-size: 13px;
line-height: 1.5;
}
.header-actions {
display: grid;
gap: 8px;
justify-items: end;
}
.top-meta-row {
display: flex;
align-items: center;
gap: 10px;
justify-content: flex-end;
}
.source-download {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 36px;
padding: 8px 14px;
border: 1px solid rgba(83, 191, 255, 0.42);
border-radius: 14px;
color: #e7f8ff;
background: linear-gradient(180deg, rgba(27, 140, 208, 0.86), rgba(10, 90, 145, 0.86));
box-shadow: 0 0 18px rgba(73, 214, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
font-size: 13px;
font-weight: 900;
text-decoration: none;
white-space: nowrap;
}
.source-download:hover {
filter: brightness(1.12);
}
.time-card {
display: flex;
align-items: center;
gap: 14px;
padding: 8px 12px;
border: 1px solid var(--line);
border-radius: 14px;
background: rgba(4, 28, 52, 0.72);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
color: var(--muted);
font-size: 13px;
}
.time-card strong {
color: var(--text);
font-family: var(--num);
letter-spacing: 0.04em;
}
.toggle-row {
display: flex;
gap: 10px;
justify-content: flex-end;
align-items: center;
}
.dimension-toggle,
.system-toggle,
.view-switch {
display: inline-flex;
padding: 4px;
border: 1px solid rgba(80, 165, 235, 0.28);
border-radius: 14px;
background: rgba(3, 20, 39, 0.74);
box-shadow: inset 0 1px 12px rgba(0, 0, 0, 0.18);
}
.dimension-toggle button,
.system-toggle button,
.view-switch button {
border: 0;
border-radius: 10px;
padding: 8px 14px;
color: #a9cbe0;
background: transparent;
cursor: pointer;
font-size: 14px;
font-weight: 700;
transition: 0.18s ease;
}
.dimension-toggle button.active,
.system-toggle button.active,
.view-switch button.active {
color: white;
background: linear-gradient(180deg, #1b8cd0, #0a5a91);
box-shadow: 0 0 18px rgba(73, 214, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.dimension-toggle button:hover,
.system-toggle button:hover,
.view-switch button:hover {
color: white;
}
.crumb-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
margin: 8px 0 10px;
}
.breadcrumbs {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
color: var(--muted);
font-size: 13px;
}
.crumb {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 11px;
border: 1px solid rgba(87, 184, 255, 0.2);
border-radius: 999px;
background: rgba(6, 35, 62, 0.64);
}
.crumb.clickable {
cursor: pointer;
color: #bfeaff;
}
.crumb.clickable:hover {
border-color: var(--line-strong);
color: white;
}
.quick-actions {
display: flex;
gap: 10px;
align-items: center;
}
.ghost-btn {
border: 1px solid rgba(83, 191, 255, 0.34);
color: #c7e9ff;
background: rgba(8, 43, 76, 0.62);
border-radius: 12px;
padding: 9px 13px;
cursor: pointer;
font-weight: 700;
}
.ghost-btn:hover {
background: rgba(18, 93, 142, 0.72);
}
+306
View File
@@ -0,0 +1,306 @@
.kpi-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
margin-bottom: 10px;
}
.kpi-card,
.warning-card,
.panel,
.mini-panel {
position: relative;
border: 1px solid rgba(91, 180, 255, 0.26);
border-radius: var(--radius);
background:
linear-gradient(180deg, rgba(24, 91, 132, 0.88), rgba(4, 33, 63, 0.9)),
repeating-linear-gradient(0deg, rgba(108, 205, 255, 0.04), rgba(108, 205, 255, 0.04) 1px, transparent 1px, transparent 9px);
box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
overflow: hidden;
}
.kpi-card::before,
.warning-card::before,
.panel::before,
.mini-panel::before {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(circle at 20% 0%, rgba(87, 214, 255, 0.18), transparent 32%),
radial-gradient(circle at 90% 20%, rgba(78, 127, 255, 0.14), transparent 28%);
pointer-events: none;
}
.kpi-card {
min-height: 104px;
padding: 13px 14px 11px;
}
.kpi-label,
.warning-label {
position: relative;
color: #c4e7ff;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.02em;
margin-bottom: 7px;
}
.kpi-value {
position: relative;
display: flex;
align-items: baseline;
gap: 6px;
font-family: var(--num);
font-size: 30px;
font-weight: 900;
line-height: 1;
color: white;
text-shadow: 0 0 20px rgba(88, 210, 255, 0.34);
}
.kpi-unit {
color: var(--muted);
font-size: 14px;
font-weight: 700;
}
.kpi-desc {
position: relative;
margin-top: 8px;
color: #9fc6db;
font-size: 12px;
line-height: 1.45;
}
.kpi-trend {
position: absolute;
right: 14px;
top: 15px;
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 8px;
border-radius: 999px;
background: rgba(0, 20, 39, 0.45);
color: #b8f4df;
font-size: 12px;
font-family: var(--num);
}
.kpi-trend.down {
color: #ffb9aa;
}
.risk-band {
position: relative;
margin-top: 8px;
height: 7px;
border-radius: 999px;
background: rgba(121, 185, 220, 0.18);
overflow: hidden;
}
.risk-band span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, var(--green), var(--cyan));
}
.warning-strip {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
margin-bottom: 10px;
}
.focus-row {
display: grid;
grid-template-columns: 430px minmax(0, 1fr) 430px;
gap: 10px;
margin-bottom: 10px;
align-items: stretch;
}
.focus-indicators {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.warning-card {
min-height: 82px;
padding: 10px 12px;
border-color: rgba(255, 139, 61, 0.32);
}
.warning-card.high {
border-color: rgba(255, 92, 102, 0.48);
}
.warning-card.high::after {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: linear-gradient(90deg, var(--red), var(--orange));
}
.warning-name {
position: relative;
min-height: 24px;
color: #ffb46f;
font-size: 15px;
font-weight: 900;
line-height: 1.25;
}
.warning-lines {
position: relative;
display: grid;
gap: 2px;
margin-top: 5px;
color: #c7e7f8;
font-size: 12px;
line-height: 1.36;
}
.warning-lines strong {
color: white;
font-family: var(--num);
font-size: 14px;
}
.focus-row .warning-card {
min-height: 94px;
padding: 9px 10px;
}
.focus-row .warning-name {
min-height: 22px;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.focus-row .warning-lines {
gap: 1px;
font-size: 11px;
}
.focus-row .warning-lines strong {
font-size: 13px;
}
.enterprise-trend-panel {
min-height: 150px;
margin-bottom: 10px;
}
.enterprise-trend-panel .panel-header {
margin-bottom: 2px;
}
.enterprise-trend-panel .chart-box {
overflow-x: hidden;
}
.indicator-strip {
display: grid;
grid-template-columns: repeat(8, minmax(0, 1fr)) 84px;
gap: 10px;
margin-bottom: 10px;
align-items: stretch;
}
.indicator-strip .warning-card {
min-height: 90px;
padding: 9px 10px;
}
.indicator-strip .warning-name {
min-height: 34px;
font-size: 13px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.indicator-strip .warning-lines {
gap: 1px;
font-size: 11px;
line-height: 1.3;
}
.indicator-strip .warning-lines strong {
font-size: 12px;
}
.indicator-more-cell {
position: relative;
z-index: 1;
display: grid;
place-items: center;
min-height: 90px;
border: 1px solid rgba(91, 214, 255, 0.36);
border-radius: var(--radius);
background: rgba(4, 35, 64, 0.72);
box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.trend-panel.group-trend-panel {
min-height: 150px;
margin-bottom: 10px;
}
.trend-panel.group-trend-panel .panel-header {
margin-bottom: 2px;
}
.trend-panel.group-trend-panel .chart-box {
overflow-x: hidden;
}
.group-bottom-grid {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
gap: 12px;
align-items: stretch;
}
.group-left-stack {
display: grid;
grid-template-rows: 1fr 1fr;
gap: 10px;
min-height: 388px;
}
.group-left-stack .panel {
min-height: 189px;
}
.group-left-stack .chart-box {
overflow-y: hidden;
}
.usage-report-panel .table-wrap {
max-height: 136px;
}
.usage-report-panel table {
min-width: 620px;
font-size: 12px;
}
.usage-report-panel th,
.usage-report-panel td {
padding: 7px 9px;
}
.usage-report-panel .panel-header {
margin-bottom: 6px;
}
+101
View File
@@ -0,0 +1,101 @@
.metric-cards {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
margin-bottom: 12px;
}
.mini-panel {
padding: 14px;
min-height: 116px;
}
.mini-panel[data-action] {
cursor: pointer;
}
.mini-panel[data-action]:hover {
border-color: rgba(91, 214, 255, 0.52);
filter: brightness(1.08);
}
.mini-label {
position: relative;
color: #a8cbe1;
font-size: 13px;
margin-bottom: 8px;
}
.mini-value {
position: relative;
font-family: var(--num);
font-size: 30px;
line-height: 1;
color: white;
font-weight: 900;
}
.mini-desc {
position: relative;
margin-top: 10px;
color: #94bad1;
font-size: 12px;
}
.project-layout {
display: grid;
grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
gap: 12px;
align-items: start;
}
.field-list {
position: relative;
z-index: 1;
display: grid;
gap: 9px;
}
.field-row {
display: grid;
grid-template-columns: 112px 1fr;
gap: 12px;
padding: 11px 12px;
border-radius: 13px;
background: rgba(0, 18, 37, 0.36);
border: 1px solid rgba(91, 180, 255, 0.14);
}
.field-name {
color: #91bdd5;
font-size: 13px;
}
.field-value {
color: white;
font-weight: 800;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.empty-state {
position: relative;
z-index: 1;
min-height: 220px;
display: grid;
place-items: center;
color: #9ec2da;
border: 1px dashed rgba(115, 198, 255, 0.25);
border-radius: 14px;
background: rgba(0, 16, 31, 0.24);
}
.explain {
position: relative;
z-index: 1;
margin-top: 10px;
color: #9fc2d9;
font-size: 12px;
line-height: 1.5;
}
+351
View File
@@ -0,0 +1,351 @@
.drill-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) repeat(3, 190px);
gap: 12px;
margin-bottom: 12px;
}
.drill-title-card {
position: relative;
min-height: 118px;
padding: 18px;
border: 1px solid rgba(91, 180, 255, 0.28);
border-radius: var(--radius);
background:
linear-gradient(135deg, rgba(13, 80, 126, 0.95), rgba(3, 26, 53, 0.92)),
repeating-linear-gradient(0deg, rgba(108, 205, 255, 0.04), rgba(108, 205, 255, 0.04) 1px, transparent 1px, transparent 9px);
box-shadow: var(--shadow);
overflow: hidden;
}
.drill-title-card h2 {
position: relative;
margin: 0;
font-size: 28px;
line-height: 1.2;
}
.drill-title-card p {
position: relative;
margin: 10px 0 0;
color: #a9cfe5;
font-size: 13px;
line-height: 1.5;
}
.drill-card {
position: relative;
min-height: 118px;
padding: 14px;
border: 1px solid rgba(91, 180, 255, 0.24);
border-radius: var(--radius);
background: linear-gradient(180deg, rgba(19, 84, 126, 0.88), rgba(3, 32, 61, 0.92));
box-shadow: var(--shadow);
}
.drill-card-label {
color: #a8cbe1;
font-size: 13px;
}
.drill-card-value {
margin-top: 10px;
font-family: var(--num);
font-size: 32px;
font-weight: 900;
color: white;
}
.drill-grid {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
gap: 12px;
align-items: stretch;
}
.drill-grid.equal {
grid-template-columns: 1fr 1fr;
}
.drill-panel {
min-height: 690px;
}
.rank-list {
position: relative;
z-index: 1;
display: grid;
gap: 9px;
max-height: 600px;
overflow-y: auto;
padding-right: 4px;
}
.rank-row {
display: grid;
grid-template-columns: 42px 1fr 94px;
gap: 12px;
align-items: center;
padding: 10px 12px;
border: 1px solid rgba(91, 180, 255, 0.16);
border-radius: 13px;
background: rgba(1, 21, 42, 0.42);
cursor: pointer;
}
.rank-row:hover {
border-color: rgba(91, 214, 255, 0.46);
background: rgba(12, 62, 98, 0.62);
}
.rank-row:not([data-indicator-enterprise]) {
cursor: default;
}
.rank-index {
width: 30px;
height: 30px;
display: inline-grid;
place-items: center;
border-radius: 10px;
background: rgba(93, 147, 255, 0.2);
color: #dff7ff;
font-family: var(--num);
font-weight: 900;
}
.rank-name {
color: #f0fbff;
font-weight: 900;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rank-bars {
display: grid;
gap: 6px;
margin-top: 7px;
}
.rank-value {
text-align: right;
font-family: var(--num);
color: white;
font-size: 18px;
font-weight: 900;
}
.drill-modal[hidden] {
display: none;
}
.drill-modal {
position: fixed;
inset: 0;
z-index: 100;
display: grid;
place-items: center;
padding: 34px;
background: rgba(0, 10, 24, 0.72);
backdrop-filter: blur(8px);
}
.drill-modal-panel {
width: min(1780px, calc(100vw - 68px));
height: min(960px, calc(100vh - 68px));
border: 1px solid rgba(91, 214, 255, 0.44);
border-radius: 24px;
background:
linear-gradient(180deg, rgba(8, 49, 83, 0.98), rgba(1, 18, 36, 0.98)),
repeating-linear-gradient(0deg, rgba(108, 205, 255, 0.04), rgba(108, 205, 255, 0.04) 1px, transparent 1px, transparent 9px);
box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.1);
overflow: hidden;
display: grid;
grid-template-rows: auto 1fr;
}
.drill-modal-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
padding: 14px 18px;
border-bottom: 1px solid rgba(91, 180, 255, 0.22);
background: linear-gradient(180deg, rgba(22, 102, 151, 0.72), rgba(4, 38, 72, 0.72));
}
.drill-modal-title {
color: #f2fbff;
font-size: 20px;
font-weight: 900;
letter-spacing: 0.02em;
}
.drill-modal-actions {
display: flex;
align-items: center;
gap: 10px;
}
.modal-close {
width: 34px;
height: 34px;
border: 1px solid rgba(147, 221, 255, 0.38);
border-radius: 999px;
color: white;
background: rgba(5, 41, 76, 0.84);
cursor: pointer;
font-size: 20px;
line-height: 1;
}
.modal-close:hover {
background: rgba(24, 117, 166, 0.9);
}
.drill-modal-body {
padding: 16px;
overflow: auto;
}
.drill-modal-body .drill-panel {
min-height: 600px;
}
.drill-modal-body .rank-list {
max-height: 510px;
}
.panel-tools {
position: relative;
z-index: 1;
display: flex;
align-items: center;
gap: 10px;
}
.more-btn {
border: 1px solid rgba(91, 214, 255, 0.42);
border-radius: 999px;
padding: 7px 13px;
color: #e3f8ff;
background: linear-gradient(180deg, rgba(28, 153, 217, 0.82), rgba(5, 72, 118, 0.86));
cursor: pointer;
font-size: 12px;
font-weight: 900;
box-shadow: 0 0 16px rgba(73, 214, 255, 0.18);
}
.more-btn:hover {
filter: brightness(1.12);
}
.table-status {
position: relative;
z-index: 1;
margin-bottom: 10px;
padding: 8px 12px;
border: 1px solid rgba(91, 214, 255, 0.28);
border-radius: 8px;
color: #dff7ff;
background: rgba(4, 35, 64, 0.72);
font-size: 13px;
font-weight: 700;
}
.table-status.error {
border-color: rgba(255, 92, 102, 0.4);
color: #ffd6d9;
background: rgba(99, 24, 36, 0.42);
}
table {
width: 100%;
border-collapse: collapse;
min-width: 760px;
color: #dcefff;
font-size: 13px;
}
th {
position: sticky;
top: 0;
z-index: 2;
padding: 11px 10px;
background: linear-gradient(180deg, rgba(28, 153, 217, 0.96), rgba(5, 72, 118, 0.96));
color: white;
text-align: left;
border-bottom: 1px solid rgba(147, 221, 255, 0.38);
white-space: nowrap;
}
td {
padding: 10px;
border-bottom: 1px solid rgba(147, 221, 255, 0.12);
color: #cfe7f6;
white-space: nowrap;
}
tr:hover td {
background: rgba(39, 126, 178, 0.16);
}
tr.summary-row td {
color: #ffffff;
font-weight: 900;
background: rgba(73, 214, 255, 0.14);
}
tr.green-row td {
color: #d9fff1;
background: rgba(94, 225, 181, 0.18);
}
tr.clickable-row {
cursor: pointer;
}
.num {
font-family: var(--num);
color: white;
font-size: 15px;
font-weight: 800;
}
.delta-up {
color: #7df5c5;
}
.delta-down {
color: #ff9d94;
}
.status-pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 58px;
padding: 4px 8px;
border-radius: 999px;
font-size: 12px;
font-weight: 800;
}
.status-pill.ok {
color: #bdf9e4;
background: rgba(94, 225, 181, 0.14);
border: 1px solid rgba(94, 225, 181, 0.36);
}
.status-pill.warn {
color: #ffe2ad;
background: rgba(255, 200, 87, 0.14);
border: 1px solid rgba(255, 200, 87, 0.36);
}
.status-pill.bad {
color: #ffc2c7;
background: rgba(255, 92, 102, 0.14);
border: 1px solid rgba(255, 92, 102, 0.36);
}
+318
View File
@@ -0,0 +1,318 @@
.dashboard-grid {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
gap: 12px;
align-items: stretch;
}
.dashboard-grid.group-overview {
align-items: stretch;
}
.dashboard-grid.enterprise-overview {
grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
gap: 12px;
}
.dashboard-grid.enterprise-overview .panel {
min-height: 290px;
}
.dashboard-grid.enterprise-overview .risk-summary {
gap: 7px;
max-height: 226px;
overflow-y: auto;
padding-right: 4px;
}
.dashboard-grid.enterprise-overview .risk-item {
grid-template-columns: 64px 1fr auto;
gap: 9px;
padding: 7px 9px;
}
.dashboard-grid.enterprise-overview .mini-bar {
grid-template-columns: 42px 1fr 38px;
gap: 6px;
font-size: 11px;
}
.dashboard-grid.enterprise-overview .mini-track {
height: 5px;
}
.dashboard-grid.equal {
grid-template-columns: 1fr 1fr;
}
.subgrid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-top: 12px;
}
.panel {
min-height: 360px;
padding: 16px;
}
.panel.compact {
min-height: 270px;
}
.panel.tall {
min-height: 450px;
}
.trend-panel {
min-height: 198px;
padding: 12px 14px;
}
.trend-panel .panel-header {
margin-bottom: 4px;
}
.panel-header {
position: relative;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 14px;
margin-bottom: 10px;
z-index: 1;
}
.panel-title {
margin: 0;
color: #f1fbff;
font-size: 20px;
font-weight: 900;
letter-spacing: 0.02em;
}
.panel-note {
margin-top: 6px;
color: #9fc2d9;
font-size: 12px;
line-height: 1.45;
}
.legend {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: flex-end;
color: #a9cde2;
font-size: 12px;
white-space: nowrap;
}
.legend-item {
display: inline-flex;
align-items: center;
gap: 6px;
}
.dot {
width: 10px;
height: 10px;
border-radius: 3px;
display: inline-block;
}
.chart-box {
position: relative;
z-index: 1;
overflow-x: auto;
overflow-y: hidden;
scrollbar-color: rgba(86, 151, 239, 0.72) rgba(30, 89, 130, 0.42);
scrollbar-width: thin;
padding-bottom: 2px;
}
.chart-box::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
height: 9px;
width: 9px;
}
.chart-box::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
background: rgba(78, 145, 226, 0.74);
border-radius: 999px;
}
.chart-box::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track {
background: rgba(22, 69, 105, 0.42);
border-radius: 999px;
}
svg {
display: block;
max-width: none;
font-family: var(--font);
}
.axis {
stroke: rgba(155, 211, 247, 0.28);
stroke-width: 1;
}
.grid-line {
stroke: rgba(155, 211, 247, 0.16);
stroke-width: 1;
}
.axis-label {
fill: #a8c7db;
font-size: 12px;
}
.bar-label,
.point-label {
fill: #dff7ff;
font-size: 12px;
font-family: var(--num);
font-weight: 700;
}
.chart-click {
cursor: pointer;
transition: 0.16s ease;
}
.chart-click:hover {
filter: brightness(1.2) drop-shadow(0 0 8px rgba(91, 217, 255, 0.46));
}
.risk-summary {
position: relative;
z-index: 1;
display: grid;
gap: 10px;
}
.risk-item {
display: grid;
grid-template-columns: 72px 1fr auto;
gap: 12px;
align-items: center;
padding: 10px 11px;
border: 1px solid rgba(91, 180, 255, 0.14);
border-radius: 13px;
background: rgba(1, 21, 42, 0.42);
cursor: pointer;
}
.risk-item:hover {
border-color: rgba(91, 214, 255, 0.46);
background: rgba(12, 62, 98, 0.62);
}
.risk-panel {
min-height: 450px;
height: 100%;
}
.risk-panel .risk-summary {
gap: 8px;
max-height: 366px;
overflow-y: auto;
padding-right: 4px;
}
.risk-panel .risk-item {
grid-template-columns: 64px 1fr auto;
gap: 10px;
padding: 8px 10px;
}
.risk-panel .mini-bar {
grid-template-columns: 42px 1fr 40px;
gap: 6px;
font-size: 11px;
}
.risk-panel .mini-track {
height: 5px;
}
.risk-panel .risk-badge {
padding: 4px 8px;
font-size: 11px;
}
.risk-name {
color: #e8f8ff;
font-weight: 800;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.risk-bars {
display: grid;
gap: 6px;
}
.mini-bar {
display: grid;
grid-template-columns: 52px 1fr 34px;
gap: 8px;
align-items: center;
color: #9fc4dc;
font-size: 12px;
}
.mini-track {
height: 7px;
border-radius: 999px;
background: rgba(126, 184, 219, 0.16);
overflow: hidden;
}
.mini-track span {
display: block;
height: 100%;
border-radius: inherit;
}
.risk-badge {
padding: 5px 9px;
border-radius: 999px;
color: white;
font-size: 12px;
font-weight: 800;
white-space: nowrap;
}
.risk-badge.red {
background: rgba(255, 92, 102, 0.22);
border: 1px solid rgba(255, 92, 102, 0.42);
color: #ffc2c7;
}
.risk-badge.orange {
background: rgba(255, 139, 61, 0.2);
border: 1px solid rgba(255, 139, 61, 0.44);
color: #ffd1ad;
}
.risk-badge.green {
background: rgba(94, 225, 181, 0.16);
border: 1px solid rgba(94, 225, 181, 0.42);
color: #bdf9e4;
}
.table-wrap {
position: relative;
z-index: 1;
overflow: auto;
max-height: 545px;
border: 1px solid rgba(91, 180, 255, 0.18);
border-radius: 14px;
background: rgba(1, 18, 36, 0.34);
}
+42
View File
@@ -0,0 +1,42 @@
@media (max-width: 1px) {
.kpi-grid,
.warning-strip {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dashboard-grid,
.dashboard-grid.equal,
.project-layout {
grid-template-columns: 1fr;
}
}
@media (max-width: 1px) {
.screen {
padding: 14px;
}
.topbar {
grid-template-columns: 1fr;
}
.header-actions {
justify-items: start;
}
h1 {
white-space: normal;
}
.kpi-grid,
.warning-strip,
.metric-cards,
.subgrid {
grid-template-columns: 1fr;
}
.crumb-row {
align-items: flex-start;
flex-direction: column;
}
}