style.tsx 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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: 'rgba(33, 37, 41, 0.12)',
  22. shadowOffset: { width: 0, height: 4 },
  23. shadowRadius: 8,
  24. elevation: 5,
  25. },
  26. topLeftButton: {
  27. top: 44,
  28. left: 16,
  29. },
  30. closeLeftButton: {
  31. backgroundColor: 'rgba(33, 37, 41, 0.78)',
  32. paddingHorizontal: 12,
  33. paddingVertical: 8,
  34. width: 81,
  35. height: 36,
  36. borderRadius: 18,
  37. flexDirection: 'row',
  38. gap: 6,
  39. },
  40. topRightButton: {
  41. top: 44,
  42. right: 16,
  43. },
  44. bottomButton: {
  45. bottom: Platform.OS == 'android' ? 80 : 100,
  46. width: 42,
  47. height: 42,
  48. borderRadius: 21,
  49. },
  50. bottomLeftButton: {
  51. left: 16,
  52. },
  53. bottomRightButton: {
  54. right: 16,
  55. },
  56. textClose: {
  57. fontSize: 12,
  58. color: 'white',
  59. fontWeight: '500',
  60. lineHeight: 14,
  61. },
  62. });