Repository URL to install this package:
|
Version:
2.0.2 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const styleh_components_1 = require("styleh-components");
const TextBox_1 = require("../../../../../inputs/TextBox");
const Error_1 = require("../../../../atoms/Error");
const Buttons_1 = require("../../../Buttons");
const StyledShippingForm = styleh_components_1.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);
}
}
${TextBox_1.StyledLabel} {
position: relative;
top: 0;
text-transform: capitalize;
color: #2c2c2c;
font-size: rem(16);
overflow: visible;
}
${Error_1.ErrorComponent} {
margin-top: rem(4);
color: red;
font-size: rem(14);
}
.placeholder-label {
position: absolute;
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: #2c2c2c;
}
`;
exports.StyledShippingForm = StyledShippingForm;
const StyledPrimaryButton = styleh_components_1.styled.withComponent(Buttons_1.PrimaryButton)`
color: #fff;
font-size: rem(16);
text-transform: capitalize;
user-select: none;
`;
exports.StyledPrimaryButton = StyledPrimaryButton; //# sourceMappingURL=styled.js.map