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