Simplify markup and move symptom screens to symptom dir

This commit is contained in:
Julia Friesel
2018-07-15 22:36:06 +02:00
parent 9eb1ad6af1
commit eba5837350
9 changed files with 268 additions and 371 deletions
+30 -53
View File
@@ -14,21 +14,19 @@ export default StyleSheet.create({
dateHeader: {
fontSize: 20,
fontWeight: 'bold',
margin: 30,
margin: 15,
color: 'white',
textAlign: 'center',
textAlignVertical: 'center'
},
cycleDayNumber: {
fontSize: 18,
margin: 20,
margin: 15,
textAlign: 'center',
textAlignVertical: 'center'
},
symptomDayView: {
fontSize: 20,
margin: 30,
textAlign: 'left',
textAlignVertical: 'center'
},
radioButton: {
@@ -37,68 +35,47 @@ export default StyleSheet.create({
textAlign: 'center',
textAlignVertical: 'center'
},
singleButtonView: {
flex: 1,
margin: 5
},
itemsInRowView: {
flex: 1,
flexDirection: 'row',
justifyContent: 'flex-start',
alignItems: 'center'
},
itemsInRowSeparatedView: {
flex: 1,
flexDirection: 'row',
justifyContent: 'space-evenly',
alignItems: 'center'
},
symptomEditView: {
flex: 1,
flexDirection: 'column',
justifyContent: 'space-between',
alignItems: 'flex-start'
marginHorizontal: 15
},
symptomEditSplitSymptomsAndLastRowButtons: {
flex: 4,
flexDirection: 'column',
justifyContent: 'flex-start',
alignItems: 'flex-start'
symptomEditRow: {
justifyContent: 'space-between',
marginBottom: 10,
},
symptomEditListedSymptomView: {
flex: 1,
flexDirection: 'column',
justifyContent: 'flex-start',
alignItems: 'flex-start'
},
cycleDayOuterView: {
flex: 1,
flexDirection: 'column',
justifyContent: 'space-around'
symptomViewRowInline: {
flexDirection: 'row',
justifyContent: 'space-between',
marginBottom: 10,
alignItems: 'center',
height: 50
},
cycleDayDateView: {
flex: 2,
justifyContent: 'center',
backgroundColor: 'steelblue'
},
cycleDayNumberView: {
flex: 1,
justifyContent: 'center',
backgroundColor: 'skyblue'
backgroundColor: 'skyblue',
marginBottom: 15
},
cycleDaySymptomsView: {
flex: 8,
justifyContent: 'center'
homeButtons: {
marginHorizontal: 15
},
homeContainerView: {
flex: 0.5,
flexDirection: 'column',
justifyContent: 'space-around'
homeButton: {
marginBottom: 15
},
homeButtonsView: {
flex: 3,
flexDirection: 'column',
justifyContent: 'space-around',
margin: 5
temperatureTextInput: {
width: 80,
textAlign: 'center',
fontSize: 20
},
actionButtonRow: {
flexDirection: 'row',
justifyContent: 'space-evenly',
marginTop: 50
},
symptomEditButton: {
width: 130
}
})