Rocket.Chat.ReactNative/app/containers/AudioPlayer/styles.ts

70 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-08-07 23:57:15 +00:00
import { StyleSheet } from 'react-native';
import sharedStyles from '../../views/Styles';
2023-08-07 23:57:15 +00:00
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'
},
seekContainer: {
2023-08-07 23:57:15 +00:00
flexDirection: 'row',
flex: 1,
alignItems: 'center',
height: '100%'
},
seek: {
2023-08-07 23:57:15 +00:00
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
},
thumbSeek: {
2023-08-07 23:57:15 +00:00
height: 12,
width: 12,
borderRadius: 6,
zIndex: 3
2023-08-10 18:55:40 +00:00
},
containerPlaybackSpeed: {
2023-08-10 18:55:40 +00:00
width: 36,
height: 24,
borderRadius: 4,
marginRight: 16,
justifyContent: 'center',
alignItems: 'center',
overflow: 'hidden'
},
playbackSpeedText: {
2023-08-10 18:55:40 +00:00
fontSize: 14,
...sharedStyles.textBold
2023-08-07 23:57:15 +00:00
}
});
export default styles;