Add files via upload

This commit is contained in:
公明
2026-05-18 17:37:29 +08:00
committed by GitHub
parent ead2ce3ecc
commit 9a4f3c7d35
4 changed files with 288 additions and 32 deletions
+91 -9
View File
@@ -5931,14 +5931,41 @@ header {
flex-shrink: 0;
}
.mcp-stats-dist-donut {
position: relative;
.mcp-stats-dist-svg {
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
box-shadow:
0 2px 12px rgba(0, 0, 0, 0.08),
inset 0 0 0 1px rgba(255, 255, 255, 0.8);
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}
.mcp-stats-dist-segment {
cursor: pointer;
transition: opacity 0.15s ease, filter 0.15s ease;
outline: none;
}
.mcp-stats-dist-segment.is-others {
cursor: default;
}
.mcp-stats-dist-segment.is-dimmed {
opacity: 0.45;
}
.mcp-stats-dist-segment.is-highlighted {
opacity: 1;
filter: brightness(1.06);
}
.mcp-stats-dist-segment.is-active {
filter: brightness(1.08);
stroke: rgba(0, 102, 255, 0.55);
stroke-width: 0.6;
}
.mcp-stats-dist-segment:focus-visible {
outline: 2px solid rgba(0, 102, 255, 0.45);
outline-offset: 1px;
}
.mcp-stats-dist-donut-hole {
@@ -5952,17 +5979,34 @@ header {
justify-content: center;
gap: 2px;
box-shadow: inset 0 0 0 1px var(--border-color);
pointer-events: none;
}
.mcp-stats-dist-donut-label {
font-size: 0.6875rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
letter-spacing: 0.04em;
color: var(--text-muted);
max-width: 92%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
}
.mcp-stats-dist-donut-label:not(.is-default) {
text-transform: none;
font-size: 0.625rem;
font-weight: 600;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.mcp-stats-dist-donut-value {
display: flex;
align-items: baseline;
justify-content: center;
gap: 1px;
font-size: 1.625rem;
font-weight: 800;
color: var(--text-primary);
@@ -5987,24 +6031,62 @@ header {
flex-shrink: 0;
}
.mcp-stats-dist-legend-item-wrap {
list-style: none;
margin: 0;
padding: 0;
}
.mcp-stats-dist-legend-item {
display: grid;
grid-template-columns: 6px minmax(0, 1fr);
grid-template-rows: auto auto;
gap: 2px 8px;
align-items: center;
width: 100%;
padding: 7px 8px;
border-radius: 8px;
background: var(--bg-primary);
border: 1px solid var(--border-color);
transition: background 0.15s ease, border-color 0.15s ease;
transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
box-sizing: border-box;
font: inherit;
color: inherit;
text-align: left;
cursor: pointer;
}
.mcp-stats-dist-legend-item:hover {
.mcp-stats-dist-legend-item:hover,
.mcp-stats-dist-legend-item.is-highlighted {
border-color: rgba(0, 102, 255, 0.22);
background: rgba(0, 102, 255, 0.03);
}
.mcp-stats-dist-legend-item.is-active {
border-color: rgba(0, 102, 255, 0.35);
background: rgba(0, 102, 255, 0.05);
box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}
.mcp-stats-dist-legend-item.is-dimmed {
opacity: 0.5;
}
.mcp-stats-dist-legend-item:focus-visible {
outline: 2px solid rgba(0, 102, 255, 0.45);
outline-offset: 2px;
}
.mcp-stats-dist-legend-item.is-others {
cursor: default;
opacity: 0.72;
}
.mcp-stats-dist-legend-item.is-others:hover {
border-color: var(--border-color);
background: var(--bg-primary);
}
.mcp-stats-dist-swatch {
grid-row: 1 / 3;
align-self: stretch;