Rocket.Chat.ReactNative/app/containers/Passcode/Base/styles.js

78 lines
1.3 KiB
JavaScript
Raw Normal View History

2020-04-23 16:08:50 +00:00
import { StyleSheet } from 'react-native';
2020-04-24 13:15:07 +00:00
const UNIT = 16;
2020-04-23 16:08:50 +00:00
export default StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
2020-04-24 11:56:55 +00:00
alignItems: 'center'
2020-04-23 16:08:50 +00:00
},
viewTitle: {
flexDirection: 'column',
justifyContent: 'flex-end',
alignItems: 'center',
flex: 2
},
row: {
flex: 0,
flexShrink: 1,
alignItems: 'center',
2020-04-24 13:15:07 +00:00
height: UNIT * 5.5
2020-04-23 16:08:50 +00:00
},
colButtonCircle: {
flex: 0,
2020-04-24 13:15:07 +00:00
marginLeft: UNIT / 2,
marginRight: UNIT / 2,
2020-04-23 16:08:50 +00:00
alignItems: 'center',
2020-04-24 13:15:07 +00:00
width: UNIT * 4,
height: UNIT * 4
2020-04-23 16:08:50 +00:00
},
text: {
2020-04-24 13:15:07 +00:00
fontSize: UNIT * 2,
2020-04-23 16:08:50 +00:00
fontWeight: '200'
},
2020-04-24 11:56:55 +00:00
deleteText: {
2020-04-24 13:15:07 +00:00
fontSize: UNIT * 1.2,
2020-04-24 11:56:55 +00:00
fontWeight: '200'
},
2020-04-23 16:08:50 +00:00
buttonCircle: {
alignItems: 'center',
justifyContent: 'center',
2020-04-24 13:15:07 +00:00
width: UNIT * 4,
height: UNIT * 4,
borderRadius: UNIT * 2,
2020-04-23 19:37:00 +00:00
borderWidth: 1
2020-04-23 16:08:50 +00:00
},
textTitle: {
fontSize: 20,
fontWeight: '200',
2020-04-24 13:15:07 +00:00
lineHeight: UNIT * 2.5
2020-04-23 16:08:50 +00:00
},
textSubtitle: {
2020-04-24 13:15:07 +00:00
fontSize: UNIT,
2020-04-23 16:08:50 +00:00
fontWeight: '200',
textAlign: 'center'
},
2020-04-23 16:38:27 +00:00
flexCirclePasscode: {
2020-04-23 16:08:50 +00:00
flex: 2,
justifyContent: 'center',
alignItems: 'center'
},
2020-04-23 16:38:27 +00:00
topViewCirclePasscode: {
2020-04-23 16:08:50 +00:00
flexDirection: 'row',
height: 'auto',
justifyContent: 'center',
alignItems: 'center'
},
viewCircles: {
justifyContent: 'center',
alignItems: 'center'
},
grid: {
justifyContent: 'flex-start',
width: '100%',
flex: 7
}
});