123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- import BaseTheme from '../../../base/ui/components/BaseTheme.native';
-
- /**
- * The style for content.
- */
- const flexContent = {
- alignItems: 'center',
- color: BaseTheme.palette.icon01,
- display: 'flex',
- flex: 1
- };
-
- /**
- * The style of the participants pane buttons.
- */
- const container = {
- alignItems: 'center',
- display: 'flex',
- flexDirection: 'row',
- height: 64,
- justifyContent: 'center',
- paddingRight: 8,
- width: '100%'
- };
-
- /**
- * The style of the participants pane buttons.
- */
- const button = {
- alignItems: 'center',
- backgroundColor: BaseTheme.palette.action02,
- borderRadius: BaseTheme.shape.borderRadius,
- display: 'flex',
- height: 48,
- marginLeft: 'auto'
- };
-
- /**
- * Small buttons.
- */
- const smallButton = {
- ...button,
- width: 48
- };
-
- /**
- * The style of the participants pane buttons description.
- */
- const buttonContent = {
- ...BaseTheme.typography.labelButtonLarge,
- ...flexContent,
- justifyContent: 'center'
- };
-
- /**
- * The styles of the native components of the feature {@code participants}.
- */
- export default {
-
- participantActionButton: {
- backgroundColor: BaseTheme.palette.action01,
- borderRadius: BaseTheme.shape.borderRadius,
- height: 40,
- paddingTop: 8,
- paddingBottom: 8,
- paddingLeft: 16,
- paddingRight: 16,
- width: 73
- },
-
- participantContainer: {
- alignItems: 'center',
- color: BaseTheme.palette.text01,
- display: 'flex',
- fontSize: 13,
- height: 64,
- margin: BaseTheme.spacing[4],
- position: 'relative',
- width: 375
- },
-
- participantContent: {
- ...flexContent,
- boxShadow: BaseTheme.shape.boxShadow,
- height: '100%',
- overflow: 'hidden',
- paddingRight: BaseTheme.spacing[4]
- },
-
- participantNameContainer: {
- display: 'flex',
- flex: 1,
- marginRight: BaseTheme.spacing[3],
- overflow: 'hidden'
- },
-
- participantName: {
- overflow: 'hidden',
- textOverflow: 'ellipsis',
- whiteSpace: 'nowrap'
- },
-
- participantsPane: {
- backgroundColor: BaseTheme.palette.ui01
- },
-
- participantStates: {
- display: 'flex',
- justifyContent: 'flex-end'
- },
-
- raisedHandIndicator: {
- backgroundColor: BaseTheme.palette.warning02,
- borderRadius: BaseTheme.shape.borderRadius / 2,
- height: 24,
- width: 24
- },
-
- lobbyListContainer: {
- ...container
- },
-
- header: {
- ...container,
- backgroundColor: 'red'
- },
-
- footer: {
- ...container,
- backgroundColor: 'green',
- marginTop: 'auto'
- },
-
- closeButton: {
- ...smallButton
- },
-
- closeIcon: {
- ...buttonContent
- },
-
- moreButton: {
- ...smallButton
- },
-
- moreIcon: {
- ...buttonContent
- },
-
- muteAllButton: {
- ...button,
- paddingBottom: 12,
- paddingLeft: 16,
- paddingRight: 16,
- paddingTop: 12,
- width: 94
- },
-
- muteAllContent: {
- ...buttonContent
- }
- };
|