ll-package
Version:
4 lines (3 loc) • 824 B
JavaScript
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=t=>{const{componentCls:e,motionDurationSlow:o,menuHorizontalHeight:n,colorSplit:i,lineWidth:l,lineType:r,menuItemPaddingInline:a}=t;return{[`${e}-horizontal`]:{lineHeight:`${n}px`,border:0,borderBottom:`${l}px ${r} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${e}-item, ${e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${e}-item:hover,
> ${e}-item-active,
> ${e}-submenu ${e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${e}-item, ${e}-submenu-title`]:{transition:[`border-color ${o}`,`background ${o}`].join(",")},[`${e}-submenu-arrow`]:{display:"none"}}}};exports.default=u;
;