styles.js 1.37 KB
import { StyleSheet } from 'react-native'
import { Colors } from 'react-native/Libraries/NewAppScreen'
import { setUnit } from '../../libs/utils'

export const styles = StyleSheet.create({
    body: {
        flex: 1,
        backgroundColor: 'rgba(0,0,0,.08)',
        paddingLeft: setUnit(75),
        paddingRight: setUnit(75),
        paddingTop: setUnit(20)
    },
    passwdBox: {
        width: setUnit(600),
        marginTop: setUnit(20),
        height: setUnit(100),
        backgroundColor: Colors.white,
        position: 'relative',
        borderColor: 'rgba(0,0,0,.4)',
        borderWidth: 3,
        marginBottom: setUnit(100)
    },
    passwdItem: {
        height: setUnit(90),
        width: setUnit(97),
        backgroundColor: Colors.white,
        position: 'absolute',
        top: 0,
        borderRightWidth: 3,
        borderRightColor: 'rgba(0,0,0,.4)',
        zIndex: 1,
        justifyContent: 'center',
        alignItems: 'center'
    },
    itemIcon: {
       width: setUnit(20),
       height: setUnit(20),
       backgroundColor: '#000000',
       borderRadius: 20
    },
    passwd: {
        height: setUnit(100),
        width: setUnit(100),
        borderLeftColor: 'rgba(0,0,0,0)',
        borderLeftWidth: 3,
        borderBottomColor: 'rgba(0,0,0,.4)',
        borderBottomWidth: 3,
        opacity: 0,
        color: 'rgba(0,0,0,0)',
        zIndex: 2
    }
})