UNPKG

@orca-fe/pocket

Version:

UI components by orca-team

9 lines (8 loc) 1.84 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _tools = require("@orca-fe/tools"); var prefixCls = 'orca-trigger'; var _default = exports.default = (0, _tools.createUseStaticCss)("\n.".concat(prefixCls, " {\n position: absolute;\n top: -9999px;\n left: -9999px;\n z-index: 1050;\n}\n.").concat(prefixCls, "-hidden {\n display: none;\n}\n.").concat(prefixCls, "-zoom-enter,\n.").concat(prefixCls, "-zoom-appear {\n opacity: 0;\n animation-play-state: paused;\n animation-timing-function: cubic-bezier(0.2, 0.89, 0.32, 1.28);\n animation-duration: 0.3s;\n animation-fill-mode: both;\n}\n.").concat(prefixCls, "-zoom-leave {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n animation-play-state: paused;\n animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05);\n}\n.").concat(prefixCls, "-zoom-enter.").concat(prefixCls, "-zoom-enter-active,\n.").concat(prefixCls, "-zoom-appear.").concat(prefixCls, "-zoom-appear-active {\n animation-name: rcTriggerZoomIn;\n animation-play-state: running;\n}\n.").concat(prefixCls, "-zoom-leave.").concat(prefixCls, "-zoom-leave-active {\n animation-name: rcTriggerZoomOut;\n animation-play-state: running;\n}\n.").concat(prefixCls, "-arrow {\n width: 0px;\n height: 0px;\n background: #000;\n border-radius: 100vw;\n box-shadow: 0 0 0 3px black;\n z-index: 1;\n}\n@keyframes rcTriggerZoomIn {\n 0% {\n transform: scale(0.9);\n transform-origin: 50% 50%;\n opacity: 0;\n }\n 100% {\n transform: scale(1, 1);\n transform-origin: 50% 50%;\n opacity: 1;\n }\n}\n@keyframes rcTriggerZoomOut {\n 0% {\n transform: scale(1, 1);\n transform-origin: 50% 50%;\n opacity: 1;\n }\n 100% {\n transform: scale(0.9);\n transform-origin: 50% 50%;\n opacity: 0;\n }\n}\n\n"));