1 line
7.5 KiB
JSON
1 line
7.5 KiB
JSON
|
{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genStepsVerticalStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n iconSize\n } = token;\n return {\n [`&${componentCls}-vertical`]: {\n display: 'flex',\n flexDirection: 'column',\n [`> ${componentCls}-item`]: {\n display: 'block',\n flex: '1 0 auto',\n paddingInlineStart: 0,\n overflow: 'visible',\n [`${componentCls}-item-icon`]: {\n float: 'left',\n marginInlineEnd: token.margin\n },\n [`${componentCls}-item-content`]: {\n display: 'block',\n minHeight: token.calc(token.controlHeight).mul(1.5).equal(),\n overflow: 'hidden'\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSize)\n },\n [`${componentCls}-item-description`]: {\n paddingBottom: token.paddingSM\n }\n },\n [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSize).div(2).sub(token.lineWidth).equal(),\n width: token.lineWidth,\n height: '100%',\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSize).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`,\n '&::after': {\n width: token.lineWidth,\n height: '100%'\n }\n },\n [`> ${componentCls}-item:not(:last-child) > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n display: 'block'\n },\n [` > ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-content > ${componentCls}-item-title`]: {\n '&::after': {\n display: 'none'\n }\n },\n [`&${componentCls}-small ${componentCls}-item-container`]: {\n [`${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSizeSM).div(2).sub(token.lineWidth).equal(),\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSizeSM).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSizeSM)\n }\n }\n }\n };\n};\nexport default genStepsVerticalStyle;","map":{"version":3,"names":["unit","genStepsVerticalStyle","token","componentCls","iconSizeSM","iconSize","display","flexDirection","flex","paddingInlineStart","overflow","float","marginInlineEnd","margin","minHeight","calc","controlHeight","mul","equal","lineHeight","paddingBottom","paddingSM","position","top","insetInlineStart","div","sub","lineWidth","width","height","padding","marginXXS","add"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/steps/style/vertical.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genStepsVerticalStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n iconSize\n } = token;\n return {\n [`&${componentCls}-vertical`]: {\n display: 'flex',\n flexDirection: 'column',\n [`> ${componentCls}-item`]: {\n display: 'block',\n flex: '1 0 auto',\n paddingInlineStart: 0,\n overflow: 'visible',\n [`${componentCls}-item-icon`]: {\n float: 'left',\n marginInlineEnd: token.margin\n },\n [`${componentCls}-item-content`]: {\n display: 'block',\n minHeight: token.calc(token.controlHeight).mul(1.5).equal(),\n overflow: 'hidden'\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSize)\n },\n [`${componentCls}-item-description`]: {\n paddingBottom: token.paddingSM\n }\n },\n [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSize).div(2).sub(token.lin
|