2019-01-29 19:52:56 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
import { isIOS } from '../../utils/deviceInfo';
|
2019-03-27 20:06:57 +00:00
|
|
|
import { COLOR_SEPARATOR } from '../../constants/colors';
|
2017-12-08 19:13:21 +00:00
|
|
|
|
|
|
|
export default StyleSheet.create({
|
|
|
|
container: {
|
2018-08-31 16:46:33 +00:00
|
|
|
flex: 1,
|
2019-01-29 19:52:56 +00:00
|
|
|
backgroundColor: isIOS ? '#FFF' : '#E1E5E8'
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
|
|
|
separator: {
|
2018-08-31 16:46:33 +00:00
|
|
|
height: StyleSheet.hairlineWidth,
|
2019-03-27 20:06:57 +00:00
|
|
|
backgroundColor: COLOR_SEPARATOR,
|
|
|
|
marginLeft: 73
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
|
|
|
list: {
|
|
|
|
width: '100%',
|
|
|
|
backgroundColor: '#FFFFFF'
|
|
|
|
},
|
|
|
|
emptyView: {
|
|
|
|
flexGrow: 1,
|
|
|
|
alignItems: 'stretch',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
emptyText: {
|
|
|
|
textAlign: 'center',
|
|
|
|
fontSize: 18,
|
|
|
|
color: '#ccc'
|
|
|
|
},
|
|
|
|
actionButtonIcon: {
|
|
|
|
fontSize: 20,
|
|
|
|
height: 22,
|
|
|
|
color: 'white'
|
|
|
|
},
|
2018-08-01 19:35:06 +00:00
|
|
|
loading: {
|
|
|
|
flex: 1
|
2018-08-31 16:46:33 +00:00
|
|
|
},
|
|
|
|
dropdownContainerHeader: {
|
|
|
|
height: 41,
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
2019-03-27 20:06:57 +00:00
|
|
|
borderColor: COLOR_SEPARATOR,
|
2018-08-31 16:46:33 +00:00
|
|
|
alignItems: 'center',
|
2019-01-29 19:52:56 +00:00
|
|
|
backgroundColor: isIOS ? '#fff' : '#54585E',
|
2018-08-31 16:46:33 +00:00
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
sortToggleContainerClose: {
|
|
|
|
position: 'absolute',
|
|
|
|
top: 0,
|
|
|
|
width: '100%'
|
|
|
|
},
|
|
|
|
sortToggleText: {
|
|
|
|
color: '#9EA2A8',
|
|
|
|
fontSize: 15,
|
|
|
|
fontWeight: 'normal',
|
|
|
|
flex: 1,
|
|
|
|
marginLeft: 15
|
|
|
|
},
|
|
|
|
dropdownContainer: {
|
|
|
|
backgroundColor: '#fff',
|
|
|
|
width: '100%',
|
|
|
|
position: 'absolute',
|
|
|
|
top: 0
|
|
|
|
},
|
|
|
|
sortItemButton: {
|
|
|
|
height: 57,
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
sortItemContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center'
|
|
|
|
},
|
|
|
|
sortItemText: {
|
|
|
|
color: '#54585E',
|
|
|
|
fontSize: 18,
|
|
|
|
fontWeight: 'normal',
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
backdrop: {
|
|
|
|
...StyleSheet.absoluteFill,
|
|
|
|
backgroundColor: '#000000'
|
|
|
|
},
|
|
|
|
sortSeparator: {
|
|
|
|
height: StyleSheet.hairlineWidth,
|
2019-03-27 20:06:57 +00:00
|
|
|
backgroundColor: COLOR_SEPARATOR,
|
2018-08-31 16:46:33 +00:00
|
|
|
marginHorizontal: 15,
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
sortIcon: {
|
2019-03-01 16:49:11 +00:00
|
|
|
width: 22,
|
|
|
|
height: 22,
|
2018-08-31 16:46:33 +00:00
|
|
|
marginHorizontal: 15,
|
2019-03-01 16:49:11 +00:00
|
|
|
// resizeMode: 'contain',
|
|
|
|
// justifyContent: 'center',
|
|
|
|
color: '#9ea2a8'
|
2018-08-31 16:46:33 +00:00
|
|
|
},
|
|
|
|
groupTitleContainer: {
|
|
|
|
paddingHorizontal: 15,
|
|
|
|
paddingTop: 17,
|
|
|
|
paddingBottom: 10,
|
2019-01-29 19:52:56 +00:00
|
|
|
backgroundColor: isIOS ? '#fff' : '#E1E5E8'
|
2018-08-31 16:46:33 +00:00
|
|
|
},
|
|
|
|
groupTitle: {
|
2019-01-29 19:52:56 +00:00
|
|
|
color: isIOS ? '#2F343D' : '#54585E',
|
|
|
|
fontSize: isIOS ? 22 : 15,
|
2018-08-31 16:46:33 +00:00
|
|
|
fontWeight: 'bold',
|
|
|
|
letterSpacing: 0.27,
|
|
|
|
flex: 1,
|
2019-01-29 19:52:56 +00:00
|
|
|
lineHeight: isIOS ? 41 : 24
|
2018-08-31 16:46:33 +00:00
|
|
|
},
|
|
|
|
serverHeader: {
|
|
|
|
justifyContent: 'space-between'
|
|
|
|
},
|
|
|
|
serverHeaderText: {
|
|
|
|
color: '#9EA2A8',
|
|
|
|
fontSize: 15,
|
|
|
|
fontWeight: 'normal',
|
|
|
|
marginLeft: 15
|
|
|
|
},
|
|
|
|
serverHeaderAdd: {
|
2019-01-29 19:52:56 +00:00
|
|
|
color: isIOS ? '#1D74F5' : '#FFF',
|
2018-08-31 16:46:33 +00:00
|
|
|
fontSize: 15,
|
|
|
|
fontWeight: 'normal',
|
2018-09-19 14:18:32 +00:00
|
|
|
marginRight: 15,
|
|
|
|
paddingVertical: 10
|
2018-08-31 16:46:33 +00:00
|
|
|
},
|
|
|
|
serverItem: {
|
|
|
|
height: 68
|
|
|
|
},
|
|
|
|
serverItemContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center'
|
|
|
|
},
|
|
|
|
serverIcon: {
|
|
|
|
width: 42,
|
|
|
|
height: 42,
|
|
|
|
marginHorizontal: 15,
|
|
|
|
marginVertical: 13,
|
|
|
|
borderRadius: 4,
|
|
|
|
resizeMode: 'contain'
|
|
|
|
},
|
|
|
|
serverTextContainer: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'column',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
serverName: {
|
|
|
|
fontSize: 18, fontWeight: '600', color: '#0C0D0F'
|
|
|
|
},
|
|
|
|
serverUrl: {
|
|
|
|
fontSize: 15,
|
|
|
|
color: '#9EA2A8'
|
|
|
|
},
|
|
|
|
checkIcon: {
|
|
|
|
marginHorizontal: 15,
|
2019-03-01 16:49:11 +00:00
|
|
|
color: '#1d74f5'
|
2018-08-31 16:46:33 +00:00
|
|
|
},
|
|
|
|
serverSeparator: {
|
|
|
|
height: StyleSheet.hairlineWidth,
|
2019-03-27 20:06:57 +00:00
|
|
|
backgroundColor: COLOR_SEPARATOR,
|
2018-08-31 16:46:33 +00:00
|
|
|
marginLeft: 72
|
2017-12-08 19:13:21 +00:00
|
|
|
}
|
|
|
|
});
|