2016-11-29 20:04:56 +00:00
|
|
|
import { ColorPalette, createStyleSheet } from '../../../base/styles';
|
2016-10-05 14:36:59 +00:00
|
|
|
|
|
|
|
import { styles as platformIndependentStyles } from '../styles';
|
|
|
|
|
2016-11-29 20:04:56 +00:00
|
|
|
/**
|
|
|
|
* The base/default style of indicators such as audioMutedIndicator,
|
|
|
|
* moderatorIndicator, and videoMutedIndicator.
|
|
|
|
*/
|
|
|
|
const indicator = {
|
|
|
|
textShadowColor: ColorPalette.black,
|
|
|
|
textShadowOffset: {
|
|
|
|
height: -1,
|
|
|
|
width: 0
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2016-10-05 14:36:59 +00:00
|
|
|
/**
|
2017-04-10 17:59:44 +00:00
|
|
|
* Native-specific styles for the filmstrip.
|
2016-10-05 14:36:59 +00:00
|
|
|
*/
|
|
|
|
export const styles = createStyleSheet(platformIndependentStyles, {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Audio muted indicator style.
|
|
|
|
*/
|
2016-12-21 22:32:11 +00:00
|
|
|
thumbnailIndicator: indicator,
|
|
|
|
|
|
|
|
dominantSpeakerIndicator: {
|
|
|
|
fontSize: 12
|
|
|
|
},
|
2016-10-05 14:36:59 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Dominant speaker indicator background style.
|
|
|
|
*/
|
|
|
|
dominantSpeakerIndicatorBackground: {
|
2016-12-21 22:32:11 +00:00
|
|
|
borderRadius: 16,
|
|
|
|
padding: 4
|
2016-10-05 14:36:59 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Moderator indicator style.
|
|
|
|
*/
|
2016-11-29 20:04:56 +00:00
|
|
|
moderatorIndicator: indicator,
|
2016-10-05 14:36:59 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Video thumbnail style.
|
|
|
|
*/
|
|
|
|
thumbnail: {
|
|
|
|
height: 80,
|
|
|
|
width: 80
|
2016-12-21 22:32:11 +00:00
|
|
|
}
|
2016-10-05 14:36:59 +00:00
|
|
|
});
|