This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-family: var(--momo-font-family);
|
||||
font-size: 26px;
|
||||
font-size: 1.8rem;
|
||||
font-weight: 800;
|
||||
color: var(--momo-page-ink, var(--momo-text-primary));
|
||||
line-height: var(--momo-line-height-tight);
|
||||
@@ -576,6 +576,11 @@
|
||||
background: color-mix(in srgb, var(--momo-text-primary) 5%, var(--momo-bg-surface));
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.chart-container,
|
||||
.chart-container--sm {
|
||||
height: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@@ -843,6 +848,27 @@
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.daily-competitor-closure {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin: -4px 0 12px;
|
||||
}
|
||||
|
||||
.daily-competitor-closure span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 24px;
|
||||
padding: 3px 8px;
|
||||
color: var(--momo-text-secondary);
|
||||
background: var(--momo-bg-paper);
|
||||
border: 1px solid var(--momo-border-light);
|
||||
border-radius: var(--momo-radius-pill);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.daily-competitor-risk-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
@@ -944,6 +970,11 @@
|
||||
height: 320px;
|
||||
}
|
||||
|
||||
.chart-container--sm {
|
||||
height: 210px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.chart-container canvas {
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
.dashboard-kpi-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
overflow: hidden;
|
||||
background: var(--momo-bg-surface);
|
||||
border: 1px solid var(--momo-border-light);
|
||||
@@ -120,7 +120,7 @@
|
||||
.dashboard-kpi-value {
|
||||
margin-bottom: 8px;
|
||||
color: var(--momo-text-primary);
|
||||
font-size: 34px;
|
||||
font-size: 1.85rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0;
|
||||
line-height: 1;
|
||||
@@ -153,6 +153,59 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.dashboard-kpi-metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.dashboard-kpi-metrics span,
|
||||
.dashboard-kpi-metrics a {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
padding: 6px 8px;
|
||||
color: var(--momo-text-secondary);
|
||||
background: color-mix(in srgb, var(--momo-bg-paper) 86%, transparent);
|
||||
border: 1px solid var(--momo-border-light);
|
||||
border-radius: 6px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.dashboard-kpi-metrics em {
|
||||
overflow: hidden;
|
||||
color: var(--momo-text-tertiary);
|
||||
font-size: 9px;
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dashboard-kpi-metrics strong {
|
||||
overflow: hidden;
|
||||
color: var(--momo-text-primary);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics span,
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics a {
|
||||
color: rgba(250, 247, 240, 0.76);
|
||||
background: rgba(250, 247, 240, 0.08);
|
||||
border-color: rgba(250, 247, 240, 0.16);
|
||||
}
|
||||
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics em,
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics strong {
|
||||
color: rgba(250, 247, 240, 0.86);
|
||||
}
|
||||
|
||||
.dashboard-kpi-sub-link {
|
||||
color: inherit;
|
||||
font-weight: 800;
|
||||
@@ -216,6 +269,33 @@
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.dashboard-backfill-pills {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.dashboard-backfill-pills span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-height: 22px;
|
||||
padding: 3px 7px;
|
||||
color: var(--momo-text-secondary);
|
||||
background: var(--momo-bg-paper);
|
||||
border: 1px solid var(--momo-border-light);
|
||||
border-radius: var(--momo-radius-pill);
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dashboard-backfill-pills strong {
|
||||
color: var(--momo-text-primary);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.dashboard-backfill-progress {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -230,13 +310,13 @@
|
||||
position: absolute;
|
||||
inset: 0 auto 0 0;
|
||||
width: 0%;
|
||||
background: linear-gradient(90deg, var(--momo-warm-caramel), var(--momo-success));
|
||||
background: var(--momo-warm-caramel);
|
||||
transition: width 240ms ease;
|
||||
}
|
||||
|
||||
.dashboard-backfill-card[data-status="failed"] .dashboard-backfill-progress span,
|
||||
.dashboard-backfill-card[data-status="stale"] .dashboard-backfill-progress span {
|
||||
background: linear-gradient(90deg, var(--momo-danger), var(--momo-warm-rust));
|
||||
background: var(--momo-danger);
|
||||
}
|
||||
|
||||
.dashboard-backfill-status {
|
||||
@@ -252,6 +332,97 @@
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dashboard-decision-workbench {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
|
||||
gap: 12px;
|
||||
margin-top: 12px;
|
||||
padding: 14px 16px;
|
||||
background: var(--momo-bg-surface);
|
||||
border: 1px solid var(--momo-border-light);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.dashboard-decision-workbench__head {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
align-content: start;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dashboard-decision-workbench__head strong {
|
||||
color: var(--momo-text-primary);
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.dashboard-decision-workbench__head em {
|
||||
color: var(--momo-text-secondary);
|
||||
font-size: 11px;
|
||||
font-style: normal;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.dashboard-decision-lanes {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dashboard-decision-lane {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
min-height: 112px;
|
||||
padding: 10px;
|
||||
color: var(--momo-text-primary);
|
||||
background: var(--momo-bg-paper);
|
||||
border: 1px solid var(--momo-border-light);
|
||||
border-radius: 8px;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
transition: var(--momo-transition-base);
|
||||
}
|
||||
|
||||
button.dashboard-decision-lane {
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dashboard-decision-lane:hover {
|
||||
color: var(--momo-text-primary);
|
||||
border-color: rgba(190, 106, 45, 0.38);
|
||||
background: color-mix(in srgb, var(--momo-warm-caramel) 8%, var(--momo-bg-paper));
|
||||
}
|
||||
|
||||
.dashboard-decision-lane span {
|
||||
color: var(--momo-text-tertiary);
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.dashboard-decision-lane strong {
|
||||
color: var(--momo-text-primary);
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.dashboard-decision-lane em {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
color: var(--momo-text-secondary);
|
||||
font-size: 11px;
|
||||
font-style: normal;
|
||||
line-height: 1.45;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.dashboard-focus-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
@@ -1188,6 +1359,14 @@
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.dashboard-decision-workbench {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.dashboard-decision-lanes {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.dashboard-ai-summary-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
@@ -1236,6 +1415,11 @@
|
||||
}
|
||||
|
||||
.dashboard-kpi:nth-last-child(-n + 2) {
|
||||
border-bottom: 1px solid var(--momo-border-light);
|
||||
}
|
||||
|
||||
.dashboard-kpi:last-child {
|
||||
grid-column: 1 / -1;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -1254,6 +1438,21 @@
|
||||
color: var(--momo-text-primary);
|
||||
}
|
||||
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics span,
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics a {
|
||||
color: var(--momo-text-secondary);
|
||||
background: var(--momo-bg-paper);
|
||||
border-color: var(--momo-border-light);
|
||||
}
|
||||
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics em {
|
||||
color: var(--momo-text-tertiary);
|
||||
}
|
||||
|
||||
.dashboard-kpi.is-accent .dashboard-kpi-metrics strong {
|
||||
color: var(--momo-text-primary);
|
||||
}
|
||||
|
||||
.dashboard-kpi-label {
|
||||
margin-bottom: 7px;
|
||||
font-size: 9px;
|
||||
@@ -1288,6 +1487,14 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dashboard-decision-lanes {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.dashboard-decision-lane {
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.dashboard-search,
|
||||
.dashboard-select,
|
||||
.dashboard-segmented {
|
||||
|
||||
Reference in New Issue
Block a user