123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- import { fixAndroidViewClipping } from '../../../base/styles';
- import BaseTheme from '../../../base/ui/components/BaseTheme.native';
-
- export const INSECURE_ROOM_NAME_LABEL_COLOR = BaseTheme.palette.actionDanger;
-
- const TITLE_BAR_BUTTON_SIZE = 24;
-
-
- /**
- * The styles of the safe area view that contains the title bar.
- */
- const titleBarSafeView = {
- left: 0,
- position: 'absolute',
- right: 0,
- top: 0
- };
-
- /**
- * The styles of the feature conference.
- */
- export default {
-
- /**
- * {@code Conference} Style.
- */
- conference: fixAndroidViewClipping({
- alignSelf: 'stretch',
- backgroundColor: BaseTheme.palette.uiBackground,
- flex: 1
- }),
-
- displayNameContainer: {
- margin: 10
- },
-
- /**
- * View that contains the indicators.
- */
- indicatorContainer: {
- flex: 1,
- flexDirection: 'row'
- },
-
- titleBarButtonContainer: {
- borderRadius: 3,
- height: BaseTheme.spacing[7],
- marginTop: BaseTheme.spacing[1],
- marginRight: BaseTheme.spacing[1],
- zIndex: 1,
- width: BaseTheme.spacing[7]
- },
-
- titleBarButton: {
- iconStyle: {
- color: BaseTheme.palette.icon01,
- padding: 12,
- fontSize: TITLE_BAR_BUTTON_SIZE
- },
- underlayColor: 'transparent'
- },
-
- lonelyMeetingContainer: {
- alignSelf: 'stretch',
- alignItems: 'center',
- padding: BaseTheme.spacing[3]
- },
-
- lonelyMessage: {
- color: BaseTheme.palette.text01,
- paddingVertical: BaseTheme.spacing[2]
- },
-
- pipButtonContainer: {
- '&:not(:empty)': {
- borderRadius: 3,
- height: BaseTheme.spacing[7],
- marginTop: BaseTheme.spacing[1],
- marginLeft: BaseTheme.spacing[1],
- zIndex: 1,
- width: BaseTheme.spacing[7]
- }
- },
-
- pipButton: {
- iconStyle: {
- color: BaseTheme.palette.icon01,
- padding: 12,
- fontSize: TITLE_BAR_BUTTON_SIZE
- },
- underlayColor: 'transparent'
- },
-
- titleBarSafeViewColor: {
- ...titleBarSafeView,
- backgroundColor: BaseTheme.palette.uiBackground
- },
-
- titleBarSafeViewTransparent: {
- ...titleBarSafeView
- },
-
- titleBarWrapper: {
- alignItems: 'center',
- flex: 1,
- flexDirection: 'row',
- height: BaseTheme.spacing[8],
- justifyContent: 'center'
- },
-
- alwaysOnTitleBar: {
- paddingRight: 0,
- borderRadius: 6,
- backgroundColor: 'rgba(0, 0, 0, .5)',
- marginLeft: BaseTheme.spacing[2],
- flexDirection: 'row',
- alignSelf: 'flex-start',
- alignItems: 'center',
- justifyContent: 'center',
- marginTop: BaseTheme.spacing[2],
-
- '&:not(:empty)': {
- padding: 4
- }
- },
-
- expandedLabelWrapper: {
- zIndex: 1
- },
-
- roomTimer: {
- ...BaseTheme.typography.bodyShortBold,
- color: BaseTheme.palette.text01,
- textAlign: 'center'
- },
-
- roomTimerView: {
- backgroundColor: BaseTheme.palette.ui03,
- borderRadius: BaseTheme.shape.borderRadius,
- height: 32,
- justifyContent: 'center',
- paddingHorizontal: BaseTheme.spacing[2],
- paddingVertical: BaseTheme.spacing[1],
- minWidth: 50
- },
-
- roomName: {
- color: BaseTheme.palette.text01,
- ...BaseTheme.typography.bodyShortBold,
- paddingVertical: 6
- },
-
- roomNameView: {
- backgroundColor: 'rgba(0,0,0,0.6)',
- borderBottomLeftRadius: 3,
- borderTopLeftRadius: 3,
- flexShrink: 1,
- justifyContent: 'center',
- paddingHorizontal: 10
- },
-
- roomNameWrapper: {
- flexDirection: 'row',
- marginRight: 10,
- marginLeft: 8,
- flexShrink: 1,
- flexGrow: 1
- },
-
- /**
- * The style of the {@link View} which expands over the whole
- * {@link Conference} area and splits it between the {@link Filmstrip} and
- * the {@link Toolbox}.
- */
- toolboxAndFilmstripContainer: {
- bottom: 0,
- flexDirection: 'column',
- justifyContent: 'flex-end',
- left: 0,
- position: 'absolute',
- right: 0,
- top: 0
- },
-
- insecureRoomNameLabel: {
- backgroundColor: INSECURE_ROOM_NAME_LABEL_COLOR,
- borderRadius: BaseTheme.shape.borderRadius,
- height: 32
- },
-
- raisedHandsCountLabel: {
- alignItems: 'center',
- backgroundColor: BaseTheme.palette.warning02,
- borderRadius: BaseTheme.shape.borderRadius,
- flexDirection: 'row',
- marginLeft: BaseTheme.spacing[0],
- marginBottom: BaseTheme.spacing[0]
- },
-
- raisedHandsCountLabelText: {
- color: BaseTheme.palette.uiBackground,
- paddingLeft: BaseTheme.spacing[2]
- }
- };
|