UNPKG

infinity-forge

Version:
14 lines 4.56 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.Whattsapp = void 0; var styled_components_1 = __importDefault(require("styled-components")); exports.Whattsapp = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .whattsapp {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 60px;\n height: 60px;\n bottom: 40px;\n right: 40px;\n background-color: #25d366;\n border-radius: 50%;\n z-index: 999;\n\n &::before,\n &::after {\n content: '';\n display: block;\n position: absolute;\n border-radius: 50%;\n border: 2px solid #25d366;\n bottom: -20px;\n top: -20px;\n left: -20px;\n right: -20px;\n animation: animar 1.5s linear infinite;\n opacity: 0;\n }\n\n &::after {\n animation-delay: 0.5s;\n }\n }\n\n @keyframes animar {\n 0% {\n transform: scale(0.5);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(1.2);\n opacity: 0;\n }\n }\n @media only screen and (max-width: 1600px) {\n }\n @media only screen and (max-width: 1400px) {\n }\n @media only screen and (max-width: 1200px) {\n }\n @media only screen and (max-width: 1024px) {\n }\n @media only screen and (max-width: 900px) {\n }\n @media only screen and (max-width: 768px) {\n .whattsapp {\n width: 45px;\n height: 45px;\n bottom: 30px;\n right: 30px;\n\n &::before,\n &::after {\n bottom: -15px;\n top: -15px;\n left: -15px;\n right: -15px;\n }\n\n svg {\n max-width: 30px;\n }\n }\n }\n @media only screen and (max-width: 650px) {\n }\n @media only screen and (max-width: 500px) {\n .whattsapp {\n width: 40px;\n height: 40px;\n bottom: 20px;\n right: 20px;\n\n &::before,\n &::after {\n bottom: -10px;\n top: -10px;\n left: -10px;\n right: -10px;\n }\n\n svg {\n max-width: 25px;\n }\n }\n }\n @media only screen and (max-width: 400px) {\n }\n"], ["\n .whattsapp {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 60px;\n height: 60px;\n bottom: 40px;\n right: 40px;\n background-color: #25d366;\n border-radius: 50%;\n z-index: 999;\n\n &::before,\n &::after {\n content: '';\n display: block;\n position: absolute;\n border-radius: 50%;\n border: 2px solid #25d366;\n bottom: -20px;\n top: -20px;\n left: -20px;\n right: -20px;\n animation: animar 1.5s linear infinite;\n opacity: 0;\n }\n\n &::after {\n animation-delay: 0.5s;\n }\n }\n\n @keyframes animar {\n 0% {\n transform: scale(0.5);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(1.2);\n opacity: 0;\n }\n }\n @media only screen and (max-width: 1600px) {\n }\n @media only screen and (max-width: 1400px) {\n }\n @media only screen and (max-width: 1200px) {\n }\n @media only screen and (max-width: 1024px) {\n }\n @media only screen and (max-width: 900px) {\n }\n @media only screen and (max-width: 768px) {\n .whattsapp {\n width: 45px;\n height: 45px;\n bottom: 30px;\n right: 30px;\n\n &::before,\n &::after {\n bottom: -15px;\n top: -15px;\n left: -15px;\n right: -15px;\n }\n\n svg {\n max-width: 30px;\n }\n }\n }\n @media only screen and (max-width: 650px) {\n }\n @media only screen and (max-width: 500px) {\n .whattsapp {\n width: 40px;\n height: 40px;\n bottom: 20px;\n right: 20px;\n\n &::before,\n &::after {\n bottom: -10px;\n top: -10px;\n left: -10px;\n right: -10px;\n }\n\n svg {\n max-width: 25px;\n }\n }\n }\n @media only screen and (max-width: 400px) {\n }\n"]))); var templateObject_1; //# sourceMappingURL=styles.js.map