Add files via upload

This commit is contained in:
公明
2026-05-19 14:53:07 +08:00
committed by GitHub
parent 951d14ef14
commit 59312d428e
+125 -28
View File
@@ -5000,6 +5000,7 @@ header {
width: 100%;
border-collapse: collapse;
font-size: 0.8125rem;
table-layout: fixed;
}
.tool-schema-table th {
@@ -5019,6 +5020,39 @@ header {
vertical-align: top;
}
/* 参数名、类型、必填列:固定宽度且不换行 */
.tool-schema-table th:nth-child(1),
.tool-schema-table td:nth-child(1) {
width: 18%;
min-width: 72px;
white-space: nowrap;
}
.tool-schema-table th:nth-child(2),
.tool-schema-table td:nth-child(2) {
width: 12%;
min-width: 56px;
white-space: nowrap;
}
.tool-schema-table th:nth-child(3),
.tool-schema-table td:nth-child(3) {
width: 52px;
min-width: 52px;
max-width: 52px;
white-space: nowrap;
text-align: center;
}
/* 说明列允许换行 */
.tool-schema-table th:nth-child(4),
.tool-schema-table td:nth-child(4) {
width: auto;
white-space: normal;
word-wrap: break-word;
overflow-wrap: break-word;
}
.tool-schema-table code {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.8125rem;
@@ -5868,13 +5902,30 @@ header {
grid-template-columns: 1fr;
}
.mcp-stats-dist-body--stacked {
grid-template-columns: 1fr;
grid-template-rows: auto minmax(0, 1fr);
}
.mcp-stats-dist-chart-stage {
width: 100%;
min-width: 0;
}
.mcp-stats-dist-chart-wrap {
width: min(72vw, 200px);
height: min(72vw, 200px);
width: min(228px, 100%);
height: auto;
aspect-ratio: 1;
}
.mcp-stats-dist-legend--grid {
grid-template-columns: 1fr;
justify-content: flex-start;
gap: 5px;
}
.mcp-stats-dist-legend-item-wrap,
.mcp-stats-dist-legend--grid > .mcp-stats-dist-legend-item {
flex: 0 0 auto;
}
.mcp-stats-tool-list {
@@ -5903,31 +5954,55 @@ header {
padding: 14px 16px;
}
.mcp-stats-dist-body--stacked {
/* 调用分布:左圆图 + 右图例,与左侧 Top6 同高;固定正方形尺寸,避免 cqh 失效导致饼图消失 */
.mcp-stats-split-right {
align-items: stretch;
}
.mcp-stats-dist-panel.mcp-stats-tools-panel {
gap: 8px;
padding: 12px 14px;
flex: 1;
display: flex;
flex-direction: column;
min-height: 100%;
width: 100%;
}
.mcp-stats-dist-panel .mcp-stats-tools-header {
flex-shrink: 0;
gap: 8px;
}
.mcp-stats-dist-panel .mcp-stats-tools-legend {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.mcp-stats-dist-body--stacked {
flex: 1 1 auto;
display: grid;
grid-template-columns: minmax(168px, 40%) minmax(0, 1fr);
gap: 10px;
align-items: stretch;
min-height: 0;
width: 100%;
}
.mcp-stats-dist-chart-stage {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 140px;
padding: 2px 0;
min-width: 0;
min-height: 0;
}
.mcp-stats-dist-chart-wrap {
position: relative;
width: min(100%, 220px);
height: min(100%, 220px);
max-width: 220px;
max-height: 220px;
width: 100%;
max-width: 212px;
aspect-ratio: 1;
height: auto;
flex-shrink: 0;
}
@@ -6025,26 +6100,41 @@ header {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
min-height: 0;
height: 100%;
justify-content: space-between;
}
.mcp-stats-dist-legend-item-wrap {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
flex: 1 1 0;
min-height: 0;
display: flex;
}
.mcp-stats-dist-legend--grid > .mcp-stats-dist-legend-item {
flex: 1 1 0;
min-height: 0;
}
.mcp-stats-dist-legend-item {
display: grid;
grid-template-columns: 6px minmax(0, 1fr);
grid-template-rows: auto auto;
gap: 2px 8px;
grid-template-columns: 4px minmax(0, 1fr) auto;
grid-template-rows: auto;
gap: 0 6px;
align-items: center;
align-content: center;
width: 100%;
padding: 7px 8px;
height: 100%;
min-height: 28px;
padding: 4px 6px;
border-radius: 8px;
background: var(--bg-primary);
border: 1px solid var(--border-color);
@@ -6088,15 +6178,18 @@ header {
}
.mcp-stats-dist-swatch {
grid-row: 1 / 3;
grid-row: 1;
grid-column: 1;
align-self: stretch;
width: 6px;
border-radius: 3px;
width: 4px;
min-height: 22px;
border-radius: 2px;
background: var(--swatch-color, #94a3b8);
}
.mcp-stats-dist-legend-name {
grid-column: 2;
grid-row: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -6104,16 +6197,20 @@ header {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 0.625rem;
font-weight: 600;
line-height: 1.2;
line-height: 1.25;
min-width: 0;
}
.mcp-stats-dist-legend-meta {
grid-column: 2;
grid-column: 3;
grid-row: 1;
display: flex;
align-items: center;
gap: 6px;
gap: 5px;
font-size: 0.625rem;
font-variant-numeric: tabular-nums;
white-space: nowrap;
flex-shrink: 0;
}
.mcp-stats-dist-legend-meta em {