import{clearFix as e,textEllipsis as t}from"../../style/index.mjs";var n=n=>{let{componentCls:r,antCls:i,iconCls:a,fontSize:o,lineHeight:s}=n,c=`${r}-list-item`,l=`${c}-actions`,u=`${c}-action`,d=Math.round(o*s);return{[`${r}-wrapper`]:{[`${r}-list`]:{...e(),lineHeight:n.lineHeight,[c]:{position:`relative`,height:n.lineHeight*o,marginTop:n.marginXS,fontSize:o,display:`flex`,alignItems:`center`,transition:`background-color ${n.motionDurationSlow}`,"&:hover":{backgroundColor:n.controlItemBgHover},[`${c}-name`]:{...t,padding:`0 ${n.paddingXS}px`,lineHeight:s,flex:`auto`,transition:`all ${n.motionDurationSlow}`},[l]:{[u]:{opacity:0},[`${u}${i}-btn-sm`]:{height:d,border:0,lineHeight:1,"> span":{transform:`scale(1)`}},[`
              ${u}:focus,
              &.picture ${u}
            `]:{opacity:1},[a]:{color:n.colorTextDescription,transition:`all ${n.motionDurationSlow}`},[`&:hover ${a}`]:{color:n.colorText}},[`${r}-icon ${a}`]:{color:n.colorTextDescription,fontSize:o},[`${c}-progress`]:{position:`absolute`,bottom:-n.uploadProgressOffset,width:`100%`,paddingInlineStart:o+n.paddingXS,fontSize:o,lineHeight:0,pointerEvents:`none`,"> div":{margin:0}}},[`${c}:hover ${u}`]:{opacity:1,color:n.colorText},[`${c}-error`]:{color:n.colorError,[`${c}-name, ${r}-icon ${a}`]:{color:n.colorError},[l]:{[`${a}, ${a}:hover`]:{color:n.colorError},[u]:{opacity:1}}},[`${r}-list-item-container`]:{transition:`opacity ${n.motionDurationSlow}, height ${n.motionDurationSlow}`,"&::before":{display:`table`,width:0,height:0,content:`""`}}}}}};export{n as default};