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

79 lines
1.4 KiB
JavaScript
Raw Normal View History

import { StyleSheet } from 'react-native';
2019-03-29 19:36:07 +00:00
import sharedStyles from '../Styles';
import { COLOR_BACKGROUND_CONTAINER, COLOR_WHITE } from '../../constants/colors';
export default StyleSheet.create({
container: {
flex: 1,
2019-03-29 19:36:07 +00:00
backgroundColor: COLOR_WHITE
},
scroll: {
flex: 1,
flexDirection: 'column',
2019-03-29 19:36:07 +00:00
backgroundColor: COLOR_WHITE,
padding: 10
},
item: {
padding: 10,
justifyContent: 'center'
},
avatarContainer: {
height: 250,
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center'
},
avatar: {
marginHorizontal: 10
},
roomTitleContainer: {
2018-05-23 13:39:18 +00:00
paddingTop: 20,
flexDirection: 'row'
},
roomTitle: {
2019-03-29 19:36:07 +00:00
fontSize: 18,
...sharedStyles.textColorNormal,
...sharedStyles.textMedium
},
roomTitleRow: {
flexDirection: 'row',
alignItems: 'center'
},
status: {
borderWidth: 4,
bottom: -4,
right: -4
},
itemLabel: {
2019-03-29 19:36:07 +00:00
marginBottom: 10,
fontSize: 14,
...sharedStyles.textColorNormal,
...sharedStyles.textMedium
},
itemContent: {
2019-03-29 19:36:07 +00:00
fontSize: 14,
...sharedStyles.textColorDescription,
...sharedStyles.textRegular
},
itemContent__empty: {
fontStyle: 'italic'
},
rolesContainer: {
flexDirection: 'row',
flexWrap: 'wrap'
},
roleBadge: {
2019-03-29 19:36:07 +00:00
padding: 6,
backgroundColor: COLOR_BACKGROUND_CONTAINER,
borderRadius: 2,
2019-03-29 19:36:07 +00:00
marginRight: 6,
marginBottom: 6
},
role: {
fontSize: 14,
...sharedStyles.textColorNormal,
...sharedStyles.textRegular
}
});