2015-10-27 23:19:30 +00:00
|
|
|
/* Copyright 2015 Realm Inc - All Rights Reserved
|
|
|
|
* Proprietary and Confidential
|
|
|
|
*/
|
|
|
|
|
2015-10-07 23:20:05 +00:00
|
|
|
'use strict';
|
|
|
|
|
2016-02-15 23:03:16 +00:00
|
|
|
import {
|
|
|
|
Navigator,
|
|
|
|
Platform,
|
|
|
|
StyleSheet
|
|
|
|
} from 'react-native';
|
2015-10-07 23:20:05 +00:00
|
|
|
|
2016-01-19 23:10:06 +00:00
|
|
|
const { NavBarHeight, TotalNavHeight } = Navigator.NavigationBar.Styles.General;
|
|
|
|
const iOS = (Platform.OS == 'ios');
|
2016-01-14 01:05:52 +00:00
|
|
|
|
2016-02-15 23:03:16 +00:00
|
|
|
export default StyleSheet.create({
|
2015-10-07 23:20:05 +00:00
|
|
|
container: {
|
|
|
|
flex: 1,
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'stretch',
|
2016-01-19 23:10:06 +00:00
|
|
|
backgroundColor: '#fff',
|
2015-10-07 23:20:05 +00:00
|
|
|
},
|
2015-10-27 08:52:26 +00:00
|
|
|
navigator: {
|
|
|
|
flex: 1,
|
|
|
|
},
|
2016-01-14 01:05:52 +00:00
|
|
|
navBar: {
|
|
|
|
backgroundColor: '#f0727d',
|
|
|
|
},
|
2016-01-19 23:10:06 +00:00
|
|
|
navBarView: {
|
|
|
|
alignItems: 'center',
|
|
|
|
flexDirection: 'row',
|
|
|
|
height: NavBarHeight,
|
|
|
|
},
|
2016-01-14 01:05:52 +00:00
|
|
|
navBarLeftArrow: {
|
2016-01-19 23:10:06 +00:00
|
|
|
color: '#fff',
|
|
|
|
fontSize: 40,
|
2016-01-14 01:05:52 +00:00
|
|
|
fontWeight: '200',
|
|
|
|
letterSpacing: 2,
|
2016-01-19 23:10:06 +00:00
|
|
|
marginTop: -6,
|
2016-01-14 01:05:52 +00:00
|
|
|
},
|
|
|
|
navBarLeftButton: {
|
|
|
|
paddingLeft: 8,
|
|
|
|
},
|
|
|
|
navBarRightButton: {
|
|
|
|
paddingRight: 8,
|
|
|
|
},
|
|
|
|
navBarText: {
|
2016-01-19 23:10:06 +00:00
|
|
|
color: '#fff',
|
2016-01-14 01:05:52 +00:00
|
|
|
fontSize: 18,
|
|
|
|
},
|
2016-01-19 23:10:06 +00:00
|
|
|
navBarTitleText: {
|
2016-01-14 01:05:52 +00:00
|
|
|
fontWeight: '500',
|
|
|
|
},
|
|
|
|
navScene: {
|
2016-01-19 23:10:06 +00:00
|
|
|
top: TotalNavHeight,
|
2016-01-14 01:05:52 +00:00
|
|
|
},
|
2015-10-07 23:20:05 +00:00
|
|
|
listItem: {
|
2016-01-14 01:05:52 +00:00
|
|
|
borderColor: '#c8c7cc',
|
2015-10-07 23:20:05 +00:00
|
|
|
borderBottomWidth: 0.5,
|
2015-10-26 19:10:40 +00:00
|
|
|
alignItems: 'stretch',
|
2015-10-07 23:20:05 +00:00
|
|
|
alignSelf: 'stretch',
|
2016-01-19 23:10:06 +00:00
|
|
|
justifyContent: 'center',
|
2015-10-07 23:20:05 +00:00
|
|
|
flexDirection: 'row',
|
|
|
|
flex: 1,
|
|
|
|
height: 44,
|
|
|
|
},
|
2015-10-27 08:52:26 +00:00
|
|
|
listItemLeftSide: {
|
2015-10-26 19:10:40 +00:00
|
|
|
flexDirection: 'column',
|
2015-10-27 08:52:26 +00:00
|
|
|
alignItems: 'center',
|
2015-10-26 19:10:40 +00:00
|
|
|
justifyContent: 'center',
|
2015-10-27 08:52:26 +00:00
|
|
|
width: 36,
|
2015-10-26 19:10:40 +00:00
|
|
|
},
|
|
|
|
listItemCheckbox: {
|
2015-10-27 21:23:17 +00:00
|
|
|
borderColor: '#ccc',
|
|
|
|
borderWidth: 1,
|
2015-10-26 19:10:40 +00:00
|
|
|
width: 16,
|
|
|
|
height: 16,
|
2016-01-19 23:10:06 +00:00
|
|
|
},
|
|
|
|
listItemCheckboxText: {
|
|
|
|
width: 14,
|
|
|
|
height: 14,
|
|
|
|
fontSize: iOS ? 14 : 10,
|
|
|
|
textAlign: 'center',
|
2015-10-27 21:23:17 +00:00
|
|
|
},
|
|
|
|
listItemCount: {
|
|
|
|
borderColor: '#ccc',
|
|
|
|
borderWidth: 1,
|
|
|
|
borderRadius: 8,
|
|
|
|
width: 24,
|
|
|
|
height: 18,
|
2016-01-19 23:10:06 +00:00
|
|
|
},
|
|
|
|
listItemCountText: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
fontSize: iOS ? 12 : 11,
|
|
|
|
textAlign: 'center',
|
2015-10-26 19:10:40 +00:00
|
|
|
},
|
|
|
|
listItemInput: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontSize: 15,
|
|
|
|
flexDirection: 'column',
|
|
|
|
flex: 1,
|
|
|
|
},
|
2015-10-07 23:20:05 +00:00
|
|
|
listItemText: {
|
2016-01-19 23:10:06 +00:00
|
|
|
alignSelf: 'center',
|
2015-10-07 23:20:05 +00:00
|
|
|
fontFamily: 'System',
|
|
|
|
fontSize: 15,
|
|
|
|
flexDirection: 'column',
|
|
|
|
flex: 1,
|
|
|
|
},
|
2015-10-27 10:08:18 +00:00
|
|
|
listItemTextSpecial: {
|
|
|
|
fontStyle: 'italic',
|
|
|
|
},
|
2015-10-27 00:13:33 +00:00
|
|
|
listItemDelete: {
|
2016-01-19 23:10:06 +00:00
|
|
|
backgroundColor: 'transparent',
|
2015-10-27 00:13:33 +00:00
|
|
|
paddingLeft: 12,
|
|
|
|
paddingRight: 12,
|
|
|
|
flexDirection: 'column',
|
|
|
|
justifyContent: 'center',
|
|
|
|
},
|
2015-10-07 23:20:05 +00:00
|
|
|
instructions: {
|
|
|
|
textAlign: 'center',
|
|
|
|
color: '#333333',
|
|
|
|
marginBottom: 5,
|
|
|
|
}
|
|
|
|
});
|