styles.js
1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import { Platform, StyleSheet } from 'react-native'
import { STATUS_BAR_HEIGHT } from '../constants'
export const colors = {
primary: '#D71E1E',
muted: '#6C757D',
white: '#FFFFFF',
grey: '#DDDD',
secondary: '#DDDD'
}
export default StyleSheet.create({
activity: {
justifyContent: 'center'
},
datePicker: {
width: undefined,
borderTopColor: colors.primary
},
pane: {
flex: 1,
backgroundColor: colors.white,
paddingBottom: 20,
paddingTop: 0,
},
footer: {
height: 50,
backgroundColor: colors.primary,
justifyContent: 'space-evenly',
flexDirection: 'row',
alignItems: 'center',
},
button: {
backgroundColor: colors.primary,
margin: 10,
marginBottom: 0,
},
headerStyle: {
height: 54, //Platform.OS === 'android' ? 54 + STATUS_BAR_HEIGHT : 54,
backgroundColor: colors.primary
},
fixStatusBar: {
marginTop: Platform.OS === 'android' ? STATUS_BAR_HEIGHT : 0,
},
headerTitleStyle: {
marginTop: 0,
color: 'white'
},
label: {
padding: 10,
fontSize: 16,
backgroundColor: colors.secondary,
fontWeight: 'bold',
},
contentContainer: {
paddingVertical: 0,
alignItems: 'stretch'
},
input: {
borderColor: colors.muted,
borderWidth: 1,
margin: 5,
padding: 5
},
oneline: {
height: 35,
},
textAreaContainer: {
borderColor: colors.muted,
borderWidth: 1,
margin: 5,
padding: 5
},
textArea: {
height: 150,
justifyContent: 'flex-start',
textAlignVertical: 'top'
}
})