balibabu
feat: When the mindmap data is empty, it will not be displayed on the search page #2247 (#2414)
712affb
.searchPage { | |
background-position: center; | |
background-size: cover; | |
.card { | |
width: 100%; | |
:global(.ant-card-body) { | |
padding: 14px; | |
} | |
p { | |
margin: 0; | |
} | |
} | |
.tag { | |
padding: 4px 8px; | |
font-size: 14px; | |
cursor: pointer; | |
} | |
.mainLayout { | |
background: transparent; | |
} | |
} | |
.transparentSearchSide { | |
background-color: rgb(251 251 251 / 88%) ; | |
} | |
.searchSide { | |
position: relative; | |
:global(.ant-layout-sider-children) { | |
height: auto; | |
} | |
inset-inline-start: 0; | |
.modelForm { | |
display: flex; | |
padding: 24px; | |
} | |
.checkGroup { | |
width: 100%; | |
height: 100%; | |
} | |
.list { | |
padding-top: 10px; | |
width: 100%; | |
// height: 100%; | |
height: calc(100vh - 76px); | |
overflow: auto; | |
background-color: transparent; | |
&::-webkit-scrollbar-track { | |
background: transparent; | |
} | |
} | |
.checkbox { | |
width: 100%; | |
} | |
.knowledgeName { | |
width: 116px; | |
} | |
.embeddingId { | |
width: 170px; | |
} | |
} | |
.firstRenderContent { | |
height: 100%; | |
} | |
.content { | |
height: 100%; | |
.hide { | |
display: none; | |
} | |
.mainMixin() { | |
overflow: auto; | |
padding: 20px 10px 10px; | |
} | |
.largeMain { | |
width: 100%; | |
.mainMixin(); | |
} | |
.main { | |
width: 60%; | |
.mainMixin(); | |
} | |
.graph { | |
width: 40%; | |
padding: 20px 10px 10px; | |
} | |
.highlightContent { | |
.multipleLineEllipsis(2); | |
em { | |
color: red; | |
font-style: normal; | |
} | |
} | |
.documentReference { | |
cursor: pointer; | |
} | |
} | |
.answerWrapper { | |
margin-top: 16px; | |
background: rgb(232 242 251 / 70%); | |
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08); | |
:global(.ant-card-head) { | |
background-color: #e6f4ff; | |
} | |
& p { | |
margin: 0; | |
} | |
} | |
.input() { | |
:global(.ant-input-affix-wrapper) { | |
padding: 4px 12px; | |
border-start-start-radius: 30px ; | |
border-end-start-radius: 30px ; | |
} | |
:global(.ant-input-group-addon) { | |
background-color: transparent; | |
} | |
input { | |
height: 40px; | |
} | |
button { | |
height: 50px ; | |
border-start-end-radius: 30px ; | |
border-end-end-radius: 30px ; | |
} | |
} | |
.globalInput { | |
width: 600px; | |
position: sticky; | |
top: 0; | |
z-index: 1; | |
.input(); | |
} | |
.partialInput { | |
width: 100%; | |
position: sticky; | |
top: 0; | |
z-index: 1; | |
.input(); | |
} | |
.appIcon { | |
display: inline-block; | |
vertical-align: middle; | |
width: 60px; | |
} | |
.appName { | |
vertical-align: middle; | |
font-family: Inter; | |
font-size: 40px; | |
font-style: normal; | |
font-weight: 600; | |
line-height: 20px; | |
background: linear-gradient(to right, #095fab 10%, #25abe8 50%, #55c8dd 60%); | |
background-size: auto auto; | |
background-clip: border-box; | |
background-size: 200% auto; | |
color: #fff; | |
background-clip: text; | |
text-fill-color: transparent; | |
-webkit-background-clip: text; | |
-webkit-text-fill-color: transparent; | |
animation: textclip 1.5s linear infinite; | |
} | |
@keyframes textclip { | |
to { | |
background-position: 200% center; | |
} | |
} | |
.popupMarkdown { | |
width: 60vw; | |
max-height: 40vh; | |
overflow: auto; | |
} | |