mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:22:34 +00:00
search file use ai (#5690)
* search file use ai * Feat: optimize code * feat: update code --------- Co-authored-by: er-pai-r <18335219360@163.com>
This commit is contained in:
@@ -79,6 +79,8 @@
|
||||
position: relative;
|
||||
top: 0;
|
||||
box-shadow: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.search-result-container .search-result-none {
|
||||
@@ -92,6 +94,12 @@
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
|
||||
.search-result-container .search-result-list-container {
|
||||
overflow: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.search-result-list .item-content .item-name {
|
||||
color: #eb8205!important;
|
||||
}
|
||||
@@ -300,3 +308,41 @@
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.search-result-container .search-mode-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 0 12px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.search-result-container .search-mode-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
margin-right: 30px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
border-bottom: 2px solid transparent;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.search-result-container .search-mode-item.search-mode-active {
|
||||
color: #ff8001;
|
||||
border-bottom-color: #ff8001;
|
||||
}
|
||||
|
||||
.search-result-container .search-mode-similarity-index-status {
|
||||
height: 64px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.search-result-container .search-mode-similarity-index-status.index-status-uncreated {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
Reference in New Issue
Block a user