UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

1 lines 2.04 kB
{"version":3,"file":"style.mjs","names":["lobeStaticStylish","cssVar"],"sources":["../../../src/List/ListItem/style.ts"],"sourcesContent":["import { createStaticStyles, cx } from 'antd-style';\n\nimport { lobeStaticStylish } from '@/styles';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => {\n return {\n actions: css`\n position: absolute;\n inset-block-start: 50%;\n inset-inline-end: 16px;\n transform: translateY(-50%);\n `,\n active: lobeStaticStylish.active,\n content: css`\n position: relative;\n overflow: hidden;\n flex: 1;\n align-self: center;\n `,\n date: css`\n font-size: 12px;\n color: ${cssVar.colorTextPlaceholder};\n `,\n desc: css`\n width: 100%;\n margin: 0;\n\n font-size: 12px;\n line-height: 1.2;\n color: ${cssVar.colorTextDescription};\n `,\n\n pin: css`\n position: absolute;\n inset-block-start: 6px;\n inset-inline-end: 6px;\n `,\n root: cx(\n lobeStaticStylish.variantBorderless,\n css`\n cursor: pointer;\n position: relative;\n border-radius: ${cssVar.borderRadius};\n color: ${cssVar.colorTextTertiary};\n `,\n ),\n\n title: css`\n width: 100%;\n margin: 0;\n\n font-size: 14px;\n font-weight: 500;\n line-height: 1.2;\n color: ${cssVar.colorText};\n `,\n triangle: css`\n width: 10px;\n height: 10px;\n border-radius: 2px;\n\n opacity: 0.5;\n background: ${cssVar.colorPrimaryBorder};\n clip-path: polygon(0% 0%, 100% 0%, 100% 100%);\n `,\n };\n});\n"],"mappings":";;;;AAIA,MAAa,SAAS,oBAAoB,EAAE,YAAK,uBAAa;AAC5D,QAAO;EACL,SAAS,KAAG;;;;;;EAMZ,QAAQA,cAAkB;EAC1B,SAAS,KAAG;;;;;;EAMZ,MAAM,KAAG;;eAEEC,SAAO,qBAAqB;;EAEvC,MAAM,KAAG;;;;;;eAMEA,SAAO,qBAAqB;;EAGvC,KAAK,KAAG;;;;;EAKR,MAAM,GACJD,cAAkB,mBAClB,KAAG;;;yBAGgBC,SAAO,aAAa;iBAC5BA,SAAO,kBAAkB;QAErC;EAED,OAAO,KAAG;;;;;;;eAOCA,SAAO,UAAU;;EAE5B,UAAU,KAAG;;;;;;oBAMGA,SAAO,mBAAmB;;;EAG3C;EACD"}