2023-08-07 23:57:15 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
|
|
|
|
import sharedStyles from '../../../../views/Styles';
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
audioContainer: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center',
|
|
|
|
height: 56,
|
|
|
|
borderWidth: 1,
|
|
|
|
borderRadius: 4,
|
|
|
|
marginBottom: 6
|
|
|
|
},
|
|
|
|
playPauseButton: {
|
|
|
|
alignItems: 'center',
|
|
|
|
marginLeft: 16,
|
|
|
|
height: 32,
|
|
|
|
width: 32,
|
|
|
|
borderRadius: 4,
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
sliderContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
flex: 1,
|
|
|
|
alignItems: 'center',
|
|
|
|
height: '100%'
|
|
|
|
},
|
|
|
|
slider: {
|
|
|
|
marginRight: 12,
|
|
|
|
height: '100%',
|
|
|
|
justifyContent: 'center',
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
line: {
|
|
|
|
height: 4,
|
|
|
|
borderRadius: 2,
|
|
|
|
zIndex: 1,
|
|
|
|
position: 'absolute',
|
|
|
|
width: '100%'
|
|
|
|
},
|
|
|
|
duration: {
|
|
|
|
marginHorizontal: 12,
|
2023-08-11 16:13:43 +00:00
|
|
|
fontVariant: ['tabular-nums'],
|
2023-08-07 23:57:15 +00:00
|
|
|
fontSize: 14,
|
|
|
|
...sharedStyles.textRegular
|
|
|
|
},
|
|
|
|
thumbSlider: {
|
|
|
|
height: 12,
|
|
|
|
width: 12,
|
|
|
|
borderRadius: 6,
|
|
|
|
zIndex: 3
|
2023-08-10 18:55:40 +00:00
|
|
|
},
|
|
|
|
containerAudioRate: {
|
|
|
|
width: 36,
|
|
|
|
height: 24,
|
|
|
|
borderRadius: 4,
|
|
|
|
marginRight: 16,
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'center',
|
|
|
|
overflow: 'hidden'
|
|
|
|
},
|
|
|
|
audioRateText: {
|
|
|
|
fontSize: 14,
|
|
|
|
...sharedStyles.textBold
|
2023-08-07 23:57:15 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
export default styles;
|