refine Semi UI telemetry details

This commit is contained in:
lingniu
2026-07-18 22:28:00 +08:00
parent 76d35f54c5
commit b465d1ff7a
5 changed files with 126 additions and 16 deletions

View File

@@ -8611,6 +8611,24 @@ button, a { -webkit-tap-highlight-color: transparent; }
}
.v2-telemetry-value span { color: #7d8b9e; font-size: 9px; }
.v2-telemetry-value.is-complex { display: block; }
.v2-telemetry-value.is-complex.is-static {
display: grid;
max-width: 150px;
justify-items: end;
gap: 3px;
text-align: right;
}
.v2-telemetry-value.is-complex.is-static strong,
.v2-telemetry-value.is-complex.is-static small {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.v2-telemetry-value.is-complex.is-static small {
color: #8492a4;
font-size: 8px;
}
.v2-telemetry-value-trigger.semi-button {
width: 100%;
height: auto;
@@ -8698,6 +8716,12 @@ button, a { -webkit-tap-highlight-color: transparent; }
.v2-telemetry-value-meta .semi-descriptions-item { min-width: 130px; padding-block: 5px; }
.v2-telemetry-value-meta .semi-descriptions-key { color: #8a97a8; font-size: 9px; }
.v2-telemetry-value-meta .semi-descriptions-value { color: #3d5067; font-size: 10px; font-weight: 650; }
.v2-telemetry-detail-protocol.semi-tag,
.v2-telemetry-detail-quality.semi-tag {
min-height: 22px;
margin: 0;
border-radius: 999px;
}
.v2-telemetry-value-detail > section {
overflow: hidden;
border: 1px solid #dfe6ef;
@@ -8791,13 +8815,61 @@ button, a { -webkit-tap-highlight-color: transparent; }
border-top: 1px solid #edf1f5;
padding-top: 9px;
}
.v2-telemetry-mobile-item > .v2-telemetry-source { display: flex; align-items: center; gap: 8px; }
.v2-telemetry-mobile-item > .v2-telemetry-source small { min-width: 0; }
.v2-telemetry-mobile-source {
display: flex;
min-width: 0;
align-items: center;
justify-content: space-between;
gap: 8px;
border-top: 1px solid #edf1f5;
padding-top: 8px;
}
.v2-telemetry-mobile-source > .v2-telemetry-source {
display: flex;
min-width: 0;
align-items: center;
gap: 7px;
}
.v2-telemetry-mobile-source > .v2-telemetry-source small {
min-width: 0;
}
.v2-telemetry-mobile-action.semi-button {
min-width: 76px;
min-height: 30px;
flex: 0 0 auto;
justify-content: flex-end;
border-radius: 7px;
padding-inline: 7px;
font-size: 9px;
font-weight: 700;
}
.v2-telemetry-card > .semi-card-body > footer { flex-wrap: wrap; gap: 5px; margin: 3px 9px 9px; }
.v2-telemetry-card > .semi-card-body > footer small { width: 100%; margin: 3px 0 0; }
.v2-telemetry-value-sidesheet .semi-sidesheet-inner { width: 100vw !important; }
.v2-telemetry-value-sidesheet .semi-sidesheet-header { padding: 15px 16px 13px; }
.v2-telemetry-value-sidesheet .semi-sidesheet-body { padding: 12px; }
.v2-telemetry-value-sidesheet .semi-sidesheet-inner {
width: 100vw !important;
overflow: hidden;
border-radius: 16px 16px 0 0;
background: #f4f7fb;
box-shadow: 0 -18px 48px rgba(25,45,72,.18);
}
.v2-telemetry-value-sidesheet .semi-sidesheet-header {
min-height: 68px;
border-bottom-color: #dfe7f0;
background: rgba(255,255,255,.98);
padding: 11px 14px;
}
.v2-telemetry-value-sidesheet .semi-sidesheet-body {
overflow: auto;
background: #f4f7fb;
padding: 10px;
overscroll-behavior: contain;
}
.v2-telemetry-value-sidesheet .semi-sidesheet-footer {
border-top: 1px solid #dfe7f0;
background: rgba(255,255,255,.98);
padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.v2-telemetry-value-title strong { font-size: 15px; }
.v2-telemetry-value-meta .semi-descriptions-item { min-width: 108px; }
.v2-telemetry-value-detail > section > header { align-items: flex-start; flex-direction: column; }
.v2-telemetry-value-detail > section > header .semi-button { width: 100%; justify-content: center; }