styles.tsx 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. import { StyleSheet, Platform } from 'react-native';
  2. import { Colors } from '../../../../theme';
  3. export const styles = StyleSheet.create({
  4. container: {
  5. ...StyleSheet.absoluteFillObject,
  6. alignItems: 'center',
  7. justifyContent: 'flex-end'
  8. },
  9. map: {
  10. ...StyleSheet.absoluteFillObject
  11. },
  12. cornerButton: {
  13. position: 'absolute',
  14. backgroundColor: Colors.WHITE,
  15. padding: 12,
  16. width: 48,
  17. height: 48,
  18. borderRadius: 24,
  19. alignItems: 'center',
  20. justifyContent: 'center',
  21. shadowColor: '#000',
  22. shadowOffset: {
  23. width: 0,
  24. height: 1
  25. },
  26. shadowOpacity: 0.25,
  27. shadowRadius: 1.5,
  28. elevation: 2
  29. },
  30. topLeftButton: {
  31. top: 52,
  32. left: 16
  33. },
  34. closeLeftButton: {
  35. backgroundColor: 'rgba(33, 37, 41, 0.78)',
  36. paddingHorizontal: 12,
  37. paddingVertical: 8,
  38. width: 81,
  39. height: 36,
  40. borderRadius: 18,
  41. flexDirection: 'row',
  42. gap: 6
  43. },
  44. textClose: {
  45. fontSize: 12,
  46. color: 'white',
  47. fontWeight: '500',
  48. lineHeight: 14
  49. },
  50. topRightButton: {
  51. top: 52,
  52. right: 16
  53. },
  54. bottomButton: {
  55. bottom: 20,
  56. width: 42,
  57. height: 42,
  58. borderRadius: 21
  59. },
  60. bottomRightButton: {
  61. right: 16
  62. },
  63. bottomLeftButton: {
  64. left: 16
  65. },
  66. avatar: {
  67. borderRadius: 48 / 2,
  68. width: 48,
  69. height: 48,
  70. borderWidth: 2,
  71. borderColor: Colors.WHITE
  72. },
  73. location: {
  74. width: 18,
  75. height: 18,
  76. borderRadius: 9,
  77. borderColor: 'white',
  78. backgroundColor: '#ED9334'
  79. },
  80. searchContainer: {
  81. flexDirection: 'row',
  82. alignItems: 'center'
  83. },
  84. iconButton: {
  85. padding: 10
  86. },
  87. input: {
  88. flex: 1,
  89. height: 40,
  90. color: Colors.DARK_BLUE,
  91. fontWeight: '600'
  92. },
  93. tabs: {
  94. position: 'absolute',
  95. padding: 3,
  96. bottom: 20,
  97. display: 'flex',
  98. alignItems: 'flex-end',
  99. justifyContent: 'flex-start',
  100. flexDirection: 'row'
  101. },
  102. });