feat: create add machine page

This commit is contained in:
Taranto 2020-03-15 21:51:19 +00:00 committed by Josh Harvey
parent b1b8b82260
commit 2b71c08444
7 changed files with 350 additions and 5 deletions

View file

@ -0,0 +1,99 @@
import {
placeholderColor,
backgroundColor,
primaryColor,
mainWidth
} from 'src/styling/variables'
import typographyStyles from 'src/components/typography/styles'
const { tl2, p } = typographyStyles
const fill = '100%'
const flexDirection = 'column'
const styles = {
dialog: {
backgroundColor,
width: fill,
minHeight: fill,
display: 'flex',
flexDirection,
padding: 0
},
wrapper: {
width: mainWidth,
height: fill,
margin: '0 auto',
flex: 1,
display: 'flex',
flexDirection
},
contentDiv: {
display: 'flex',
flex: 1,
flexDirection: 'row'
},
headerDiv: {
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center'
},
contentWrapper: {
marginLeft: 48
},
button: {
marginTop: 64
},
nameTitle: {
marginTop: 16,
marginBottom: 25
},
qrTitle: {
marginTop: 12,
marginBottom: 40
},
qrCodeWrapper: {
display: 'flex'
},
qrTextWrapper: {
width: 381,
marginLeft: 80,
display: 'flex'
},
qrTextIcon: {
marginRight: 16
},
qrText: {
marginTop: 0
},
item: {
position: 'relative',
margin: '12px 0 12px 0',
display: 'flex'
},
itemText: {
extend: p,
color: placeholderColor,
marginRight: 24
},
itemTextActive: {
extend: tl2,
color: primaryColor
},
itemTextPast: {
color: primaryColor
},
stepperPath: {
position: 'absolute',
height: 25,
width: 1,
border: [[1, 'solid', placeholderColor]],
right: 7,
top: 15
},
stepperPast: {
border: [[1, 'solid', primaryColor]]
}
}
export default styles