UNPKG

@teamsparta/blog-system

Version:
23 lines 3.71 kB
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ShareLinkBtn = exports.ApplyBtn = exports.BtnStyle = exports.Wrapper = void 0; var styled_1 = __importDefault(require("@emotion/styled")); var react_1 = require("@emotion/react"); var design_system_1 = require("@teamsparta/design-system"); var variables_1 = require("../../style/variables"); exports.Wrapper = styled_1.default.section(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n position: fixed;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 10px;\n background-color: ", ";\n box-shadow: inset 0px 1px 1px #eaebed;\n padding: 8px 16px;\n box-sizing: border-box;\n\n @media ", " {\n gap: 14px;\n padding: 12px 0;\n }\n"], ["\n width: 100%;\n position: fixed;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 10px;\n background-color: ", ";\n box-shadow: inset 0px 1px 1px #eaebed;\n padding: 8px 16px;\n box-sizing: border-box;\n\n @media ", " {\n gap: 14px;\n padding: 12px 0;\n }\n"])), design_system_1.neutralDay.white, variables_1.device.desktop); exports.BtnStyle = (0, react_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 8px;\n cursor: pointer;\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 8px;\n cursor: pointer;\n"]))); exports.ApplyBtn = styled_1.default.button(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: calc(100% - 54px);\n max-width: 264px;\n height: 54px;\n background-color: ", ";\n ", "\n font-weight: 700;\n color: ", ";\n border: none;\n ", "\n\n @media ", " {\n max-width: 320px;\n height: 56px;\n ", "\n font-weight: 700;\n color: ", ";\n line-height: normal;\n }\n"], ["\n width: calc(100% - 54px);\n max-width: 264px;\n height: 54px;\n background-color: ", ";\n ", "\n font-weight: 700;\n color: ", ";\n border: none;\n ", "\n\n @media ", " {\n max-width: 320px;\n height: 56px;\n ", "\n font-weight: 700;\n color: ", ";\n line-height: normal;\n }\n"])), function (_a) { var btnColor = _a.btnColor; return "".concat(btnColor); }, design_system_1.mBody1, design_system_1.neutralDay.white, exports.BtnStyle, variables_1.device.desktop, design_system_1.wBody1, design_system_1.neutralDay.white); exports.ShareLinkBtn = styled_1.default.button(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: 54px;\n height: 54px;\n border: 1px solid ", ";\n background-color: ", ";\n ", "\n font-weight: 700;\n color: ", ";\n ", "\n\n @media ", " {\n width: 56px;\n height: 56px;\n }\n"], ["\n width: 54px;\n height: 54px;\n border: 1px solid ", ";\n background-color: ", ";\n ", "\n font-weight: 700;\n color: ", ";\n ", "\n\n @media ", " {\n width: 56px;\n height: 56px;\n }\n"])), design_system_1.neutralDay.gray30, design_system_1.neutralDay.white, design_system_1.mBody1, design_system_1.neutralDay.white, exports.BtnStyle, variables_1.device.desktop); var templateObject_1, templateObject_2, templateObject_3, templateObject_4; //# sourceMappingURL=FloatingCta.style.js.map