realm-js/examples/ReactExample/components/styles.js

76 lines
1.6 KiB
JavaScript
Raw Normal View History

2015-10-07 23:20:05 +00:00
'use strict';
const React = require('react-native');
module.exports = React.StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'stretch',
backgroundColor: '#ffffff',
},
navigator: {
flex: 1,
},
2015-10-07 23:20:05 +00:00
listItem: {
borderColor: "#c8c7cc",
borderBottomWidth: 0.5,
alignItems: 'stretch',
2015-10-07 23:20:05 +00:00
alignSelf: 'stretch',
flexDirection: 'row',
flex: 1,
height: 44,
},
listItemLeftSide: {
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
width: 36,
},
listItemCheckbox: {
borderColor: '#ccc',
borderWidth: 1,
textAlign: 'center',
width: 16,
height: 16,
lineHeight: 14,
},
listItemCount: {
borderColor: '#ccc',
borderWidth: 1,
borderRadius: 8,
textAlign: 'center',
fontSize: 12,
width: 24,
height: 18,
lineHeight: 16,
},
listItemInput: {
fontFamily: 'System',
fontSize: 15,
flexDirection: 'column',
flex: 1,
},
2015-10-07 23:20:05 +00:00
listItemText: {
fontFamily: 'System',
fontSize: 15,
flexDirection: 'column',
flex: 1,
lineHeight: 30,
2015-10-07 23:20:05 +00:00
},
2015-10-27 10:08:18 +00:00
listItemTextSpecial: {
fontStyle: 'italic',
},
listItemDelete: {
paddingLeft: 12,
paddingRight: 12,
flexDirection: 'column',
justifyContent: 'center',
},
2015-10-07 23:20:05 +00:00
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
}
});