优化记录页趋势分析展示
This commit is contained in:
@@ -36,6 +36,32 @@
|
||||
box-shadow: 0 0 14rpx rgba(var(--primary-rgb), 0.5);
|
||||
}
|
||||
|
||||
.trend-chart.peak .trend-bars {
|
||||
height: 156rpx;
|
||||
}
|
||||
|
||||
.trend-chart.peak .trend-bar {
|
||||
width: 12rpx;
|
||||
margin: 0 auto;
|
||||
min-height: 8rpx;
|
||||
border-radius: 999rpx;
|
||||
}
|
||||
|
||||
.trend-chart.peak .trend-bar::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -8rpx;
|
||||
left: -4rpx;
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
border-radius: 50%;
|
||||
background: var(--primary);
|
||||
}
|
||||
|
||||
.trend-chart.peak .trend-bar.zero::after {
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
/* value caption floats above the bar so it never eats into bar height */
|
||||
.trend-bar-value {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user