1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

Improve search in file move/copy dialog (#3543)

This commit is contained in:
Daniel Pan
2019-05-27 17:13:15 +08:00
committed by GitHub
parent 4ffa3c48cf
commit 07881f6ff9
13 changed files with 370 additions and 220 deletions

View File

@@ -26,6 +26,9 @@
position: relative;
padding-left: 1.5rem;
}
.list-view-header:hover {
background-color: #FDEFB9;
}
.list-view-header .name {
color: #eb8205;
@@ -50,15 +53,16 @@
}
.file-chooser-item .item-info:hover {
background: #e7f4f9;
background: #FDEFB9;
border-radius: 2px;
box-shadow: inset 0 0 1px #999;
}
.file-chooser-item .item-active {
background: #beebff !important;
background: #F3AF7D !important;
border-radius: 2px;
box-shadow: inset 0 0 1px #999;
color: #fff
}
.file-chooser-item .item-info .icon {
@@ -74,16 +78,24 @@
flex: 1;
}
.file-chooser-item .item-active .icon {
color: #fff !important;
}
.file-chooser-search-input {
position: relative;
}
.file-chooser-search-input .search-control {
position: absolute;
top: 0.7rem;
top: 0.5rem;
right: 0.7rem;
}
.file-chooser-search-input .search-input {
width: 100%;
}
.file-chooser-search-container {
height: 20rem;
position: relative;
@@ -99,12 +111,27 @@
}
.searched-active {
background: #beebff !important;
background: #F3AF7D !important;
border-radius: 2px;
box-shadow: inset 0 0 1px #999;
}
.searched-active td {
color: #fff;
}
.searched-active .icon {
color: #fff !important;
}
.select-open-repo {
background: #FDEFB9;
}
.file-chooser-table td {
border-bottom: 1px solid rgba(0, 0, 0, 0);
}