2018-04-24 19:34:03 +00:00
|
|
|
import { StyleSheet, Platform } from 'react-native';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2019-11-25 20:01:17 +00:00
|
|
|
import { MAX_SCREEN_CONTENT_WIDTH, MAX_CONTENT_WIDTH } from '../constants/tablet';
|
2018-03-29 17:55:37 +00:00
|
|
|
|
2017-09-01 19:42:50 +00:00
|
|
|
export default StyleSheet.create({
|
2017-09-21 17:08:00 +00:00
|
|
|
container: {
|
2017-11-07 16:28:02 +00:00
|
|
|
flex: 1
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
containerScrollView: {
|
2019-03-29 19:36:07 +00:00
|
|
|
padding: 15,
|
|
|
|
paddingBottom: 30
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2019-11-25 20:01:17 +00:00
|
|
|
containerSplitView: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
tabletContent: {
|
|
|
|
maxWidth: MAX_CONTENT_WIDTH
|
|
|
|
},
|
|
|
|
tabletScreenContent: {
|
|
|
|
alignSelf: 'center',
|
|
|
|
width: MAX_SCREEN_CONTENT_WIDTH
|
|
|
|
},
|
|
|
|
modal: {
|
|
|
|
// Following UIModalPresentationFormSheet size
|
|
|
|
// this not change on different iPad sizes
|
|
|
|
width: 540,
|
|
|
|
height: 620,
|
|
|
|
alignSelf: 'center',
|
|
|
|
borderRadius: 10,
|
|
|
|
overflow: 'hidden'
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
status: {
|
|
|
|
position: 'absolute',
|
|
|
|
bottom: -3,
|
|
|
|
right: -3,
|
|
|
|
borderWidth: 3,
|
2019-03-01 16:49:11 +00:00
|
|
|
borderColor: '#fff'
|
2018-03-29 17:55:37 +00:00
|
|
|
},
|
2019-07-18 17:44:02 +00:00
|
|
|
textAlignCenter: {
|
|
|
|
textAlign: 'center'
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
opacity5: {
|
|
|
|
opacity: 0.5
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
|
|
|
loginTitle: {
|
|
|
|
fontSize: 20,
|
2018-11-14 21:42:03 +00:00
|
|
|
marginVertical: 15,
|
|
|
|
lineHeight: 28
|
|
|
|
},
|
|
|
|
loginSubtitle: {
|
|
|
|
fontSize: 16,
|
|
|
|
lineHeight: 20,
|
|
|
|
marginBottom: 15
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
2018-08-31 18:13:30 +00:00
|
|
|
separator: {
|
2019-12-04 16:39:53 +00:00
|
|
|
height: StyleSheet.hairlineWidth
|
2018-08-31 18:13:30 +00:00
|
|
|
},
|
|
|
|
separatorTop: {
|
|
|
|
borderTopWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
|
|
|
separatorBottom: {
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
|
|
|
separatorVertical: {
|
|
|
|
borderTopWidth: StyleSheet.hairlineWidth,
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth
|
2018-11-14 21:42:03 +00:00
|
|
|
},
|
2019-11-25 20:01:17 +00:00
|
|
|
separatorLeft: {
|
|
|
|
borderLeftWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
2018-11-14 21:42:03 +00:00
|
|
|
textRegular: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '400'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif',
|
|
|
|
fontWeight: 'normal'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textMedium: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '500'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif-medium',
|
|
|
|
fontWeight: 'normal'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textSemibold: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '600'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif',
|
|
|
|
fontWeight: 'bold'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textBold: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '700'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif',
|
|
|
|
fontWeight: 'bold'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
inputLastChild: {
|
|
|
|
marginBottom: 15
|
2019-06-11 14:01:40 +00:00
|
|
|
},
|
|
|
|
listContentContainer: {
|
|
|
|
borderTopWidth: StyleSheet.hairlineWidth,
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
2019-12-04 16:39:53 +00:00
|
|
|
marginVertical: 36
|
2019-07-18 17:44:02 +00:00
|
|
|
},
|
|
|
|
notchLandscapeContainer: {
|
2019-07-29 16:33:28 +00:00
|
|
|
marginTop: -34,
|
2019-12-04 16:39:53 +00:00
|
|
|
paddingHorizontal: 30
|
2017-09-01 19:42:50 +00:00
|
|
|
}
|
|
|
|
});
|