103 lines
1.7 KiB
CSS
103 lines
1.7 KiB
CSS
/* 留存质量视图(RetentionView)专属样式;公共原语(卡片/表格/seg/骨架)见 social-v2.css。 */
|
||
|
||
.sbi-rt-view {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
/* ---------- 概要卡 ---------- */
|
||
|
||
.sbi-rt-summary {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 16px;
|
||
}
|
||
|
||
.sbi-rt-summary-card {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
padding: 16px 18px;
|
||
}
|
||
|
||
.sbi-rt-summary-label {
|
||
color: var(--sbi-text-2);
|
||
font-size: 12.5px;
|
||
font-weight: 640;
|
||
}
|
||
|
||
.sbi-rt-summary-value {
|
||
color: var(--sbi-text);
|
||
font-size: 26px;
|
||
font-weight: 760;
|
||
font-variant-numeric: tabular-nums;
|
||
line-height: 1.15;
|
||
}
|
||
|
||
.sbi-rt-summary-note {
|
||
color: var(--sbi-text-3);
|
||
font-size: 11.5px;
|
||
}
|
||
|
||
/* ---------- 图表卡(EChart 容器必须有确定高度) ---------- */
|
||
|
||
.sbi-rt-chart-combo {
|
||
height: 300px;
|
||
margin: 4px 12px 12px;
|
||
}
|
||
|
||
.sbi-rt-chart-trend {
|
||
height: 280px;
|
||
margin: 4px 12px 12px;
|
||
}
|
||
|
||
/* ---------- 热力表 ---------- */
|
||
|
||
.sbi-rt-table-card .sbi-table-scroll {
|
||
margin-top: 10px;
|
||
}
|
||
|
||
/* ---------- 底部口径说明 ---------- */
|
||
|
||
.sbi-rt-footnote {
|
||
margin: 0;
|
||
color: var(--sbi-text-3);
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
/* ---------- 骨架 ---------- */
|
||
|
||
.sbi-rt-skeleton-line {
|
||
display: block;
|
||
width: 96px;
|
||
height: 14px;
|
||
}
|
||
|
||
.sbi-rt-skeleton-value {
|
||
display: block;
|
||
width: 150px;
|
||
height: 30px;
|
||
}
|
||
|
||
.sbi-rt-skeleton-chart {
|
||
display: block;
|
||
width: auto;
|
||
height: 232px;
|
||
margin: 14px 16px 16px;
|
||
}
|
||
|
||
.sbi-rt-skeleton-table {
|
||
display: block;
|
||
width: auto;
|
||
height: 180px;
|
||
margin: 14px 16px 16px;
|
||
}
|
||
|
||
@media (max-width: 960px) {
|
||
.sbi-rt-summary {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|