styles.tsx 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from '../../../../theme';
  3. import { getFontSize } from '../../../../utils';
  4. export const styles = StyleSheet.create({
  5. modalContent: {
  6. backgroundColor: 'white',
  7. borderRadius: 15,
  8. paddingHorizontal: 16,
  9. gap: 12,
  10. paddingVertical: 12,
  11. height: '90%'
  12. },
  13. megaregion: {
  14. marginBottom: 16
  15. },
  16. megaregionTitle: {
  17. fontWeight: '700',
  18. fontSize: 13,
  19. color: Colors.DARK_BLUE,
  20. flex: 7
  21. },
  22. regionRow: {
  23. flexDirection: 'row',
  24. alignItems: 'center',
  25. marginBottom: 12,
  26. justifyContent: 'space-between',
  27. gap: 6
  28. },
  29. flags: {
  30. flexDirection: 'row',
  31. gap: 8,
  32. alignItems: 'center',
  33. flex: 7
  34. },
  35. regionInfo: {
  36. flexShrink: 1
  37. },
  38. regionName: {
  39. fontSize: 12,
  40. fontWeight: '600',
  41. color: Colors.DARK_BLUE
  42. },
  43. regionDates: {
  44. fontSize: 14,
  45. color: 'gray'
  46. },
  47. regionsFlag: {
  48. width: 32,
  49. height: 32,
  50. borderRadius: 32 / 2,
  51. borderWidth: 1,
  52. borderColor: Colors.FILL_LIGHT
  53. },
  54. header: {
  55. width: '100%',
  56. display: 'flex',
  57. justifyContent: 'space-between',
  58. flexDirection: 'row',
  59. alignItems: 'center'
  60. },
  61. headerText: {
  62. fontFamily: 'redhat-600',
  63. fontSize: getFontSize(14),
  64. color: Colors.DARK_BLUE
  65. },
  66. alignCenter: {
  67. alignItems: 'center',
  68. justifyContent: 'center',
  69. textAlign: 'center'
  70. },
  71. blockTitle: {
  72. flexDirection: 'row',
  73. justifyContent: 'space-between',
  74. alignItems: 'center',
  75. marginBottom: 12
  76. },
  77. slow: { width: '33%', alignItems: 'center', justifyContent: 'center' },
  78. megaSubList: { flex: 1, minHeight: 20, width: '100%' }
  79. });