UNPKG

react-base-guide

Version:

react ui components

20 lines 645 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const styled_components_1 = __importDefault(require("styled-components")); const ModalLayer = styled_components_1.default.div ` position: absolute; box-sizing: border-box; left: 0; right: 0; top: 0; bottom: 0; overflow: auto; z-index: ${p => (p.theme.zIndex.modal - 1)}; background: rgba(0, 0, 0, 0.7); perspective: 1000px; `; exports.default = ModalLayer; //# sourceMappingURL=layer.js.map