iter(g145): 滑块支持刻度标注
This commit is contained in:
@@ -4461,3 +4461,24 @@ h5.ua-type-title { font-size: var(--ua-font-size-md); }
|
||||
color: var(--ua-color-text);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* —— 滑块轨道与刻度:轨道包一层,刻度按百分比定位在下方 —— */
|
||||
.ua-slider-track {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
.ua-slider-marks {
|
||||
position: relative;
|
||||
height: 14px;
|
||||
}
|
||||
.ua-slider-mark {
|
||||
position: absolute;
|
||||
transform: translateX(-50%);
|
||||
color: var(--ua-color-text-muted);
|
||||
font-size: var(--ua-font-size-sm);
|
||||
line-height: 14px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user