refine Semi UI telemetry evidence
This commit is contained in:
@@ -8427,6 +8427,40 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.v2-telemetry-value span { color: #7d8b9e; font-size: 9px; }
|
||||
.v2-telemetry-value.is-complex { display: block; }
|
||||
.v2-telemetry-value-trigger.semi-button {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
min-height: 36px;
|
||||
justify-content: flex-start;
|
||||
border-radius: 7px;
|
||||
padding: 4px 6px;
|
||||
color: #315f9f;
|
||||
text-align: left;
|
||||
}
|
||||
.v2-telemetry-value-trigger .semi-button-content {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
grid-template-columns: minmax(0,1fr) auto;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
.v2-telemetry-value-trigger .semi-button-content > span {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 3px;
|
||||
}
|
||||
.v2-telemetry-value-trigger .semi-button-content strong,
|
||||
.v2-telemetry-value-trigger .semi-button-content small {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.v2-telemetry-value-trigger .semi-button-content strong { color: #245f9f; font-size: 11px; }
|
||||
.v2-telemetry-value-trigger .semi-button-content small { color: #8492a4; font-size: 8px; font-weight: 500; }
|
||||
.v2-telemetry-value-trigger .semi-icon { flex: 0 0 auto; color: #7d9ac2; font-size: 12px; }
|
||||
.v2-telemetry-value-trigger:hover { background: #edf5ff; }
|
||||
.v2-telemetry-quality { justify-items: start; }
|
||||
.v2-telemetry-quality .semi-tag { min-height: 22px; border-radius: 999px; font-size: 9px; font-weight: 650; }
|
||||
.v2-telemetry-quality small,
|
||||
@@ -8453,6 +8487,87 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
.v2-telemetry-empty .semi-empty-description { color: #8492a4; font-size: 10px; }
|
||||
.v2-telemetry-mobile-list { display: none; }
|
||||
.v2-telemetry-card > .semi-card-body > footer { min-height: 40px; margin-top: 10px; }
|
||||
.v2-telemetry-value-sidesheet .semi-sidesheet-inner { max-width: 100vw; }
|
||||
.v2-telemetry-value-sidesheet .semi-sidesheet-header { border-bottom: 1px solid #e3e9f1; padding: 18px 20px 15px; }
|
||||
.v2-telemetry-value-title { display: grid; min-width: 0; gap: 4px; }
|
||||
.v2-telemetry-value-title strong {
|
||||
overflow: hidden;
|
||||
color: #243a53;
|
||||
font-size: 16px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.v2-telemetry-value-title span {
|
||||
overflow: hidden;
|
||||
color: #8391a3;
|
||||
font: 9px ui-monospace,SFMono-Regular,Menlo,monospace;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.v2-telemetry-value-sidesheet .semi-sidesheet-body { background: #f6f8fb; padding: 16px; }
|
||||
.v2-telemetry-value-detail { display: grid; gap: 12px; }
|
||||
.v2-telemetry-value-meta.semi-descriptions {
|
||||
border: 1px solid #dfe6ef;
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
padding: 12px 14px;
|
||||
}
|
||||
.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-value-detail > section {
|
||||
overflow: hidden;
|
||||
border: 1px solid #dfe6ef;
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
}
|
||||
.v2-telemetry-value-detail > section > header {
|
||||
display: flex;
|
||||
min-height: 54px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
border-bottom: 1px solid #e4e9f0;
|
||||
padding: 9px 12px 9px 15px;
|
||||
}
|
||||
.v2-telemetry-value-detail > section > header > div { display: grid; min-width: 0; gap: 3px; }
|
||||
.v2-telemetry-value-detail > section > header strong { color: #30445c; font-size: 12px; }
|
||||
.v2-telemetry-value-detail > section > header small { color: #8a97a8; font-size: 9px; }
|
||||
.v2-telemetry-value-detail > section > header .semi-button { flex: 0 0 auto; }
|
||||
.v2-telemetry-value-detail pre {
|
||||
max-height: min(54vh,560px);
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
background: #f8fafc;
|
||||
padding: 15px;
|
||||
color: #31465e;
|
||||
font: 10px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;
|
||||
tab-size: 2;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.v2-telemetry-value-detail > footer {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
grid-template-columns: auto minmax(0,1fr);
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
border: 1px solid #dfe6ef;
|
||||
border-radius: 9px;
|
||||
background: #fff;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
.v2-telemetry-value-detail > footer span { color: #8a97a8; font-size: 9px; }
|
||||
.v2-telemetry-value-detail > footer strong {
|
||||
overflow: hidden;
|
||||
color: #52667d;
|
||||
font: 9px ui-monospace,SFMono-Regular,Menlo,monospace;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.v2-telemetry-value-footer { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; }
|
||||
.v2-telemetry-value-footer span { color: #7e8d9f; font-size: 9px; }
|
||||
|
||||
@media (max-width: 680px) {
|
||||
.v2-record-grid { grid-template-rows: none; }
|
||||
@@ -8483,6 +8598,8 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
}
|
||||
.v2-telemetry-mobile-item > header .v2-telemetry-value { justify-content: end; }
|
||||
.v2-telemetry-mobile-item > header .v2-telemetry-value strong { font-size: 13px; }
|
||||
.v2-telemetry-mobile-item > header .v2-telemetry-value.is-complex { width: min(142px,42vw); }
|
||||
.v2-telemetry-mobile-item > header .v2-telemetry-value-trigger.semi-button { padding: 2px 4px; }
|
||||
.v2-telemetry-mobile-item > div {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
|
||||
@@ -8495,6 +8612,15 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
.v2-telemetry-mobile-item > .v2-telemetry-source small { min-width: 0; }
|
||||
.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-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; }
|
||||
.v2-telemetry-value-detail pre { max-height: 46vh; font-size: 9px; }
|
||||
.v2-telemetry-value-footer { align-items: stretch; flex-direction: column; }
|
||||
.v2-telemetry-value-footer .semi-button { width: 100%; justify-content: center; }
|
||||
}
|
||||
|
||||
/* Semi UI track evidence: one list language for stops, events and source provenance. */
|
||||
|
||||
Reference in New Issue
Block a user