UNPKG

@stokr/components-library

Version:

STOKR - Components Library

27 lines (26 loc) 2.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectWrapper = exports.Legend = exports.Container = exports.Chart = void 0; var _styledComponents = _interopRequireDefault(require("styled-components")); var _rwd = _interopRequireDefault(require("../../styles/rwd")); var _templateObject, _templateObject2, _templateObject3; function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); } const Container = exports.Container = _styledComponents.default.div.withConfig({ displayName: "ChartBoxstyles__Container", componentId: "sc-1h5ta2j-0" })(["position:relative;font-size:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 0;text-align:left;width:100%;", " @media screen and (max-width:767px){width:100%;}"], _rwd.default.Medium(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: start;\n padding: 64px 0;\n flex-direction: row;\n "])))); const Chart = exports.Chart = _styledComponents.default.div.withConfig({ displayName: "ChartBoxstyles__Chart", componentId: "sc-1h5ta2j-1" })(["display:block;"]); const Legend = exports.Legend = _styledComponents.default.div.withConfig({ displayName: "ChartBoxstyles__Legend", componentId: "sc-1h5ta2j-2" })(["display:block;width:100%;padding-top:64px;", " ", ""], _rwd.default.Medium(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: auto;\n flex-grow: 1;\n padding-top: 0;\n padding-left: 64px;\n\n ", "\n "])), props => props.spaceTop && "\n padding-top: 104px;\n "), _rwd.default.Large(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n max-width: 768px;\n "])))); const SelectWrapper = exports.SelectWrapper = _styledComponents.default.div.withConfig({ displayName: "ChartBoxstyles__SelectWrapper", componentId: "sc-1h5ta2j-3" })(["padding-bottom:64px;"]);