mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 23:02:26 +00:00
File chooser improve (#2790)
This commit is contained in:
@@ -16,24 +16,30 @@
|
||||
}
|
||||
|
||||
.detail-header .detail-control {
|
||||
position: absolute;
|
||||
padding-left: 0.5rem;
|
||||
font-size: 16px;
|
||||
color: #b9b9b9;
|
||||
left: 0.5rem;
|
||||
}
|
||||
|
||||
.detail-header .detail-control:hover {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.detail-header .detail-title {
|
||||
margin-left: 0.25rem;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
width: 0; /* prevent strut flex layout */
|
||||
}
|
||||
|
||||
.detail-header .detail-title img{
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.detail-header .detail-title .name {
|
||||
display: inline-block;
|
||||
margin-left: 0.25rem;
|
||||
margin: 0 0.5rem 0 0.25rem;
|
||||
line-height: 1.5rem;
|
||||
vertical-align: middle;
|
||||
font-size: 1rem;
|
||||
|
@@ -43,10 +43,10 @@
|
||||
}
|
||||
|
||||
.file-chooser-item .item-info {
|
||||
display: inline-block;
|
||||
display: flex;
|
||||
height: 1.5rem;
|
||||
cursor: pointer;
|
||||
padding: 0 5px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.file-chooser-item .item-info:hover {
|
||||
@@ -62,10 +62,17 @@
|
||||
}
|
||||
|
||||
.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 .name {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user