Dify接入初版

This commit is contained in:
pingchuan
2025-06-04 11:25:53 +08:00
parent af33de09db
commit 3e87f05e93
13 changed files with 17712 additions and 17712 deletions
+73 -73
View File
@@ -1,74 +1,74 @@
/* 聊天侧边栏样式 */
.chat-sidebar-menu .ant-menu-item {
margin: 4px 0;
border-radius: 6px;
height: auto;
line-height: 1.4;
padding: 8px 12px;
}
.chat-sidebar-menu .ant-menu-item:hover {
background-color: #f5f5f5;
}
.chat-sidebar-menu .ant-menu-item-selected {
background-color: rgba(0, 104, 74, 0.1);
border-color: rgb(0, 104, 74);
}
.chat-sidebar-menu .ant-menu-item-selected::after {
border-right: 3px solid rgb(0, 104, 74);
}
/* 会话项样式 */
.chat-sidebar-menu .ant-menu-item .ant-menu-title-content {
width: 100%;
}
/* 响应式设计 */
@media (max-width: 768px) {
.ant-layout-sider {
position: fixed !important;
left: 0;
top: 0;
bottom: 0;
z-index: 1000;
}
.ant-layout-sider.ant-layout-sider-collapsed {
left: -200px;
}
}
/* 滚动条样式 */
.chat-sidebar-menu::-webkit-scrollbar {
width: 4px;
}
.chat-sidebar-menu::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 2px;
}
.chat-sidebar-menu::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 2px;
}
.chat-sidebar-menu::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* 确保侧边栏布局正确 */
.ant-layout-sider {
display: flex !important;
flex-direction: column !important;
}
/* 侧边栏内容区域样式 */
.ant-layout-sider .ant-layout-sider-children {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
/* 聊天侧边栏样式 */
.chat-sidebar-menu .ant-menu-item {
margin: 4px 0;
border-radius: 6px;
height: auto;
line-height: 1.4;
padding: 8px 12px;
}
.chat-sidebar-menu .ant-menu-item:hover {
background-color: #f5f5f5;
}
.chat-sidebar-menu .ant-menu-item-selected {
background-color: rgba(0, 104, 74, 0.1);
border-color: rgb(0, 104, 74);
}
.chat-sidebar-menu .ant-menu-item-selected::after {
border-right: 3px solid rgb(0, 104, 74);
}
/* 会话项样式 */
.chat-sidebar-menu .ant-menu-item .ant-menu-title-content {
width: 100%;
}
/* 响应式设计 */
@media (max-width: 768px) {
.ant-layout-sider {
position: fixed !important;
left: 0;
top: 0;
bottom: 0;
z-index: 1000;
}
.ant-layout-sider.ant-layout-sider-collapsed {
left: -200px;
}
}
/* 滚动条样式 */
.chat-sidebar-menu::-webkit-scrollbar {
width: 4px;
}
.chat-sidebar-menu::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 2px;
}
.chat-sidebar-menu::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 2px;
}
.chat-sidebar-menu::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* 确保侧边栏布局正确 */
.ant-layout-sider {
display: flex !important;
flex-direction: column !important;
}
/* 侧边栏内容区域样式 */
.ant-layout-sider .ant-layout-sider-children {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}