ragflow/web/src/less/mixins.less
balibabu 9703633a57
fix: filter knowledge list by keywords and clear the selected file list after the file is uploaded successfully and add ellipsis pattern to chunk list (#628)
### What problem does this PR solve?

#627 
fix: filter knowledge list by keywords
fix: clear the selected file list after the file is uploaded
successfully
feat: add ellipsis pattern to chunk list

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-30 18:43:26 +08:00

59 lines
833 B
Plaintext

.chunkText() {
em {
color: red;
font-style: normal;
}
table {
width: 100%;
}
caption {
color: @blurBackground;
font-size: 14px;
height: 20px;
line-height: 20px;
font-weight: 600;
margin-bottom: 6px;
}
th {
color: #fff;
background-color: @blurBackground;
}
td:hover {
background: @blurBackgroundHover;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
}
.pointerCursor() {
cursor: pointer;
}
.clearCardBody() {
:global {
.ant-card-body {
padding: 0;
margin: 0;
}
}
}
.textEllipsis() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.multipleLineEllipsis(@line) {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: @line;
overflow: hidden;
text-overflow: ellipsis;
}