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

133 lines
2.2 KiB
JavaScript
Raw 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,
...sharedStyles.textRegular
},
queueToggleText: {
fontSize: 16,
flex: 1,
2019-03-29 19:36:07 +00:00
...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: 12,
flex: 1
},
sortIcon: {
width: 22,
height: 22,
marginHorizontal: 12
},
queueIcon: {
width: 22,
height: 22,
marginHorizontal: 12
},
groupTitleContainer: {
paddingHorizontal: 12,
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,
marginLeft: 12,
2019-03-29 19:36:07 +00:00
...sharedStyles.textRegular
},
serverHeaderAdd: {
2019-12-04 16:39:53 +00:00
fontSize: 16,
marginRight: 12,
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: 12,
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
},
omnichannelToggle: {
marginRight: 12
}
});