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

95 lines
1.5 KiB
JavaScript
Raw Permalink Normal View History

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
},
scroll: {
flex: 1,
flexDirection: 'column'
},
item: {
paddingVertical: 10,
paddingHorizontal: 20,
justifyContent: 'center'
},
avatarContainer: {
minHeight: 240,
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
marginBottom: 20
},
avatarContainerDirectRoom: {
paddingVertical: 16,
minHeight: 320
},
avatar: {
marginHorizontal: 10
},
roomTitleContainer: {
2018-05-23 13:39:18 +00:00
paddingTop: 20,
marginHorizontal: 16,
alignItems: 'center'
},
roomTitle: {
fontSize: 20,
...sharedStyles.textAlignCenter,
2019-03-29 19:36:07 +00:00
...sharedStyles.textMedium
},
roomUsername: {
fontSize: 18,
...sharedStyles.textAlignCenter,
...sharedStyles.textRegular
},
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.textMedium
},
itemContent: {
2019-03-29 19:36:07 +00:00
fontSize: 14,
...sharedStyles.textRegular
},
itemContent__empty: {
fontStyle: 'italic'
},
rolesContainer: {
flexDirection: 'row',
flexWrap: 'wrap'
},
roleBadge: {
2019-03-29 19:36:07 +00:00
padding: 6,
borderRadius: 2,
2019-03-29 19:36:07 +00:00
marginRight: 6,
marginBottom: 6
},
role: {
fontSize: 14,
...sharedStyles.textRegular
},
roomButtonsContainer: {
flexDirection: 'row',
paddingTop: 30
},
roomButton: {
alignItems: 'center',
paddingHorizontal: 20,
justifyContent: 'space-between'
},
roomButtonText: {
marginTop: 5
}
});