@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
37 lines (31 loc) • 890 B
text/typescript
import { createStyles } from 'antd-style';
import { rgba } from 'polished';
export const useStyles = createStyles(({ token, css, stylish, cx, responsive }) => ({
container: cx(
stylish.blur,
css`
pointer-events: none;
position: absolute;
z-index: 1000;
inset-block-end: 16px;
inset-inline-end: 16px;
transform: translateY(16px);
padding-inline: 12px ;
border-color: ${token.colorFillTertiary} border-radius: 16px ;
opacity: 0;
background: ;
${rgba(token.colorBgContainer, 0.5)};
${responsive.mobile} {
inset-inline-end: 0;
border-inline-end: none;
border-start-end-radius: 0 ;
border-end-end-radius: 0 ;
}
`,
),
visible: css`
pointer-events: all;
transform: translateY(0);
opacity: 1;
`,
}));