jiti-meet/react/features/invite/components/add-people-dialog/native/styles.js

154 lines
3.0 KiB
JavaScript
Raw Normal View History

2019-02-26 10:41:57 +00:00
// @flow
2020-04-06 15:26:20 +00:00
import { BoxModel } from '../../../../base/styles';
import BaseTheme from '../../../../base/ui/components/BaseTheme.native';
2019-02-26 10:41:57 +00:00
export const AVATAR_SIZE = 40;
export const DARK_GREY = 'rgb(28, 32, 37)';
export const LIGHT_GREY = 'rgb(209, 219, 232)';
export const ICON_SIZE = 15;
export default {
addPeopleContainer: {
flex: 1
},
2019-02-26 10:41:57 +00:00
avatar: {
backgroundColor: LIGHT_GREY
},
avatarText: {
2019-08-28 10:25:51 +00:00
color: DARK_GREY,
2019-02-26 10:41:57 +00:00
fontSize: 12
},
bottomBar: {
alignItems: 'center',
justifyContent: 'center',
backgroundColor: BaseTheme.palette.screen01Header,
height: BaseTheme.spacing[10]
},
clearButton: {
alignItems: 'center',
justifyContent: 'center',
marginLeft: 5
},
clearIcon: {
color: DARK_GREY,
fontSize: 18,
textAlign: 'center'
},
clearIconContainer: {
alignItems: 'center',
backgroundColor: BaseTheme.palette.section01,
borderRadius: 12,
justifyContent: 'center',
height: 24,
width: 24
},
/**
* A special padding to avoid issues on some devices (such as Android devices with custom suggestions bar).
*/
extraBarPadding: {
paddingBottom: 30
},
headerCloseIcon: {
marginLeft: 12
},
headerSendInvite: {
color: BaseTheme.palette.text01,
marginRight: 12
},
2019-08-28 10:25:51 +00:00
invitedList: {
padding: 3
2019-02-26 10:41:57 +00:00
},
itemLinesStyle: {
color: 'rgb(118, 136, 152)',
fontSize: 13
},
itemText: {
color: DARK_GREY,
fontSize: 14,
fontWeight: 'normal'
},
itemWrapper: {
alignItems: 'center',
flexDirection: 'row',
paddingLeft: 5
},
resultList: {
2019-08-28 10:25:51 +00:00
flex: 1,
2019-02-26 10:41:57 +00:00
padding: 5
},
searchField: {
backgroundColor: BaseTheme.palette.section01,
2019-02-26 10:41:57 +00:00
borderBottomRightRadius: 10,
borderTopRightRadius: 10,
color: DARK_GREY,
2019-02-26 10:41:57 +00:00
flex: 1,
fontSize: 17,
paddingVertical: 7
},
2019-08-28 10:25:51 +00:00
selectedIcon: {
color: DARK_GREY,
fontSize: 20,
marginRight: BoxModel.margin,
padding: 2
},
2019-02-26 10:41:57 +00:00
separator: {
borderBottomColor: LIGHT_GREY,
borderBottomWidth: 1,
marginLeft: 85
},
searchFieldWrapper: {
alignItems: 'stretch',
flexDirection: 'row',
height: 52,
paddingHorizontal: 12,
2019-02-26 10:41:57 +00:00
paddingVertical: 8
},
searchIcon: {
color: DARK_GREY,
fontSize: ICON_SIZE
},
searchIconWrapper: {
alignItems: 'center',
backgroundColor: BaseTheme.palette.section01,
2019-02-26 10:41:57 +00:00
borderBottomLeftRadius: 10,
borderTopLeftRadius: 10,
flexDirection: 'row',
justifyContent: 'center',
width: ICON_SIZE + 16
2019-08-28 10:25:51 +00:00
},
shareIcon: {
fontSize: 42
},
2019-08-28 10:25:51 +00:00
unselectIcon: {
color: LIGHT_GREY,
fontSize: 16,
left: AVATAR_SIZE / -3,
position: 'relative',
top: AVATAR_SIZE / -3
2019-02-26 10:41:57 +00:00
}
};