mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-08-15 22:20:34 +00:00
[RN] Add remote video menu
This commit is contained in:
committed by
Zoltan Bettenbuk
parent
d4c0840659
commit
6b68fba220
@@ -130,51 +130,3 @@ export const toolbarToggledButtonStyles = {
|
||||
iconStyle: styles.whiteToolbarButtonIcon,
|
||||
style: styles.whiteToolbarButton
|
||||
};
|
||||
|
||||
// Overflow menu:
|
||||
|
||||
/**
|
||||
* Styles for the {@code OverflowMenu} items.
|
||||
*
|
||||
* These have been implemented as per the Material Design guidelines:
|
||||
* {@link https://material.io/guidelines/components/bottom-sheets.html}.
|
||||
*/
|
||||
const overflowMenuStyles = createStyleSheet({
|
||||
/**
|
||||
* Container style for a {@code ToolboxItem} rendered in the
|
||||
* {@code OverflowMenu}.
|
||||
*/
|
||||
container: {
|
||||
alignItems: 'center',
|
||||
flexDirection: 'row',
|
||||
height: 48
|
||||
},
|
||||
|
||||
/**
|
||||
* Style for the {@code Icon} element in a {@code ToolboxItem} rendered in
|
||||
* the {@code OverflowMenu}.
|
||||
*/
|
||||
icon: {
|
||||
color: ColorPalette.white,
|
||||
fontSize: 24
|
||||
},
|
||||
|
||||
/**
|
||||
* Style for the label in a {@code ToolboxItem} rendered in the
|
||||
* {@code OverflowMenu}.
|
||||
*/
|
||||
label: {
|
||||
color: ColorPalette.white,
|
||||
flexShrink: 1,
|
||||
fontSize: 16,
|
||||
marginLeft: 32,
|
||||
opacity: 0.90
|
||||
}
|
||||
});
|
||||
|
||||
export const overflowMenuItemStyles = {
|
||||
iconStyle: overflowMenuStyles.icon,
|
||||
labelStyle: overflowMenuStyles.label,
|
||||
style: overflowMenuStyles.container,
|
||||
underlayColor: ColorPalette.overflowMenuItemUnderlay
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user