2016-10-05 14:36:59 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
2018-01-19 22:05:59 +00:00
|
|
|
|
2018-01-11 13:13:20 +00:00
|
|
|
import { ColorPalette } from '../../../styles';
|
2016-10-05 14:36:59 +00:00
|
|
|
|
|
|
|
/**
|
2017-06-10 22:50:42 +00:00
|
|
|
* The styles of the feature base/media.
|
2016-10-05 14:36:59 +00:00
|
|
|
*/
|
2017-06-10 22:50:42 +00:00
|
|
|
export default StyleSheet.create({
|
2018-01-11 13:13:20 +00:00
|
|
|
/**
|
|
|
|
* Make {@code Video} fill its container.
|
|
|
|
*/
|
|
|
|
video: {
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Black cover for the video, which will be animated by reducing its opacity
|
|
|
|
* and create a fade-in effect.
|
|
|
|
*/
|
|
|
|
videoCover: {
|
|
|
|
backgroundColor: ColorPalette.black,
|
2018-02-02 14:50:16 +00:00
|
|
|
bottom: 0,
|
2018-01-11 13:13:20 +00:00
|
|
|
left: 0,
|
|
|
|
position: 'absolute',
|
2018-02-02 14:50:16 +00:00
|
|
|
right: 0,
|
|
|
|
top: 0
|
2018-01-11 13:13:20 +00:00
|
|
|
}
|
2016-10-05 14:36:59 +00:00
|
|
|
});
|