-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added webui management, including file upload, text upload, Q&A…
… query, graph database management (can view tags, view knowledge graph based on tags), system status (whether it is good, data storage status, model status, path),request /webui/index.html
- Loading branch information
1 parent
207c0e8
commit 3dba406
Showing
8 changed files
with
1,698 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/* css/lightrag.css */ | ||
|
||
/* 模态框样式 */ | ||
.modal { | ||
display: none; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 1000; | ||
} | ||
|
||
.modal-content { | ||
background-color: var(--surface); | ||
padding: 1.5rem; | ||
border-radius: 8px; | ||
width: 80%; | ||
max-width: 1200px; | ||
box-shadow: var(--shadow); | ||
} | ||
|
||
.modal-header { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.modal-body { | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.modal-footer { | ||
text-align: right; | ||
} | ||
|
||
.btn-close { | ||
background: none; | ||
border: none; | ||
font-size: 1.5rem; | ||
cursor: pointer; | ||
color: var(--text-secondary); | ||
} | ||
|
||
.btn-close:hover { | ||
color: var(--text-primary); | ||
} | ||
|
||
/* 图谱节点样式 */ | ||
.node { | ||
cursor: pointer; | ||
fill: var(--primary); | ||
stroke: var(--surface); | ||
stroke-width: 2px; | ||
} | ||
|
||
.node:hover { | ||
fill: var(--secondary); | ||
} | ||
|
||
.link { | ||
stroke: var(--text-secondary); | ||
stroke-width: 2px; | ||
} | ||
|
||
.label { | ||
font-size: 12px; | ||
fill: var(--text-primary); | ||
pointer-events: none; | ||
} | ||
|
||
/* 添加边样式 */ | ||
.link { | ||
stroke: #999; /* 连线颜色 */ | ||
stroke-width: 2px; /* 连线粗细 */ | ||
stroke-opacity: 0.6;/* 透明度 */ | ||
} | ||
/* 边样式 */ | ||
.link { | ||
stroke: #999; /* 边颜色 */ | ||
stroke-width: 2px; /* 边粗细 */ | ||
stroke-opacity: 0.8; /* 边透明度 */ | ||
} | ||
|
||
/* 箭头颜色匹配边颜色 */ | ||
#arrow path { | ||
fill: #999 !important; /* 覆盖默认颜色 */ | ||
} |
Oops, something went wrong.