2017-12-08 19:13:21 +00:00
|
|
|
import { StyleSheet, Platform, Dimensions } from 'react-native';
|
|
|
|
|
2018-04-24 19:34:03 +00:00
|
|
|
const TITLE_OFFSET = Platform.OS === 'ios' ? 46 : 46;
|
2017-12-08 19:13:21 +00:00
|
|
|
const { width } = Dimensions.get('window');
|
|
|
|
export default StyleSheet.create({
|
|
|
|
header: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center',
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
titleContainer: {
|
|
|
|
left: TITLE_OFFSET,
|
|
|
|
right: TITLE_OFFSET,
|
|
|
|
position: 'absolute',
|
|
|
|
alignItems: 'center',
|
2018-04-24 19:34:03 +00:00
|
|
|
justifyContent: 'flex-start',
|
2017-12-08 19:13:21 +00:00
|
|
|
flexDirection: 'row',
|
|
|
|
height: 44
|
|
|
|
},
|
|
|
|
status: {
|
2018-04-24 19:34:03 +00:00
|
|
|
borderRadius: 10,
|
|
|
|
width: 10,
|
|
|
|
height: 10
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
|
|
|
avatar: {
|
2018-04-24 19:34:03 +00:00
|
|
|
marginRight: 15
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
|
|
|
title: {
|
|
|
|
fontWeight: '500',
|
|
|
|
color: '#292E35'
|
|
|
|
},
|
|
|
|
left: {
|
|
|
|
left: 0,
|
|
|
|
position: 'absolute'
|
|
|
|
},
|
|
|
|
right: {
|
|
|
|
right: 0,
|
|
|
|
position: 'absolute',
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
modal: {
|
|
|
|
width: width - 60,
|
|
|
|
height: width - 60,
|
|
|
|
backgroundColor: '#F7F7F7',
|
|
|
|
borderRadius: 4,
|
|
|
|
flexDirection: 'column'
|
|
|
|
},
|
|
|
|
modalButton: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
|
|
borderBottomColor: 'rgba(0, 0, 0, .3)',
|
|
|
|
paddingHorizontal: 20
|
|
|
|
},
|
|
|
|
headerButton: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
height: 44,
|
|
|
|
width: 44,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
user_status: {
|
|
|
|
position: 'absolute',
|
|
|
|
bottom: -2,
|
|
|
|
right: -2,
|
|
|
|
borderWidth: 2,
|
|
|
|
borderColor: '#fff'
|
|
|
|
},
|
2017-12-08 19:13:21 +00:00
|
|
|
serverImage: {
|
|
|
|
width: 24,
|
|
|
|
height: 24,
|
|
|
|
borderRadius: 4
|
|
|
|
},
|
|
|
|
inputSearch: {
|
|
|
|
flex: 1,
|
|
|
|
marginLeft: 44
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
|
|
|
rows: {
|
|
|
|
flexGrow: 1,
|
|
|
|
marginHorizontal: 5
|
|
|
|
},
|
|
|
|
status_text: {
|
|
|
|
fontSize: 10,
|
|
|
|
color: '#888'
|
2017-12-08 19:13:21 +00:00
|
|
|
}
|
|
|
|
});
|