fix(mobile): progress styles (#9001)

fix AF-1875, fix AF-1878, fix AF-1879
This commit is contained in:
pengx17
2024-12-04 06:56:33 +00:00
parent 82d133d64d
commit e4f94c7e3f
8 changed files with 64 additions and 112 deletions

View File

@@ -33,13 +33,15 @@ export const sliderRoot = style({
});
export const thumb = style({
width: '4px',
height: `calc(${progressHeight} + 2px)`,
transform: 'translateY(-1px)',
borderRadius: '2px',
width: 28,
height: 28,
transform: 'translate(1px, -9px)',
borderRadius: '50%',
display: 'block',
background: cssVarV2('layer/insideBorder/primaryBorder'),
background: cssVarV2('layer/background/primary'),
boxShadow: cssVar('overlayPanelShadow'),
opacity: 0,
transition: 'opacity 0.1s ease-in-out',
selectors: {
[`${root}:hover &, &:is(:focus-visible, :focus-within)`]: {
opacity: 1,
@@ -50,6 +52,7 @@ export const thumb = style({
export const label = style({
width: '40px',
fontSize: cssVar('fontSm'),
textAlign: 'right',
});
export const indicator = style({