@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
84 lines (76 loc) • 1.7 kB
JavaScript
import { createStaticStyles } from "antd-style";
//#region src/chat/ChatHeader/style.ts
const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => {
return {
center: css$1`
position: relative;
overflow: hidden;
`,
container: css$1`
position: absolute;
z-index: 10;
overflow: hidden;
grid-area: header;
align-self: stretch;
width: 100%;
height: 52px;
min-height: 52px;
max-height: 52px;
border-block-end: 1px solid ${cssVar$1.colorBorderSecondary};
background: ${cssVar$1.colorBgContainer};
`,
left: css$1`
position: relative;
overflow: hidden;
flex: 1;
padding-inline-start: 8px;
`,
right: css$1`
position: relative;
overflow: hidden;
flex: none;
`
};
});
const titleStyles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => ({
container: css$1`
position: relative;
overflow: hidden;
flex: 1;
max-width: 100%;
`,
desc: css$1`
overflow: hidden;
width: 100%;
font-size: 12px;
line-height: 1;
color: ${cssVar$1.colorTextTertiary};
text-overflow: ellipsis;
white-space: nowrap;
`,
tag: css$1`
flex: none;
align-items: baseline;
`,
title: css$1`
overflow: hidden;
font-size: 16px;
font-weight: bold;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
`,
titleContainer: css$1`
flex: 1;
line-height: 1;
`,
titleWithDesc: css$1`
overflow: hidden;
font-weight: bold;
text-overflow: ellipsis;
white-space: nowrap;
`
}));
//#endregion
export { styles, titleStyles };
//# sourceMappingURL=style.mjs.map