Rocket.Chat.ReactNative/app/containers/UIKit/MultiSelect/styles.ts

99 lines
1.4 KiB
TypeScript
Raw Normal View History

2020-02-11 14:01:35 +00:00
import { StyleSheet } from 'react-native';
import sharedStyles from '../../../views/Styles';
export default StyleSheet.create({
2020-02-11 14:01:35 +00:00
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'flex-end'
},
actionSheetContainer: {
flex: 1
2020-02-11 14:01:35 +00:00
},
content: {
padding: 16
},
animatedContent: {
width: '100%'
},
keyboardView: {
width: '100%'
},
pickerText: {
...sharedStyles.textRegular,
paddingLeft: 6,
2020-02-11 14:01:35 +00:00
fontSize: 16
},
item: {
height: 48,
alignItems: 'center',
flexDirection: 'row',
flex: 1
2020-02-11 14:01:35 +00:00
},
inputBorder: {
borderRadius: 4
},
2020-02-11 14:01:35 +00:00
input: {
minHeight: 48,
paddingHorizontal: 8,
2020-02-11 14:01:35 +00:00
paddingBottom: 0,
borderWidth: 1,
2020-02-11 14:01:35 +00:00
alignItems: 'center',
flexDirection: 'row'
},
icon: {
position: 'absolute',
right: 16
},
2020-02-12 17:21:11 +00:00
itemContent: {
paddingHorizontal: 16,
2020-02-12 17:21:11 +00:00
paddingBottom: 36
},
inputStyle: {
paddingHorizontal: 16
},
2020-02-11 14:01:35 +00:00
items: {
2020-02-12 17:21:11 +00:00
height: 226
2020-02-11 14:01:35 +00:00
},
chips: {
paddingTop: 8,
2020-02-11 14:01:35 +00:00
flexDirection: 'row',
flexWrap: 'wrap',
marginRight: 50
2020-02-11 14:01:35 +00:00
},
chip: {
flexDirection: 'row',
borderRadius: 2,
height: 28,
alignItems: 'center',
paddingHorizontal: 4,
marginBottom: 8,
marginRight: 8
},
chipText: {
paddingHorizontal: 8,
flexShrink: 1,
2020-02-11 14:01:35 +00:00
...sharedStyles.textMedium,
fontSize: 14
},
chipImage: {
marginLeft: 4,
borderRadius: 2,
width: 20,
height: 20
},
itemImage: {
marginRight: 8,
borderRadius: 2,
width: 24,
height: 24
},
flex: {
flex: 1
},
flexZ: {
flex: 0
2020-02-11 14:01:35 +00:00
}
});