databag/app/mobile/src/session/profile/Profile.styled.js

95 lines
1.8 KiB
JavaScript
Raw Normal View History

2022-09-21 21:06:30 +00:00
import { StyleSheet } from 'react-native';
import { Colors } from 'constants/Colors';
export const styles = StyleSheet.create({
container: {
width: '100%',
height: '100%',
display: 'flex',
flexDirection: 'column',
paddingBottom: 32,
alignItems: 'center',
justifyContent: 'center',
},
header: {
paddingBottom: 32,
paddingTop: 16,
display: 'flex',
flexDirection: 'row',
alignItems: 'flex-end',
justifyContent: 'center',
},
headerText: {
fontSize: 16,
paddingRight: 4,
textDecorationLine: 'underline',
},
edit: {
position: 'absolute',
bottom: 0,
right: 0,
padding: 4,
backgroundColor: Colors.lightgrey,
borderBottomRightRadius: 8,
borderTopLeftRadius: 8,
},
detail: {
paddingTop: 32,
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
color: Colors.text,
},
attribute: {
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
paddingBottom: 8,
},
nametext: {
fontSize: 18,
paddingRight: 8,
fontWeight: 'bold',
},
locationtext: {
fontSize: 16,
paddingLeft: 8,
},
descriptiontext: {
fontSize: 16,
paddingLeft: 8
},
visible: {
display: 'flex',
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
paddingTop: 16,
},
visibleText: {
fontSize: 14,
color: Colors.text,
paddingRight: 2,
},
visibleSwitch: {
transform: [{ scaleX: .6 }, { scaleY: .6 }],
},
logout: {
marginTop: 32,
borderRadius: 4,
backgroundColor: Colors.primary,
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
paddingLeft: 8,
paddingRight: 8,
paddingTop: 4,
paddingBottom: 4,
},
logoutText: {
color: Colors.white,
paddingLeft: 8,
}
})