Repository URL to install this package:
|
Version:
2.1.12 ▾
|
import { styled } from 'styleh-components'
import { StyledLabel } from '@skava/ui/dist/inputs/TextBox'
import { PrimaryButton } from 'presets/Buttons'
const StyledShippingForm = styled.section `
width: 100%;
.form-wrapper {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
.button-group {
flex: 0 0 100%;
margin-top: rem(10);
}
}
${StyledLabel} {
position: relative;
top: 0;
text-transform: capitalize;
color: var(--color-black);
font-size: rem(16);
overflow: visible;
}
.placeholder-label {
position: absolute;
color: var(--color-red);
}
.input-box-wrapper {
flex: 0 0 100%;
margin-bottom: rem(8);
user-select: none;
&.left-align {
flex: 0 0 calc(50% - rem(8));
}
&.right-align {
flex: 0 0 calc(50% - rem(8));
}
}
.add-address {
margin: rem(16) 0;
svg {
border-radius: rem(2);
}
}
input.input-box {
width: 100%;
height: rem(44);
font-size: rem(16);
padding: 0 rem(8);
margin-top: rem(8);
color: var(--color-black);
}
`
const StyledPrimaryButton = styled(PrimaryButton) `
color: var(--color-pure-white);
font-size: rem(16);
text-transform: capitalize;
user-select: none;
`
export { StyledShippingForm, StyledPrimaryButton }