style.tsx 2.2 KB

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