1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 11:21:29 +00:00

Merge pull request #3606 from haiwen/modify_choose_style

modify choose style
This commit is contained in:
Daniel Pan
2019-06-03 18:16:35 +08:00
committed by GitHub
3 changed files with 51 additions and 29 deletions

View File

@@ -42,36 +42,27 @@
.file-chooser-item {
position: relative;
padding-left: 1.5rem;
padding-left: 22px;
}
.file-chooser-item .item-info {
display: flex;
height: 1.5rem;
cursor: pointer;
padding: 0;
}
.file-chooser-item .item-info:hover {
background: #FDEFB9;
border-radius: 2px;
box-shadow: inset 0 0 1px #999;
position: relative;
line-height: 1.625;
}
.file-chooser-item .item-active {
background: #F3AF7D !important;
border-radius: 2px;
box-shadow: inset 0 0 1px #999;
color: #fff
color: #fff;
}
.file-chooser-item .item-info .icon {
display: flex;
justify-content: center;
align-items: center;
color: #b0b0b0;
width: 1.5rem;
height: 1.5rem;
.file-chooser-item .item-info:hover {
background: #FDEFB9;
border-radius: 2px;
box-shadow: inset 0 0 1px #999;
}
.file-chooser-item .item-info .name {
@@ -132,6 +123,24 @@
border-bottom: 1px solid rgba(0, 0, 0, 0);
}
.item-text {
padding-left: 2.8rem;
font-size: 15px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 24px;
}
.item-left-icon {
position: absolute;
display: flex;
align-items: center;
top: 0;
left: 0;
padding-left: 1.5rem;
}