Repository URL to install this package:
|
Version:
2.1.6 ▾
|
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: 1;
margin-top: rem(16);
}
}
${StyledLabel} {
position: relative;
top: 0;
text-transform: capitalize;
color: var(--color-black);
font-size: rem(16);
font-weight: 400;
display: flex;
margin-bottom: rem(8);
}
.placeholder-label {
position: absolute;
color: var(--color-red);
}
.input-box-wrapper {
flex: 0 0 100%;
user-select: none;
&.register-password-container {
margin-bottom: rem(35);
}
&.confirm-password-container {
margin-top: rem(42);
}
}
input.input-box {
width: 100%;
height: rem(44);
border-radius: rem(4);
}
.label-wrapper {
width: 100%;
color: var(--color-dark-grey);
font-size: rem(14);
font-weight: 400;
padding-bottom: rem(8);
}
.password-rules-label {
font-size: rem(12);
color: var(--color-dark-grey);
}
.input-show-password-icon {
display: flex;
align-items: center;
}
`
const StyledPrimaryButton = styled(PrimaryButton) `
color: var(--color-pure-white);
font-size: rem(18);
font-weight: 500;
text-transform: capitalize;
background: #3a75bd;
border-radius: rem(4);
user-select: none;
`
export { StyledShippingForm, StyledPrimaryButton }