@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
1 lines • 2.15 kB
Source Map (JSON)
{"version":3,"file":"style.mjs","names":["cssVar"],"sources":["../../../src/chat/ChatHeader/style.ts"],"sourcesContent":["import { createStaticStyles } from 'antd-style';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => {\n return {\n center: css`\n position: relative;\n overflow: hidden;\n `,\n container: css`\n position: absolute;\n z-index: 10;\n\n overflow: hidden;\n grid-area: header;\n align-self: stretch;\n\n width: 100%;\n height: 52px;\n min-height: 52px;\n max-height: 52px;\n border-block-end: 1px solid ${cssVar.colorBorderSecondary};\n\n background: ${cssVar.colorBgContainer};\n `,\n left: css`\n position: relative;\n overflow: hidden;\n flex: 1;\n padding-inline-start: 8px;\n `,\n right: css`\n position: relative;\n overflow: hidden;\n flex: none;\n `,\n };\n});\n\nexport const titleStyles = createStaticStyles(({ css, cssVar }) => ({\n container: css`\n position: relative;\n overflow: hidden;\n flex: 1;\n max-width: 100%;\n `,\n desc: css`\n overflow: hidden;\n\n width: 100%;\n\n font-size: 12px;\n line-height: 1;\n color: ${cssVar.colorTextTertiary};\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n tag: css`\n flex: none;\n align-items: baseline;\n `,\n title: css`\n overflow: hidden;\n\n font-size: 16px;\n font-weight: bold;\n line-height: 1;\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n titleContainer: css`\n flex: 1;\n line-height: 1;\n `,\n titleWithDesc: css`\n overflow: hidden;\n font-weight: bold;\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n}));\n"],"mappings":";;;AAEA,MAAa,SAAS,oBAAoB,EAAE,YAAK,uBAAa;AAC5D,QAAO;EACL,QAAQ,KAAG;;;;EAIX,WAAW,KAAG;;;;;;;;;;;;oCAYkBA,SAAO,qBAAqB;;oBAE5CA,SAAO,iBAAiB;;EAExC,MAAM,KAAG;;;;;;EAMT,OAAO,KAAG;;;;;EAKX;EACD;AAEF,MAAa,cAAc,oBAAoB,EAAE,YAAK,wBAAc;CAClE,WAAW,KAAG;;;;;;CAMd,MAAM,KAAG;;;;;;;aAOEA,SAAO,kBAAkB;;;;CAIpC,KAAK,KAAG;;;;CAIR,OAAO,KAAG;;;;;;;;;CASV,gBAAgB,KAAG;;;;CAInB,eAAe,KAAG;;;;;;CAMnB,EAAE"}