UNPKG

@aplus-frontend/ui

Version:

2 lines (1 loc) 846 B
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./token.js"),o=require("../../utils/cssinjs/index.js"),n=t=>{const{componentCls:e}=t;return{[e]:{[`${e}-chart`]:{display:"flex",flexDirection:"column",marginBlockStart:"8px",marginBlockEnd:"8px",width:"100%",alignItems:"center",alignSelf:"flex-start","&-left":{marginBlockStart:0,marginInlineEnd:"16px"},"&-right":{marginBlockStart:0,marginInlineStart:"16px"}},[`${e}-content`]:{display:"flex",flexDirection:"column","&-horizontal":{flexDirection:"row"}},[`${e}-footer`]:{marginBlockStart:"8px",paddingBlockStart:"16px",borderBlockStart:`${t.apProCardBorderLineWidth} ${t.apProCardBorderLineType} ${t.apProCardBorderColorSplit}`}}}},i=o.genComponentStyleHook("StatisticsCard",t=>[n(t)],r.defaultToken);exports.default=i;