2018-04-24 19:34:03 +00:00
|
|
|
import { StyleSheet, Platform } from 'react-native';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2019-12-11 23:01:12 +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: {
|
2020-04-07 13:26:19 +00:00
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'column'
|
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-12-11 23:01:12 +00:00
|
|
|
containerSplitView: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row'
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
2019-12-11 23:01:12 +00:00
|
|
|
tabletContent: {
|
|
|
|
maxWidth: MAX_CONTENT_WIDTH
|
2017-11-13 20:50:07 +00:00
|
|
|
},
|
2019-12-11 23:01:12 +00:00
|
|
|
tabletScreenContent: {
|
2020-04-07 13:26:19 +00:00
|
|
|
justifyContent: 'center',
|
2019-12-11 23:01:12 +00:00
|
|
|
alignSelf: 'center',
|
|
|
|
width: MAX_SCREEN_CONTENT_WIDTH
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
2019-12-11 23:01:12 +00:00
|
|
|
modal: {
|
|
|
|
alignSelf: 'center',
|
|
|
|
borderRadius: 10,
|
|
|
|
overflow: 'hidden'
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2020-01-29 20:20:36 +00:00
|
|
|
modalFormSheet: {
|
|
|
|
// Following UIModalPresentationFormSheet size
|
|
|
|
// this not change on different iPad sizes
|
|
|
|
width: 540,
|
|
|
|
height: 620
|
|
|
|
},
|
|
|
|
modalPageSheet: {
|
|
|
|
width: '100%',
|
|
|
|
height: '100%'
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
status: {
|
|
|
|
position: 'absolute',
|
|
|
|
bottom: -3,
|
|
|
|
right: -3,
|
2020-01-29 20:20:36 +00:00
|
|
|
borderWidth: 3
|
2018-03-29 17:55:37 +00:00
|
|
|
},
|
2019-07-29 20:44:39 +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-11 23:01:12 +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-12-11 23:01:12 +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-11 23:01:12 +00:00
|
|
|
marginVertical: 36
|
2019-07-29 20:44:39 +00:00
|
|
|
},
|
|
|
|
notchLandscapeContainer: {
|
|
|
|
marginTop: -34,
|
2019-12-11 23:01:12 +00:00
|
|
|
paddingHorizontal: 30
|
2017-09-01 19:42:50 +00:00
|
|
|
}
|
|
|
|
});
|