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

91 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<any>({
2020-02-11 14:01:35 +00:00
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'flex-end'
},
modal: {
height: 300,
width: '100%',
borderTopRightRadius: 16,
borderTopLeftRadius: 16,
overflow: 'hidden'
},
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,
maxWidth: '85%',
2020-02-11 14:01:35 +00:00
alignItems: 'center',
flexDirection: 'row'
},
input: {
minHeight: 48,
paddingHorizontal: 8,
2020-02-11 14:01:35 +00:00
paddingBottom: 0,
borderWidth: StyleSheet.hairlineWidth,
borderRadius: 2,
alignItems: 'center',
flexDirection: 'row'
},
icon: {
position: 'absolute',
right: 16
},
2020-02-12 17:21:11 +00:00
itemContent: {
paddingBottom: 36
},
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
2020-02-11 14:01:35 +00:00
}
});