2018-05-23 12:30:22 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
|
2018-06-14 11:14:17 +00:00
|
|
|
import { BoxModel, ColorPalette, createStyleSheet } from '../../base/styles';
|
|
|
|
import { FILMSTRIP_SIZE } from '../../filmstrip';
|
2016-10-05 14:36:59 +00:00
|
|
|
|
2018-02-05 10:57:40 +00:00
|
|
|
/**
|
|
|
|
* Size for the Avatar.
|
|
|
|
*/
|
|
|
|
export const AVATAR_SIZE = 200;
|
2016-10-05 14:36:59 +00:00
|
|
|
|
2018-02-05 10:57:40 +00:00
|
|
|
export default createStyleSheet({
|
2018-06-14 11:14:17 +00:00
|
|
|
/**
|
|
|
|
* View that contains the indicators.
|
|
|
|
*/
|
|
|
|
indicatorContainer: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row',
|
|
|
|
margin: BoxModel.margin,
|
|
|
|
position: 'absolute',
|
|
|
|
right: 0,
|
|
|
|
|
|
|
|
// Both on Android and iOS there is the status bar which may be visible.
|
|
|
|
// On iPhone X there is the notch. In the two cases BoxModel.margin is
|
|
|
|
// not enough.
|
|
|
|
top: BoxModel.margin * 3
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Indicator container for wide aspect ratio.
|
|
|
|
*/
|
|
|
|
indicatorContainerWide: {
|
|
|
|
right: FILMSTRIP_SIZE
|
|
|
|
},
|
|
|
|
|
2016-10-05 14:36:59 +00:00
|
|
|
/**
|
|
|
|
* Large video container style.
|
|
|
|
*/
|
|
|
|
largeVideo: {
|
2018-05-23 12:30:22 +00:00
|
|
|
...StyleSheet.absoluteFillObject,
|
2016-10-05 14:36:59 +00:00
|
|
|
alignItems: 'stretch',
|
|
|
|
backgroundColor: ColorPalette.appBackground,
|
|
|
|
flex: 1,
|
2018-05-23 12:30:22 +00:00
|
|
|
justifyContent: 'center'
|
2016-10-05 14:36:59 +00:00
|
|
|
}
|
|
|
|
});
|