UNPKG

react-pass-checkout-button-v1

Version:

### NPM Installation

92 lines (89 loc) 1.98 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mover = mover; exports.moout = moout; exports.dModal = exports.dModalClose = exports.dIframe = exports.dModalContent = exports.dbutton3 = exports.dbutton2 = void 0; var dbutton2 = { backgroundColor: "#1dbc86", border: "none", borderRadius: "3px", color: "white", textAlign: "center", textDecoration: "none", display: "inline-flex", fontSize: "14px", transitionDuration: "0.4s", cursor: "pointer", padding: "10px 32px", opacity: "1" }; exports.dbutton2 = dbutton2; var dbutton3 = { backgroundColor: "#1dbc86", border: "none", borderRadius: "3px", color: "white", textAlign: "center", textDecoration: "none", display: "inline-flex", fontSize: "14px", transitionDuration: "0.4s", cursor: "pointer", padding: "10px 32px", opacity: "0.8" }; exports.dbutton3 = dbutton3; const dModalContent = { backgroundColor: "#fefefe", margin: "auto", padding: "20px", width: "80%", height: "80%", display: "flex", justifyContent: "center", alignItems: "center" }; exports.dModalContent = dModalContent; const dIframe = { display: "block", border: "none", height: "100%", width: "100%", zIndex: "99999" }; exports.dIframe = dIframe; const dModalClose = { color: "#aaaaaa", position: "absolute", top: "5%", right: "8%", float: "right", fontSize: "28px", fontWeight: "bold", cursor: "pointer" }; exports.dModalClose = dModalClose; const dModal = { display: "none", position: "fixed", zIndex: "1", paddingTop: "20px", left: "0", top: "0", width: "100%", height: "100%", overflow: "auto", // backgroundColor: "rgb(0,0,0)", backgroundColor: "rgba(0,0,0,0.4)" }; exports.dModal = dModal; function mover() { // eslint-disable-next-line no-const-assign exports.dbutton2 = dbutton2 = dbutton3; } function moout() { // eslint-disable-next-line no-const-assign exports.dbutton3 = dbutton3 = dbutton2; }