2018-04-24 19:34:03 +00:00
|
|
|
import { StyleSheet, Platform } from 'react-native';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2018-04-24 19:34:03 +00:00
|
|
|
import { COLOR_DANGER, COLOR_BUTTON_PRIMARY, COLOR_TEXT } from '../constants/colors';
|
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
|
|
|
backgroundColor: 'white',
|
|
|
|
flex: 1
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
containerScrollView: {
|
2017-09-21 17:08:00 +00:00
|
|
|
padding: 20
|
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
label: {
|
|
|
|
lineHeight: 40,
|
|
|
|
height: 40,
|
|
|
|
fontSize: 16,
|
|
|
|
marginBottom: 5,
|
|
|
|
color: 'white'
|
|
|
|
},
|
|
|
|
label_white: {
|
|
|
|
lineHeight: 40,
|
|
|
|
height: 40,
|
|
|
|
fontSize: 16,
|
|
|
|
marginBottom: 5,
|
|
|
|
color: '#2f343d'
|
|
|
|
},
|
2017-09-21 17:08:00 +00:00
|
|
|
label_error: {
|
2018-03-29 17:55:37 +00:00
|
|
|
color: COLOR_DANGER,
|
2017-09-21 17:08:00 +00:00
|
|
|
flexGrow: 1,
|
|
|
|
paddingHorizontal: 0,
|
|
|
|
marginBottom: 20
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
buttonContainerLastChild: {
|
|
|
|
marginBottom: 40
|
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
buttonContainer: {
|
|
|
|
paddingVertical: 15,
|
|
|
|
backgroundColor: '#414852',
|
2018-03-29 17:55:37 +00:00
|
|
|
marginBottom: 20,
|
|
|
|
borderRadius: 2
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
|
|
|
buttonContainer_white: {
|
|
|
|
paddingVertical: 15,
|
|
|
|
backgroundColor: '#1d74f5',
|
|
|
|
marginBottom: 20
|
|
|
|
},
|
2017-11-13 20:50:07 +00:00
|
|
|
buttonContainer_inverted: {
|
|
|
|
paddingVertical: 15,
|
|
|
|
marginBottom: 0
|
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
button: {
|
|
|
|
textAlign: 'center',
|
|
|
|
color: 'white',
|
|
|
|
fontWeight: '700'
|
|
|
|
},
|
|
|
|
button_white: {
|
|
|
|
textAlign: 'center',
|
|
|
|
color: 'white',
|
|
|
|
fontWeight: '700'
|
|
|
|
},
|
2017-11-13 20:50:07 +00:00
|
|
|
button_inverted: {
|
|
|
|
textAlign: 'center',
|
|
|
|
color: '#414852',
|
|
|
|
fontWeight: '700',
|
|
|
|
flexGrow: 1
|
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
error: {
|
|
|
|
textAlign: 'center',
|
2018-03-29 17:55:37 +00:00
|
|
|
color: COLOR_DANGER,
|
2017-09-01 19:42:50 +00:00
|
|
|
paddingTop: 5
|
|
|
|
},
|
|
|
|
loading: {
|
|
|
|
flex: 1,
|
|
|
|
position: 'absolute',
|
|
|
|
backgroundColor: 'rgba(255,255,255,.2)',
|
|
|
|
left: 0,
|
|
|
|
top: 0
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
|
|
|
switchContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'flex-start',
|
|
|
|
alignItems: 'center',
|
2018-05-24 20:17:45 +00:00
|
|
|
paddingHorizontal: 0,
|
|
|
|
paddingBottom: 5
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
|
|
|
switchLabel: {
|
2018-05-24 20:17:45 +00:00
|
|
|
fontSize: 16,
|
|
|
|
color: '#2f343d',
|
2017-09-21 17:08:00 +00:00
|
|
|
paddingHorizontal: 10
|
|
|
|
},
|
2018-05-24 20:17:45 +00:00
|
|
|
switchDescription: {
|
|
|
|
fontSize: 16,
|
|
|
|
color: '#9ea2a8'
|
|
|
|
},
|
2017-09-21 17:08:00 +00:00
|
|
|
disabledButton: {
|
|
|
|
backgroundColor: '#e1e5e8'
|
|
|
|
},
|
|
|
|
enabledButton: {
|
|
|
|
backgroundColor: '#1d74f5'
|
2017-11-13 20:50:07 +00:00
|
|
|
},
|
|
|
|
link: {
|
2018-04-24 19:34:03 +00:00
|
|
|
fontWeight: 'bold',
|
|
|
|
color: COLOR_BUTTON_PRIMARY
|
2017-11-13 20:50:07 +00:00
|
|
|
},
|
|
|
|
loginTermsText: {
|
2018-04-24 19:34:03 +00:00
|
|
|
marginBottom: 20,
|
2017-11-13 20:50:07 +00:00
|
|
|
color: '#414852',
|
2018-04-24 19:34:03 +00:00
|
|
|
fontSize: 13,
|
|
|
|
fontWeight: '700'
|
2017-12-20 19:20:06 +00:00
|
|
|
},
|
2018-02-23 20:29:06 +00:00
|
|
|
loginOAuthButtons: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
flexWrap: 'wrap',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
2017-12-20 19:20:06 +00:00
|
|
|
validText: {
|
|
|
|
color: 'green'
|
|
|
|
},
|
|
|
|
invalidText: {
|
2018-03-29 17:55:37 +00:00
|
|
|
color: COLOR_DANGER
|
2017-12-20 19:20:06 +00:00
|
|
|
},
|
|
|
|
validatingText: {
|
|
|
|
color: '#aaa'
|
2018-02-23 20:29:06 +00:00
|
|
|
},
|
|
|
|
oauthButton: {
|
|
|
|
width: 50,
|
|
|
|
height: 50,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
margin: 4,
|
2018-03-29 17:55:37 +00:00
|
|
|
borderRadius: 2
|
2018-02-23 20:29:06 +00:00
|
|
|
},
|
|
|
|
facebookButton: {
|
|
|
|
backgroundColor: '#3b5998'
|
|
|
|
},
|
|
|
|
githubButton: {
|
|
|
|
backgroundColor: '#4c4c4c'
|
|
|
|
},
|
|
|
|
gitlabButton: {
|
|
|
|
backgroundColor: '#373d47'
|
|
|
|
},
|
|
|
|
googleButton: {
|
|
|
|
backgroundColor: '#dd4b39'
|
|
|
|
},
|
|
|
|
linkedinButton: {
|
|
|
|
backgroundColor: '#1b86bc'
|
|
|
|
},
|
|
|
|
meteorButton: {
|
|
|
|
backgroundColor: '#de4f4f'
|
|
|
|
},
|
|
|
|
twitterButton: {
|
|
|
|
backgroundColor: '#02acec'
|
|
|
|
},
|
|
|
|
closeOAuth: {
|
|
|
|
position: 'absolute',
|
|
|
|
left: 5,
|
|
|
|
top: Platform.OS === 'ios' ? 20 : 0,
|
|
|
|
backgroundColor: 'transparent'
|
|
|
|
},
|
|
|
|
oAuthModal: {
|
|
|
|
margin: 0
|
2018-03-29 17:55:37 +00:00
|
|
|
},
|
|
|
|
status: {
|
|
|
|
position: 'absolute',
|
|
|
|
bottom: -3,
|
|
|
|
right: -3,
|
|
|
|
borderWidth: 3,
|
|
|
|
borderColor: '#fff',
|
|
|
|
borderRadius: 16,
|
|
|
|
width: 16,
|
|
|
|
height: 16
|
|
|
|
},
|
|
|
|
alignItemsFlexEnd: {
|
|
|
|
alignItems: 'flex-end'
|
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
alignItemsFlexStart: {
|
|
|
|
alignItems: 'flex-start'
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
textAlignRight: {
|
|
|
|
textAlign: 'right'
|
|
|
|
},
|
|
|
|
opacity5: {
|
|
|
|
opacity: 0.5
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
loginText: {
|
|
|
|
fontWeight: '700',
|
|
|
|
color: COLOR_TEXT
|
|
|
|
},
|
|
|
|
loginTitle: {
|
|
|
|
fontSize: 20,
|
|
|
|
marginVertical: 25
|
|
|
|
},
|
|
|
|
loginLogo: {
|
|
|
|
width: 50,
|
|
|
|
height: 50,
|
|
|
|
marginVertical: 25
|
2017-09-01 19:42:50 +00:00
|
|
|
}
|
|
|
|
});
|