Rocket.Chat.ReactNative/app/views/RoomsListView/styles.js

131 lines
2.2 KiB
JavaScript

import { StyleSheet } from 'react-native';
import sharedStyles from '../Styles';
export default StyleSheet.create({
container: {
flex: 1
},
list: {
width: '100%'
},
dropdownContainerHeader: {
height: 41,
borderBottomWidth: StyleSheet.hairlineWidth,
alignItems: 'center',
flexDirection: 'row'
},
sortToggleContainerClose: {
position: 'absolute',
top: 0,
width: '100%'
},
sortToggleText: {
fontSize: 16,
flex: 1,
marginLeft: 15,
...sharedStyles.textRegular
},
dropdownContainer: {
width: '100%',
position: 'absolute',
top: 0,
borderBottomWidth: StyleSheet.hairlineWidth
},
sortItemButton: {
height: 57,
justifyContent: 'center'
},
sortItemContainer: {
flexDirection: 'row',
alignItems: 'center'
},
sortItemText: {
fontSize: 18,
flex: 1,
...sharedStyles.textRegular
},
backdrop: {
...StyleSheet.absoluteFill
},
sortSeparator: {
height: StyleSheet.hairlineWidth,
marginHorizontal: 15,
flex: 1
},
sortIcon: {
width: 22,
height: 22,
marginHorizontal: 15
},
groupTitleContainer: {
paddingHorizontal: 15,
paddingTop: 17,
paddingBottom: 10
},
groupTitle: {
fontSize: 16,
letterSpacing: 0.27,
flex: 1,
lineHeight: 24,
...sharedStyles.textBold
},
serverHeader: {
justifyContent: 'space-between'
},
serverHeaderText: {
fontSize: 16,
marginLeft: 15,
...sharedStyles.textRegular
},
serverHeaderAdd: {
fontSize: 16,
marginRight: 15,
paddingVertical: 10,
...sharedStyles.textRegular
},
serverItem: {
height: 68
},
serverItemContainer: {
flexDirection: 'row',
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: {
fontSize: 18,
...sharedStyles.textSemibold
},
serverUrl: {
fontSize: 16,
...sharedStyles.textRegular
},
serverSeparator: {
height: StyleSheet.hairlineWidth,
marginLeft: 72
},
directoryIcon: {
width: 22,
height: 22,
marginHorizontal: 15
},
directoryText: {
fontSize: 16,
flex: 1,
...sharedStyles.textRegular
}
});