@procraft/widget-order
Version:
Order widget for landing
30 lines (28 loc) • 998 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderButtonByDateSalesStyled = void 0;
const styled_components_1 = __importDefault(require("styled-components"));
const Container_1 = __importDefault(require("../../components/Container"));
const colors_1 = require("../../constants/colors");
exports.OrderButtonByDateSalesStyled = (0, styled_components_1.default)(Container_1.default) `
background-color: ${({ bgColor }) => bgColor !== null && bgColor !== void 0 ? bgColor : colors_1.CONTENT_BG_DEFAULT_COLOR};
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
font-size: 12px;
font-weight: 500;
> * {
color: #233d78;
cursor: pointer;
margin: 2px;
&.active {
border-radius: 4px;
padding: 1px 4px;
}
}
`;
//# sourceMappingURL=styles.js.map