2018-09-03 04:00:54 +02:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
import Colors from './colors';
|
|
|
|
|
|
|
|
const storageStatsStyle = StyleSheet.create({
|
|
|
|
container: {
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
row: {
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
card: {
|
|
|
|
backgroundColor: Colors.White,
|
|
|
|
marginTop: 16,
|
|
|
|
marginLeft: 16,
|
|
|
|
marginRight: 16,
|
|
|
|
padding: 16
|
|
|
|
},
|
|
|
|
totalSize: {
|
2018-12-11 21:06:42 +01:00
|
|
|
fontFamily: 'Inter-UI-Regular',
|
2018-09-03 04:00:54 +02:00
|
|
|
fontSize: 36
|
|
|
|
},
|
|
|
|
annotation: {
|
2018-12-11 21:06:42 +01:00
|
|
|
fontFamily: 'Inter-UI-Regular',
|
2018-09-03 04:00:54 +02:00
|
|
|
fontSize: 14,
|
|
|
|
marginTop: -4
|
|
|
|
},
|
|
|
|
statsText: {
|
2018-12-11 21:06:42 +01:00
|
|
|
fontFamily: 'Inter-UI-Regular',
|
2018-09-03 04:00:54 +02:00
|
|
|
fontSize: 14
|
|
|
|
},
|
|
|
|
distributionBar: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
width: '100%',
|
|
|
|
height: 8,
|
|
|
|
marginTop: 16,
|
|
|
|
marginBottom: 16
|
|
|
|
},
|
|
|
|
audioDistribution: {
|
|
|
|
backgroundColor: Colors.StatsAudio
|
|
|
|
},
|
|
|
|
imageDistribution: {
|
|
|
|
backgroundColor: Colors.StatsImage
|
|
|
|
},
|
|
|
|
videoDistribution: {
|
|
|
|
backgroundColor: Colors.LbryGreen
|
|
|
|
},
|
|
|
|
otherDistribution: {
|
|
|
|
backgroundColor: Colors.StatsOther
|
|
|
|
},
|
|
|
|
legendItem: {
|
|
|
|
alignItems: 'center',
|
|
|
|
marginBottom: 8,
|
|
|
|
justifyContent: 'space-between'
|
|
|
|
},
|
|
|
|
legendBox: {
|
|
|
|
width: 16,
|
|
|
|
height: 16,
|
|
|
|
},
|
|
|
|
legendText: {
|
2018-12-11 21:06:42 +01:00
|
|
|
fontFamily: 'Inter-UI-Regular',
|
2018-09-03 04:00:54 +02:00
|
|
|
fontSize: 14,
|
|
|
|
flex: 0.3
|
|
|
|
},
|
|
|
|
legendSize: {
|
2018-12-11 21:06:42 +01:00
|
|
|
fontFamily: 'Inter-UI-Regular',
|
2018-09-03 04:00:54 +02:00
|
|
|
fontSize: 14,
|
|
|
|
flex: 0.6,
|
|
|
|
textAlign: 'right'
|
|
|
|
},
|
|
|
|
statsToggle: {
|
|
|
|
marginLeft: 8,
|
|
|
|
},
|
|
|
|
summary: {
|
|
|
|
flex: 0.5,
|
|
|
|
alignSelf: 'flex-start'
|
|
|
|
},
|
|
|
|
toggleStatsContainer: {
|
|
|
|
flex: 0.5,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'flex-end'
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
export default storageStatsStyle;
|