@procraft/widget-order
Version:
Order widget for landing
62 lines (56 loc) • 1.48 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SaleStyled = void 0;
const styled_components_1 = __importDefault(require("styled-components"));
const styles_1 = require("../../../components/Button/styles");
const styles_2 = require("../../../components/OldPrice/styles");
exports.SaleStyled = styled_components_1.default.div `
background-color: ${({ bgColor }) => bgColor !== null && bgColor !== void 0 ? bgColor : '#FFFFFF'};
border: 1px solid #dae7f4;
border-radius: 16px;
width: 100%;
margin-top: 13px;
padding: 15px;
display: flex;
> .content {
margin-left: 13px;
.title {
padding: 0;
margin: 0 0 5px;
font-weight: bold;
font-size: 12px;
letter-spacing: 0.05em;
text-transform: uppercase;
color: #233d78;
}
.items {
> .item {
display: block;
font-size: 14px;
font-weight: 400;
margin: 3px 0;
.item--name {
font-weight: 700;
}
}
}
}
${styles_2.OldPriceStyled} {
margin-top: 6px;
font-size: 14px;
}
${styles_1.ButtonStyled} {
&.buy-link {
font-weight: 600;
font-size: 14px;
line-height: 140%;
padding: 6px 10px;
width: auto;
margin-top: 10px;
}
}
`;
//# sourceMappingURL=styles.js.map