123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354 |
- import BaseTheme from '../../../base/ui/components/BaseTheme.native';
-
- /**
- * The style for participant list description.
- */
- const participantListDescription = {
- ...BaseTheme.typography.heading6,
- color: BaseTheme.palette.text02,
- paddingBottom: BaseTheme.spacing[3],
- paddingTop: BaseTheme.spacing[3],
- position: 'relative',
- width: '55%'
- };
-
- /**
- * The style for content.
- */
- const flexContent = {
- alignItems: 'center',
- color: BaseTheme.palette.icon01,
- display: 'flex',
- flex: 1
- };
-
- /**
- * The style for the context menu items text.
- */
- const contextMenuItemText = {
- ...BaseTheme.typography.bodyShortRegularLarge,
- color: BaseTheme.palette.text01
- };
-
- /**
- * The style of the participants pane buttons.
- */
- export const button = {
- backgroundColor: BaseTheme.palette.action02,
- borderRadius: BaseTheme.shape.borderRadius,
- display: 'flex',
- minWidth: 0
- };
-
- /**
- * Small buttons.
- */
- const smallButton = {
- ...button,
- height: BaseTheme.spacing[7],
- width: BaseTheme.spacing[7]
- };
-
- /**
- * Mute all button.
- */
- const muteAllButton = {
- ...button,
- marginLeft: 'auto'
- };
-
- /**
- * The style of the participants pane buttons description.
- */
- const buttonContent = {
- ...BaseTheme.typography.labelButton,
- alignSelf: 'center',
- color: BaseTheme.palette.text01,
- justifyContent: 'center'
- };
-
- /**
- * The style of the context menu pane items.
- */
- const contextMenuItem = {
- flexDirection: 'row',
- paddingBottom: 16,
- paddingTop: 16
- };
-
- /**
- * The styles of the native components of the feature {@code participants}.
- */
- export default {
-
- participantActionsButtonAdmit: {
- backgroundColor: BaseTheme.palette.action01,
- borderRadius: BaseTheme.shape.borderRadius,
- flexDirection: 'row',
- height: BaseTheme.spacing[6],
- marginRight: BaseTheme.spacing[3],
- position: 'absolute',
- right: 0,
- zIndex: 1
- },
-
- participantActionsButtonContent: {
- alignItems: 'center',
- display: 'flex',
- height: BaseTheme.spacing[5],
- top: BaseTheme.spacing[1]
- },
-
- participantActionsButtonText: {
- color: BaseTheme.palette.text01,
- textTransform: 'capitalize'
- },
-
- admitAllParticipantsActionButtonLabel: {
- ...BaseTheme.typography.heading6,
- color: BaseTheme.palette.link01,
- textTransform: 'capitalize'
- },
-
- admitAllParticipantsActionButton: {
- marginLeft: 'auto'
- },
-
- participantContainer: {
- alignItems: 'center',
- borderBottomColor: BaseTheme.palette.field01Hover,
- borderBottomWidth: 2,
- display: 'flex',
- flexDirection: 'row',
- height: BaseTheme.spacing[9],
- paddingLeft: BaseTheme.spacing[3],
- paddingRight: BaseTheme.spacing[3],
- width: '100%'
- },
-
- participantContent: {
- alignItems: 'center',
- display: 'flex',
- flexDirection: 'row',
- height: '100%',
- overflow: 'hidden',
- width: '100%'
- },
-
- participantNameContainer: {
- display: 'flex',
- flexDirection: 'row',
- overflow: 'hidden',
- paddingLeft: BaseTheme.spacing[2],
- width: '63%'
- },
-
- participantName: {
- overflow: 'hidden',
- color: BaseTheme.palette.text01
- },
-
- isLocal: {
- alignSelf: 'center',
- color: BaseTheme.palette.text01,
- marginLeft: 4
- },
-
- participantsPane: {
- backgroundColor: BaseTheme.palette.ui01
- },
-
- participantStatesContainer: {
- display: 'flex',
- flexDirection: 'row',
- marginLeft: 'auto',
- width: '15%'
- },
-
- participantStateVideo: {
- paddingRight: BaseTheme.spacing[3]
- },
-
- raisedHandIndicator: {
- backgroundColor: BaseTheme.palette.warning02,
- borderRadius: BaseTheme.shape.borderRadius / 2,
- height: BaseTheme.spacing[4],
- marginLeft: BaseTheme.spacing[1],
- width: BaseTheme.spacing[4]
- },
-
- raisedHandIcon: {
- ...flexContent,
- top: BaseTheme.spacing[1]
- },
- lobbyList: {
- position: 'relative'
- },
-
- meetingList: {
- position: 'relative',
- marginTop: BaseTheme.spacing[3]
- },
-
- lobbyListDetails: {
- alignItems: 'center',
- display: 'flex',
- flexDirection: 'row',
- justifyContent: 'space-between',
- overflow: 'hidden',
- paddingLeft: BaseTheme.spacing[3],
- position: 'relative',
- width: '100%'
- },
-
- lobbyListDescription: {
- ...participantListDescription
- },
-
- meetingListDescription: {
- ...participantListDescription,
- marginLeft: BaseTheme.spacing[3]
- },
-
- header: {
- alignItems: 'center',
- backgroundColor: BaseTheme.palette.ui01,
- top: BaseTheme.spacing[0],
- display: 'flex',
- flexDirection: 'row',
- height: BaseTheme.spacing[10],
- paddingRight: BaseTheme.spacing[3],
- position: 'relative',
- right: BaseTheme.spacing[0],
- left: BaseTheme.spacing[0]
- },
-
- footer: {
- alignItems: 'center',
- backgroundColor: BaseTheme.palette.ui01,
- bottom: BaseTheme.spacing[0],
- display: 'flex',
- flexDirection: 'row',
- height: BaseTheme.spacing[10],
- justifyContent: 'space-between',
- paddingRight: BaseTheme.spacing[3],
- position: 'relative',
- right: BaseTheme.spacing[0],
- left: BaseTheme.spacing[0]
- },
-
- closeButton: {
- ...smallButton,
- marginLeft: 'auto'
- },
-
- closeIcon: {
- ...buttonContent,
- height: BaseTheme.spacing[5],
- marginLeft: 'auto',
- paddingTop: 12,
- paddingBottom: 12,
- paddingRight: BaseTheme.spacing[3],
- paddingLeft: BaseTheme.spacing[3]
- },
-
- inviteButton: {
- backgroundColor: BaseTheme.palette.action01,
- marginTop: BaseTheme.spacing[2],
- marginLeft: BaseTheme.spacing[3],
- marginRight: BaseTheme.spacing[3]
- },
-
- inviteLabel: {
- ...BaseTheme.typography.labelButtonLarge,
- textTransform: 'capitalize'
- },
-
- moreButton: {
- ...smallButton
- },
-
- moreIcon: {
- ...buttonContent,
- height: BaseTheme.spacing[5],
- marginLeft: 'auto',
- paddingTop: 12,
- paddingBottom: 12,
- paddingRight: BaseTheme.spacing[3],
- paddingLeft: BaseTheme.spacing[3]
- },
-
- contextMenuMore: {
- backgroundColor: BaseTheme.palette.action02,
- borderRadius: BaseTheme.shape.borderRadius
- },
-
- contextMenuMeetingParticipantDetails: {
- backgroundColor: BaseTheme.palette.action02,
- borderRadius: BaseTheme.shape.borderRadius
- },
-
- muteAllButton: {
- ...muteAllButton
- },
-
- muteAllMoreButton: {
- ...muteAllButton,
- right: BaseTheme.spacing[3]
- },
-
- muteAllLabel: {
- ...BaseTheme.typography.labelButtonLarge,
- color: BaseTheme.palette.text01,
- flexDirection: 'column',
- height: BaseTheme.spacing[7],
- marginVertical: BaseTheme.spacing[0],
- marginHorizontal: BaseTheme.spacing[0],
- paddingTop: 12,
- paddingBottom: 12,
- paddingRight: BaseTheme.spacing[3],
- paddingLeft: BaseTheme.spacing[3],
- textTransform: 'capitalize',
- width: 94
- },
-
- contextMenuItem: {
- ...contextMenuItem
- },
-
- contextMenuItemSection: {
- ...contextMenuItem
- },
-
- contextMenuItemSectionAvatar: {
- ...contextMenuItem,
- marginLeft: BaseTheme.spacing[1]
- },
-
- contextMenuItemAvatarText: {
- ...contextMenuItemText,
- marginLeft: BaseTheme.spacing[2]
- },
-
- contextMenuItemText: {
- ...contextMenuItemText,
- marginLeft: BaseTheme.spacing[3]
- },
-
- contextMenuItemIcon: {
- marginLeft: BaseTheme.spacing[1]
- },
-
- contextMenuItemName: {
- ...BaseTheme.typography.bodyShortRegularLarge,
- color: BaseTheme.palette.text01
- },
-
- contextMenuIcon: {
- color: BaseTheme.palette.actionDanger
- },
-
- divider: {
- backgroundColor: BaseTheme.palette.section01
- }
- };
|