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

Merge pull request #1139 from haiwen/fileupload2

Fileupload
This commit is contained in:
llj
2016-04-21 16:07:05 +08:00
5 changed files with 85 additions and 109 deletions

View File

@@ -358,6 +358,7 @@ p { margin:0.5em 0; }
.label { color:#333; font-size:12px; font-style:normal; }
.italic { font-style:italic; }
.alc { text-align: center;}
.inline-block { display: inline-block; }
.cspt { cursor:pointer; }
.pos-rel { position:relative; }
.top-tip {
@@ -2086,36 +2087,6 @@ button.dropdown-toggle:focus {
margin-top:8px;
}
/* file upload */
.repo-op .upload-file-btn {
display: inline-block;
height: auto;
padding: 5px 6px;
border: 1px solid #c5c5c5;
border-radius: 2px;
position:relative;
overflow:hidden;
}
#upload-menu,
#add-pub-lib-menu {
position:absolute;
z-index:12; /* make it on top of a checkbox */
border:1px solid #c5c5c5;
border-radius:2px;
box-shadow: 0 0 2px #c5c5c5;
background:#fff;
}
#upload-menu .item,
#add-pub-lib-menu .item {
padding:0 10px;
height:27px;
line-height:27px;
cursor:pointer;
}
#upload-menu .item {
position:relative;
text-align:left;
overflow:hidden; /* for 'hover', as long 'input' in it. */
}
.fixed-upload-file-dialog {
width: 540px;
position: fixed;
@@ -2162,9 +2133,7 @@ button.dropdown-toggle:focus {
font-size:13px;
color:#333;
}
.fileinput-button input,
#upload-file input,
#upload-menu input {
.fileinput-button input {
position: absolute;
top: 0;
right: 0;