verdnatura-chat/app/views/RoomsListView/styles.js

131 lines
2.2 KiB
JavaScript
Raw Permalink Normal View History

2019-01-29 19:52:56 +00:00
import { StyleSheet } from 'react-native';
2019-03-29 19:36:07 +00:00
import sharedStyles from '../Styles';
export default StyleSheet.create({
container: {
2019-12-04 16:39:53 +00:00
flex: 1
},
list: {
2019-12-04 16:39:53 +00:00
width: '100%'
},
dropdownContainerHeader: {
height: 41,
borderBottomWidth: StyleSheet.hairlineWidth,
alignItems: 'center',
flexDirection: 'row'
},
sortToggleContainerClose: {
position: 'absolute',
top: 0,
width: '100%'
},
sortToggleText: {
2019-12-04 16:39:53 +00:00
fontSize: 16,
flex: 1,
2019-03-29 19:36:07 +00:00
marginLeft: 15,
...sharedStyles.textRegular
},
dropdownContainer: {
width: '100%',
position: 'absolute',
2019-12-04 16:39:53 +00:00
top: 0,
borderBottomWidth: StyleSheet.hairlineWidth
},
sortItemButton: {
height: 57,
justifyContent: 'center'
},
sortItemContainer: {
flexDirection: 'row',
alignItems: 'center'
},
sortItemText: {
fontSize: 18,
2019-03-29 19:36:07 +00:00
flex: 1,
...sharedStyles.textRegular
},
backdrop: {
2019-12-04 16:39:53 +00:00
...StyleSheet.absoluteFill
},
sortSeparator: {
height: StyleSheet.hairlineWidth,
marginHorizontal: 15,
flex: 1
},
sortIcon: {
width: 22,
height: 22,
2019-12-04 16:39:53 +00:00
marginHorizontal: 15
},
groupTitleContainer: {
paddingHorizontal: 15,
paddingTop: 17,
2019-12-04 16:39:53 +00:00
paddingBottom: 10
},
groupTitle: {
2019-12-04 16:39:53 +00:00
fontSize: 16,
letterSpacing: 0.27,
flex: 1,
2019-12-04 16:39:53 +00:00
lineHeight: 24,
2019-03-29 19:36:07 +00:00
...sharedStyles.textBold
},
serverHeader: {
justifyContent: 'space-between'
},
serverHeaderText: {
2019-12-04 16:39:53 +00:00
fontSize: 16,
2019-03-29 19:36:07 +00:00
marginLeft: 15,
...sharedStyles.textRegular
},
serverHeaderAdd: {
2019-12-04 16:39:53 +00:00
fontSize: 16,
marginRight: 15,
2019-03-29 19:36:07 +00:00
paddingVertical: 10,
...sharedStyles.textRegular
},
serverItem: {
height: 68
},
serverItemContainer: {
flexDirection: 'row',
2019-12-04 16:39:53 +00:00
alignItems: 'center',
height: 68
},
serverIcon: {
width: 42,
height: 42,
marginHorizontal: 15,
marginVertical: 13,
borderRadius: 4,
resizeMode: 'contain'
},
serverTextContainer: {
flex: 1,
flexDirection: 'column',
justifyContent: 'center'
},
serverName: {
2019-03-29 19:36:07 +00:00
fontSize: 18,
...sharedStyles.textSemibold
},
serverUrl: {
2019-12-04 16:39:53 +00:00
fontSize: 16,
2019-03-29 19:36:07 +00:00
...sharedStyles.textRegular
},
serverSeparator: {
height: StyleSheet.hairlineWidth,
marginLeft: 72
},
directoryIcon: {
width: 22,
height: 22,
2019-12-04 16:39:53 +00:00
marginHorizontal: 15
},
directoryText: {
2019-12-04 16:39:53 +00:00
fontSize: 16,
flex: 1,
...sharedStyles.textRegular
}
});