123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- import { StyleSheet } from 'react-native';
- import { Colors } from '../../../theme';
- import { getFontSize } from '../../../utils';
- export const styles = StyleSheet.create({
- pageWrapper: {
- display: 'flex',
- flexDirection: 'row',
- gap: 20,
- marginTop: -34
- },
- headerText: {
- flex: 1,
- fontFamily: 'redhat-700',
- color: Colors.DARK_BLUE,
- fontSize: getFontSize(14)
- },
- usersMap: { height: 140, width: '100%', borderRadius: 12 },
- avatar: {
- borderRadius: 64 / 2,
- width: 64,
- height: 64,
- borderWidth: 2,
- borderColor: Colors.WHITE
- },
- userInfoContainer: {
- display: 'flex',
- justifyContent: 'space-between',
- flexDirection: 'row',
- alignItems: 'center'
- },
- userInfo: {
- display: 'flex',
- flexDirection: 'row',
- gap: 10,
- alignItems: 'center'
- },
- linksBox: {
- display: 'flex',
- flexDirection: 'row',
- gap: 15,
- alignItems: 'center',
- marginTop: 4
- },
- countryFlag: {
- width: 20,
- height: 20,
- borderRadius: 20 / 2,
- borderWidth: 0.5,
- borderColor: Colors.BORDER_LIGHT
- },
- settingsButton: {
- width: 40,
- height: 40,
- borderRadius: 40 / 2,
- borderWidth: 1,
- borderColor: Colors.LIGHT_GRAY,
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center'
- },
- settings: {
- position: 'absolute',
- height: 40,
- width: 40,
- right: -10,
- bottom: -10,
- justifyContent: 'center'
- },
- badgeRoot: { flex: 0, justifyContent: 'flex-end', marginTop: 0 },
- ageText: { color: Colors.DARK_BLUE, fontWeight: '600', fontSize: getFontSize(12) },
- friend: {
- flexDirection: 'row',
- justifyContent: 'center',
- alignItems: 'center',
- borderRadius: 20,
- gap: 4,
- paddingVertical: 4,
- paddingHorizontal: 8,
- backgroundColor: Colors.ORANGE
- },
- friendText: {
- fontSize: getFontSize(10),
- fontFamily: 'redhat-600',
- color: Colors.WHITE
- },
- nameRow: {
- flexDirection: 'row',
- justifyContent: 'space-between',
- alignItems: 'center'
- },
- modal: {
- justifyContent: 'flex-end',
- margin: 0
- },
- wrapper: {
- backgroundColor: Colors.WHITE,
- paddingLeft: 15,
- paddingRight: 15,
- borderTopLeftRadius: 10,
- borderTopRightRadius: 10,
- height: 'auto',
- paddingBottom: 36,
- paddingTop: 24
- },
- btnModalEdit: {
- paddingHorizontal: 16,
- paddingVertical: 8,
- flexDirection: 'row',
- alignItems: 'center',
- gap: 12,
- justifyContent: 'space-between'
- },
- btnModalEditText: { fontSize: 12, fontWeight: '600', color: Colors.DARK_BLUE },
- locationWrapper: {
- position: 'absolute',
- width: 50,
- height: 50,
- top: 0,
- right: 0,
- justifyContent: 'center',
- alignItems: 'center',
- zIndex: 2
- },
- locationBtn: {
- width: 42,
- height: 42,
- borderRadius: 21,
- justifyContent: 'center',
- alignItems: 'center',
- backgroundColor: 'rgba(0, 0, 0, 0.3)'
- }
- });
|