UNPKG

@aplus-frontend/ui

Version:

2 lines (1 loc) 1.04 kB
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../../../utils/cssinjs/index.js"),a=o=>{const{componentCls:e,namespace:t}=o,r=`${e}-popover-input`,n=`--${t}-batch-input-group-popover-left`,p=`--${t}-batch-input-group-popover-right`;return{[e]:{position:"relative",[r]:{display:"inline-flex",alignItems:"center",[`${r}-trigger-icon`]:{cursor:"pointer",fontSize:"16px",color:o.textColor2,lineHeight:0,"&:hover":{color:o.colorPrimary},"&--disabled":{cursor:"not-allowed",color:o.batchInputGroupTriggerColorDisabled,"&:hover":{color:o.batchInputGroupTriggerColorDisabled}}}}},[`${r}__popover`]:{width:"100%",minWidth:"300px",left:`var(${n}) !important`,right:`var(${p}) !important`,".ant-popover-arrow":{display:"none"},".ant-popover-inner":{padding:0},[`${r}__popover--content`]:{padding:"12px",textarea:{padding:0,resize:"none"}}}}},l=i.genComponentStyleHook("BatchInputGroup",o=>[a(o)],{batchInputGroupTriggerColorDisabled:"rgba(24, 41, 72, 0.25)"});exports.default=l;