|
|
|
|
@ -4,7 +4,7 @@ import { isMobileDevice } from 'config/userAgent' |
|
|
|
|
|
|
|
|
|
import { Wrapper } from '../TimeTooltip/styled' |
|
|
|
|
|
|
|
|
|
export const ProgressBarList = styled.div` |
|
|
|
|
export const ProgressBarList = styled.div<{isIOS?: boolean}>` |
|
|
|
|
flex-grow: 1; |
|
|
|
|
height: 4px; |
|
|
|
|
position: relative; |
|
|
|
|
@ -16,6 +16,12 @@ export const ProgressBarList = styled.div` |
|
|
|
|
height: 1px; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
|
|
|
|
|
${({ isIOS }) => (isIOS && isMobileDevice |
|
|
|
|
&& css` |
|
|
|
|
height: 3px; |
|
|
|
|
margin: 0 24px; |
|
|
|
|
`)}
|
|
|
|
|
` |
|
|
|
|
export const ScrubberContainer = styled.div` |
|
|
|
|
${isMobileDevice |
|
|
|
|
@ -27,7 +33,7 @@ export const ScrubberContainer = styled.div` |
|
|
|
|
|
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Scrubber = styled.div` |
|
|
|
|
export const Scrubber = styled.div<{isIOS?: boolean}>` |
|
|
|
|
border: none; |
|
|
|
|
outline: none; |
|
|
|
|
position: absolute; |
|
|
|
|
@ -52,4 +58,12 @@ export const Scrubber = styled.div` |
|
|
|
|
transform: translate(-50%, -48%); |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
|
|
|
|
|
${({ isIOS }) => (isIOS && isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
width: 30px; |
|
|
|
|
height: 30px; |
|
|
|
|
transform: translate(-50%, -53%); |
|
|
|
|
` |
|
|
|
|
: '')} |
|
|
|
|
` |
|
|
|
|
|