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

99 lines
1.5 KiB
JavaScript
Raw Normal View History

2019-07-18 17:44:02 +00:00
import { StyleSheet } from 'react-native';
import sharedStyles from '../Styles';
export default StyleSheet.create({
container: {
2019-12-04 16:39:53 +00:00
flex: 1
2019-07-18 17:44:02 +00:00
},
centered: {
justifyContent: 'center',
alignItems: 'center'
},
title: {
fontSize: 18,
...sharedStyles.textBold,
...sharedStyles.textAlignCenter
},
text: {
paddingHorizontal: 16,
paddingVertical: 8,
...sharedStyles.textRegular
},
to: {
...sharedStyles.textRegular
},
toContent: {
2019-12-04 16:39:53 +00:00
width: '100%'
2019-07-18 17:44:02 +00:00
},
toContentText: {
width: '100%',
...sharedStyles.textRegular
},
name: {
2019-12-04 16:39:53 +00:00
...sharedStyles.textRegular
2019-07-18 17:44:02 +00:00
},
content: {
2019-12-04 16:39:53 +00:00
flex: 1
2019-07-18 17:44:02 +00:00
},
mediaContainer: {
2019-12-04 16:39:53 +00:00
flex: 1
2019-07-18 17:44:02 +00:00
},
mediaContent: {
flexDirection: 'row',
padding: 16,
2019-12-04 16:39:53 +00:00
alignItems: 'center',
...sharedStyles.separatorTop
2019-07-18 17:44:02 +00:00
},
mediaImage: {
height: 64,
width: 64
},
mediaIcon: {
2019-12-04 16:39:53 +00:00
fontSize: 64
2019-07-18 17:44:02 +00:00
},
mediaIconContainer: {
alignItems: 'center',
justifyContent: 'center'
},
mediaInfo: {
marginLeft: 16,
flex: 1
},
mediaText: {
fontSize: 16,
...sharedStyles.textRegular
},
mediaInputContent: {
2019-12-04 16:39:53 +00:00
width: '100%'
2019-07-18 17:44:02 +00:00
},
input: {
fontSize: 16,
2019-12-04 16:39:53 +00:00
...sharedStyles.textRegular
},
inputContainer: {
marginBottom: 0
},
firstInput: {
borderBottomWidth: 0
2019-07-18 17:44:02 +00:00
},
textInput: {
2019-12-04 16:39:53 +00:00
height: '100%'
2019-07-18 17:44:02 +00:00
},
mediaNameInput: {
2019-12-04 16:39:53 +00:00
paddingLeft: 16,
2019-07-18 17:44:02 +00:00
paddingRight: 16,
2019-12-04 16:39:53 +00:00
paddingVertical: 8
2019-07-18 17:44:02 +00:00
},
mediaDescriptionInput: {
2019-12-04 16:39:53 +00:00
paddingLeft: 16,
2019-07-18 17:44:02 +00:00
paddingRight: 16,
2019-12-04 16:39:53 +00:00
paddingVertical: 8,
2019-07-18 17:44:02 +00:00
height: 100
},
send: {
...sharedStyles.textSemibold,
fontSize: 16
}
});