styles.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from '../../../theme';
  3. import { getFontSize } from '../../../utils';
  4. export const styles = StyleSheet.create({
  5. pageWrapper: {
  6. display: 'flex',
  7. flexDirection: 'row',
  8. gap: 20,
  9. marginTop: -34
  10. },
  11. headerText: {
  12. flex: 1,
  13. fontFamily: 'redhat-700',
  14. color: Colors.DARK_BLUE,
  15. fontSize: getFontSize(14)
  16. },
  17. usersMap: { height: 140, width: '100%', borderRadius: 12 },
  18. avatar: {
  19. borderRadius: 64 / 2,
  20. width: 64,
  21. height: 64,
  22. borderWidth: 2,
  23. borderColor: Colors.WHITE
  24. },
  25. userInfoContainer: {
  26. display: 'flex',
  27. justifyContent: 'space-between',
  28. flexDirection: 'row',
  29. alignItems: 'center'
  30. },
  31. userInfo: {
  32. display: 'flex',
  33. flexDirection: 'row',
  34. gap: 10,
  35. alignItems: 'center'
  36. },
  37. linksBox: {
  38. display: 'flex',
  39. flexDirection: 'row',
  40. gap: 15,
  41. alignItems: 'center',
  42. marginTop: 4
  43. },
  44. countryFlag: {
  45. width: 20,
  46. height: 20,
  47. borderRadius: 20 / 2,
  48. borderWidth: 0.5,
  49. borderColor: Colors.BORDER_LIGHT
  50. },
  51. settingsButton: {
  52. width: 40,
  53. height: 40,
  54. borderRadius: 40 / 2,
  55. borderWidth: 1,
  56. borderColor: Colors.LIGHT_GRAY,
  57. display: 'flex',
  58. justifyContent: 'center',
  59. alignItems: 'center'
  60. },
  61. settings: {
  62. position: 'absolute',
  63. height: 40,
  64. width: 40,
  65. right: -10,
  66. bottom: -10,
  67. justifyContent: 'center'
  68. },
  69. badgeRoot: { flex: 0, justifyContent: 'flex-end', marginTop: 0 },
  70. ageText: { color: Colors.DARK_BLUE, fontWeight: '600', fontSize: getFontSize(12) },
  71. friend: {
  72. flexDirection: 'row',
  73. justifyContent: 'center',
  74. alignItems: 'center',
  75. borderRadius: 20,
  76. gap: 4,
  77. paddingVertical: 4,
  78. paddingHorizontal: 8,
  79. backgroundColor: Colors.ORANGE
  80. },
  81. friendText: {
  82. fontSize: getFontSize(10),
  83. fontFamily: 'redhat-600',
  84. color: Colors.WHITE
  85. },
  86. nameRow: {
  87. flexDirection: 'row',
  88. justifyContent: 'space-between',
  89. alignItems: 'center'
  90. },
  91. modal: {
  92. justifyContent: 'flex-end',
  93. margin: 0
  94. },
  95. wrapper: {
  96. backgroundColor: Colors.WHITE,
  97. paddingLeft: 15,
  98. paddingRight: 15,
  99. borderTopLeftRadius: 10,
  100. borderTopRightRadius: 10,
  101. height: 'auto',
  102. paddingBottom: 36,
  103. paddingTop: 24
  104. },
  105. btnModalEdit: {
  106. paddingHorizontal: 16,
  107. paddingVertical: 8,
  108. flexDirection: 'row',
  109. alignItems: 'center',
  110. gap: 12,
  111. justifyContent: 'space-between'
  112. },
  113. btnModalEditText: { fontSize: 12, fontWeight: '600', color: Colors.DARK_BLUE },
  114. locationWrapper: {
  115. position: 'absolute',
  116. width: 50,
  117. height: 50,
  118. top: 0,
  119. right: 0,
  120. justifyContent: 'center',
  121. alignItems: 'center',
  122. zIndex: 2
  123. },
  124. locationBtn: {
  125. width: 42,
  126. height: 42,
  127. borderRadius: 21,
  128. justifyContent: 'center',
  129. alignItems: 'center',
  130. backgroundColor: 'rgba(0, 0, 0, 0.3)'
  131. }
  132. });