"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 });
var styled_components_1 = __importDefault(require("styled-components"));
var css = styled_components_1.default.div;
exports.default = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n   .checkbox-container {\n      cursor: pointer;\n      display: flex;\n      flex-direction: row;\n   }\n\n   .title {\n      padding-left: 10px;\n   }\n\n   input {\n      display: none;\n\n      & + .checkbox {\n         width: ", "px;\n         height: ", "px;\n         display: inline-block;\n         border-radius: 3px;\n         border: 2px solid rgba(0, 0, 0, 0.25);\n         position: relative;\n         ", "\n         display: flex;\n         align-items: center;\n         justify-content: center;\n\n         i {\n            position: absolute;\n            top: 50%;\n            left: 50%;\n            transform: translate(-50%, -50%);\n            font-size: ", "px;\n            display: none;\n            color: white;\n         }\n\n         svg {\n            color: white;\n            width: ", "px;\n            height: ", "px;\n         }\n\n         &:hover {\n            cursor: pointer;\n         }\n\n         &.disabled {\n            background: #ddd;\n            border: 2px solid #ddd;\n            opacity: 0.6;\n            cursor: not-allowed !important;\n\n            &:hover {\n               cursor: not-allowed !important;\n            }\n         }\n      }\n\n      &:checked + .checkbox {\n         border-color: ", ";\n         background: ", ";\n\n         i {\n            display: block;\n         }\n\n         & + .title {\n            font-weight: 600;\n            color: ", ";\n         }\n      }\n   }\n"], ["\n   .checkbox-container {\n      cursor: pointer;\n      display: flex;\n      flex-direction: row;\n   }\n\n   .title {\n      padding-left: 10px;\n   }\n\n   input {\n      display: none;\n\n      & + .checkbox {\n         width: ", "px;\n         height: ", "px;\n         display: inline-block;\n         border-radius: 3px;\n         border: 2px solid rgba(0, 0, 0, 0.25);\n         position: relative;\n         ", "\n         display: flex;\n         align-items: center;\n         justify-content: center;\n\n         i {\n            position: absolute;\n            top: 50%;\n            left: 50%;\n            transform: translate(-50%, -50%);\n            font-size: ", "px;\n            display: none;\n            color: white;\n         }\n\n         svg {\n            color: white;\n            width: ", "px;\n            height: ", "px;\n         }\n\n         &:hover {\n            cursor: pointer;\n         }\n\n         &.disabled {\n            background: #ddd;\n            border: 2px solid #ddd;\n            opacity: 0.6;\n            cursor: not-allowed !important;\n\n            &:hover {\n               cursor: not-allowed !important;\n            }\n         }\n      }\n\n      &:checked + .checkbox {\n         border-color: ", ";\n         background: ", ";\n\n         i {\n            display: block;\n         }\n\n         & + .title {\n            font-weight: 600;\n            color: ", ";\n         }\n      }\n   }\n"])), function (props) { var _a; return (_a = props.size) !== null && _a !== void 0 ? _a : 18; }, function (props) { var _a; return (_a = props.size) !== null && _a !== void 0 ? _a : 18; }, function (props) { return props.rounded && "border-radius: 100px;"; }, function (props) { var _a; return ((_a = props.size) !== null && _a !== void 0 ? _a : 18) * 0.6; }, function (props) { var _a; return ((_a = props.size) !== null && _a !== void 0 ? _a : 18) * 0.6; }, function (props) { var _a; return ((_a = props.size) !== null && _a !== void 0 ? _a : 18) * 0.6; }, function (props) { var _a; return (_a = props.color) !== null && _a !== void 0 ? _a : props.theme.primary; }, function (props) { var _a; return (_a = props.color) !== null && _a !== void 0 ? _a : props.theme.primary; }, function (props) { var _a; return (_a = props.color) !== null && _a !== void 0 ? _a : props.theme.primary; });
var templateObject_1;
//# sourceMappingURL=Checkbox.style.js.map