556 lines
9.3 KiB
CSS
556 lines
9.3 KiB
CSS
/* Adapted from dsh-mnemon MnemonWorkspace.module.css (MIT), see vendor/dsh-mnemon/LICENSE. */
|
|
.nativeWorkspace {
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
flex: 1 1 auto;
|
|
padding-block-start: var(--dsh-frame-top-clearance, 0px);
|
|
}
|
|
|
|
.nativeWorkspace > * {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.windowDragBand {
|
|
position: absolute;
|
|
inset: 0 0 auto;
|
|
height: var(--dsh-frame-top-clearance, 0px);
|
|
}
|
|
|
|
.panelInner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 18px 20px 24px;
|
|
overflow: auto;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
color: var(--dsw-alias-label-primary, inherit);
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.titleBlock {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.title {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 0;
|
|
font-size: 11.5px;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.tabBar {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 3px;
|
|
border-radius: 13px;
|
|
border: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.22));
|
|
background: var(--dsw-alias-bg-subtle, rgba(127,127,127,0.06));
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tab {
|
|
flex: 1 1 auto;
|
|
min-width: 88px;
|
|
font: inherit;
|
|
font-size: 12.5px;
|
|
padding: 7px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tabActive {
|
|
border: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.30));
|
|
background: var(--dsw-alias-interactive-bg-hover, rgba(127,127,127,0.14));
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.10);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.overviewGrid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
border: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.22));
|
|
border-radius: 16px;
|
|
padding: 16px 18px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.35));
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.pillLabel {
|
|
opacity: 0.75;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.pillValue {
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ok { border-color: rgba(22,163,74,0.55); background: rgba(22,163,74,0.12); }
|
|
.bad { border-color: rgba(220,38,38,0.55); background: rgba(220,38,38,0.12); }
|
|
.warn { border-color: rgba(217,119,6,0.55); background: rgba(217,119,6,0.12); }
|
|
.muted { }
|
|
|
|
.hint {
|
|
margin: 0;
|
|
font-size: 11.5px;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.error {
|
|
padding: 10px 13px;
|
|
border-radius: 11px;
|
|
border: 1px solid rgba(220,38,38,0.55);
|
|
background: rgba(220,38,38,0.12);
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
/* ---- Overview v3 (artifacts/preview-overview-v3.html) ------------------- */
|
|
/* Surfaces and text ride the host theme tokens; only translucent state tints
|
|
(green/amber) are fixed, the same convention as .ok/.warn above, so both
|
|
light and dark hosts stay readable. */
|
|
|
|
.ovHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ovTitle {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.ovHeadRight {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ovCardTitle {
|
|
margin: 0;
|
|
font-size: 13.5px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.ovSummary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
|
|
gap: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: var(--dsw-alias-bg-subtle, rgba(127,127,127,0.06));
|
|
}
|
|
|
|
.ovTotal {
|
|
padding: 16px 18px;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ovBig {
|
|
margin: 0;
|
|
font-size: 40px;
|
|
line-height: 1.05;
|
|
font-weight: 720;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.ovBig small {
|
|
margin-left: 6px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.ovMeta {
|
|
margin: 0;
|
|
font-size: 12.5px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.ovMeta strong {
|
|
color: rgba(22,163,74,0.95);
|
|
}
|
|
|
|
.ovMetaBlock {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.ovMix {
|
|
padding: 16px 18px;
|
|
min-width: 0;
|
|
border-left: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.22));
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ovMixBody {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.mixBar {
|
|
height: 9px;
|
|
display: flex;
|
|
overflow: hidden;
|
|
gap: 3px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.mixBar span {
|
|
min-width: 4px;
|
|
}
|
|
|
|
.mixA { background: rgba(22,163,74,0.85); }
|
|
.mixB { background: rgba(22,163,74,0.45); }
|
|
.mixC { background: rgba(127,127,127,0.45); }
|
|
|
|
.mixKeys {
|
|
display: flex;
|
|
gap: 8px 18px;
|
|
flex-wrap: wrap;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.mixKeys span {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-right: 6px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.ovGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.ovGrid > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
.ovTrend, .ovChecks {
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.ovPlaceholder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 22px 0;
|
|
}
|
|
|
|
.ovPlaceholderTitle {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 650;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ovChart {
|
|
margin: 10px 0 0;
|
|
}
|
|
|
|
.plot {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 4px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.plot::before {
|
|
content: "";
|
|
position: absolute;
|
|
pointer-events: none;
|
|
inset: 0 0 27px;
|
|
border-bottom: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.30));
|
|
background: repeating-linear-gradient(to top, transparent 0 calc(33.333% - 1px), var(--dsw-alias-border-subtle, rgba(127,127,127,0.14)) calc(33.333% - 1px) 33.333%);
|
|
}
|
|
|
|
.plot li {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.plotSlot {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 121px;
|
|
}
|
|
|
|
.plotBar {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: min(54%, 28px);
|
|
height: var(--height);
|
|
border-radius: 5px 5px 0 0;
|
|
background: rgba(22,163,74,0.45);
|
|
}
|
|
|
|
.plot li:last-child .plotBar {
|
|
background: rgba(22,163,74,0.85);
|
|
}
|
|
|
|
.plotAmount {
|
|
position: absolute;
|
|
bottom: calc(var(--height) + 3px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-weight: 650;
|
|
font-size: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.plotZero .plotAmount {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.plotDay {
|
|
display: grid;
|
|
place-items: center;
|
|
height: 27px;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.plot li:last-child .plotDay {
|
|
opacity: 1;
|
|
color: rgba(22,163,74,0.95);
|
|
}
|
|
|
|
.rows {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.rows li {
|
|
display: grid;
|
|
grid-template-columns: 8px minmax(0, 1fr);
|
|
gap: 9px;
|
|
padding: 9px 0;
|
|
}
|
|
|
|
.rows li + li {
|
|
border-top: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.22));
|
|
}
|
|
|
|
.dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: rgba(22,163,74,0.75);
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.dotWarn { background: rgba(217,119,6,0.9); }
|
|
.dotMuted { background: rgba(127,127,127,0.55); }
|
|
|
|
.rowName {
|
|
margin: 0;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.rowNameWarn { color: rgba(217,119,6,0.95); }
|
|
|
|
.ovRecall {
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.ovRecallHead {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 6px 14px;
|
|
}
|
|
|
|
.ovRecallState {
|
|
margin: 0;
|
|
color: rgba(217,119,6,0.95);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.recallMetrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(96px, 100%), 1fr));
|
|
margin: 12px 0 9px;
|
|
gap: 8px 0;
|
|
}
|
|
|
|
.recallMetrics div {
|
|
padding: 3px 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.recallMetrics div:first-child {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.recallMetrics div + div {
|
|
border-left: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.22));
|
|
}
|
|
|
|
.recallMetrics dt {
|
|
font-size: 12px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.recallMetrics dd {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 650;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.recallMissing {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.ovDiag {
|
|
padding: 0 18px;
|
|
}
|
|
|
|
.ovDiagSummary {
|
|
padding: 12px 0;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ovDiagSummary:focus-visible {
|
|
outline: 2px solid rgba(22,163,74,0.8);
|
|
outline-offset: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.diagGrid {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
gap: 7px 18px;
|
|
margin: 0 0 14px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.22));
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.diagGrid dt {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.diagGrid dd {
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.srOnly {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.ovMix {
|
|
border-left: 0;
|
|
border-top: 1px solid var(--dsw-alias-border-subtle, rgba(127,127,127,0.22));
|
|
}
|
|
.recallMetrics div:nth-child(4) {
|
|
padding-left: 0;
|
|
border-left: 0;
|
|
}
|
|
}
|