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