styles.tsx 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from 'src/theme';
  3. import { getFontSize } from 'src/utils';
  4. export const styles = StyleSheet.create({
  5. regionItem: {
  6. paddingVertical: 12,
  7. paddingHorizontal: 16,
  8. borderRadius: 8,
  9. backgroundColor: Colors.FILL_LIGHT
  10. },
  11. regionItemTop: {
  12. flexDirection: 'row',
  13. alignItems: 'center',
  14. justifyContent: 'space-between'
  15. },
  16. regionHeader: { flexDirection: 'row', alignItems: 'center', flex: 1 },
  17. flagStyle: {
  18. width: 32,
  19. height: 32,
  20. borderRadius: 16,
  21. borderWidth: 1,
  22. borderColor: Colors.LIGHT_GRAY,
  23. marginRight: 12
  24. },
  25. nameContainer: {
  26. flexShrink: 1
  27. },
  28. regionName: {
  29. fontSize: 14,
  30. fontWeight: 'bold',
  31. color: Colors.DARK_BLUE
  32. },
  33. regionSubname: {
  34. fontSize: 12,
  35. fontWeight: '400',
  36. color: Colors.DARK_BLUE
  37. },
  38. regionItemBottom: {
  39. flexDirection: 'row',
  40. alignItems: 'center',
  41. gap: 16
  42. },
  43. qualityOfVisit: {
  44. fontSize: 12,
  45. color: Colors.DARK_BLUE,
  46. fontWeight: '600',
  47. marginBottom: 8
  48. },
  49. markCompletedButton: {
  50. backgroundColor: Colors.ORANGE,
  51. paddingVertical: 8,
  52. paddingHorizontal: 12,
  53. borderRadius: 6,
  54. flex: 1,
  55. alignItems: 'center',
  56. borderWidth: 1,
  57. borderColor: Colors.ORANGE
  58. },
  59. markNotCompletedButton: {
  60. backgroundColor: 'transparent',
  61. paddingVertical: 8,
  62. paddingHorizontal: 12,
  63. borderRadius: 6,
  64. alignItems: 'center',
  65. borderColor: Colors.BORDER_LIGHT,
  66. borderWidth: 1,
  67. flex: 1
  68. },
  69. markCompletedButtonText: {
  70. color: 'white',
  71. fontWeight: 'bold',
  72. fontSize: 13
  73. },
  74. markNotCompletedButtonText: {
  75. color: Colors.DARK_BLUE,
  76. fontWeight: 'bold',
  77. fontSize: 13
  78. },
  79. trashBtn: {
  80. backgroundColor: Colors.RED,
  81. padding: 8,
  82. borderRadius: 50
  83. },
  84. qualitySelector: {
  85. flexDirection: 'row',
  86. alignItems: 'center',
  87. paddingHorizontal: 12,
  88. paddingVertical: 8,
  89. borderRadius: 6,
  90. backgroundColor: Colors.DARK_LIGHT,
  91. justifyContent: 'space-between',
  92. flex: 1
  93. },
  94. qualityButtonText: {
  95. color: Colors.DARK_BLUE,
  96. fontWeight: '600',
  97. fontSize: 13
  98. },
  99. divider: { height: 1, backgroundColor: Colors.DARK_LIGHT, marginVertical: 16 },
  100. completedContainer: { gap: 8, flexDirection: 'row', alignItems: 'center' },
  101. regionDatesContainer: {
  102. paddingBottom: 12
  103. },
  104. regionDatesLabel: {
  105. fontSize: getFontSize(12),
  106. color: Colors.DARK_BLUE,
  107. marginBottom: 8,
  108. fontWeight: '600'
  109. },
  110. dateRow: {
  111. flexDirection: 'row',
  112. alignItems: 'flex-start',
  113. gap: 12
  114. },
  115. dateColumn: {
  116. flex: 1,
  117. gap: 8
  118. },
  119. dateFieldLabel: {
  120. fontSize: getFontSize(12),
  121. color: Colors.DARK_BLUE,
  122. fontWeight: '600'
  123. },
  124. dateInput: {
  125. borderRadius: 6,
  126. paddingHorizontal: 8,
  127. paddingVertical: 6,
  128. flexDirection: 'row',
  129. alignItems: 'center',
  130. justifyContent: 'space-between',
  131. backgroundColor: Colors.DARK_LIGHT,
  132. height: 36
  133. },
  134. dateText: {
  135. fontSize: getFontSize(13),
  136. color: Colors.DARK_BLUE,
  137. fontWeight: '600'
  138. },
  139. placeholderText: {
  140. color: Colors.TEXT_GRAY,
  141. flexWrap: 'wrap'
  142. }
  143. });