@aplus-frontend/ui
Version:
2 lines (1 loc) • 1.08 kB
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../../../utils/cssinjs/index.js"),l=e=>{const{componentCls:t}=e,o=`${t}--table-layout`;return{[`${t}--bordered`]:{border:`1px solid ${e.colorBg1}`,padding:"16px",borderRadius:e.borderRadius,"--ag-grid-modal-layout-divider-offset":"32px"},[o]:{boxSizing:"border-box",display:"flex",flex:1,justifyContent:"space-between",height:"100%",[`${o}-left`]:{flex:1,minWidth:0,paddingInlineEnd:"20px",boxSizing:"border-box",display:"flex",flexDirection:"column","&-content":{flex:1}},[`${o}-right`]:{maxHeight:"100%",width:"410px",paddingInlineStart:"20px",position:"relative",display:"flex",flexDirection:"column","&-content":{flexGrow:1,height:0,overflowY:"hidden",paddingTop:"8px","&:hover":{overflowY:"auto"}},"&::before":{content:'""',height:"calc(100% + var(--ag-grid-modal-layout-divider-offset,16px))",width:"1px",backgroundColor:e.colorBg1,position:"absolute",left:0,top:"-16px"}}}}},d=i.genComponentStyleHook("ApTableModal",e=>[l(e)]);exports.default=d;