1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

modified add-new-file

This commit is contained in:
llj
2012-08-13 13:02:32 +08:00
parent 38af45911e
commit d2c32ce2f8
4 changed files with 6 additions and 2 deletions

View File

@@ -484,6 +484,10 @@ p {
padding-left:23px; padding-left:23px;
background-image:url('../img/folder-add.png'); background-image:url('../img/folder-add.png');
} }
#add-new-file {
padding-left:23px;
background-image:url('../img/file-add.jpg');
}
.more-op { .more-op {
cursor:pointer; cursor:pointer;
} }

BIN
media/img/file-add.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

View File

@@ -444,7 +444,7 @@ $('#add-new-file').click(function () {
$('#add-new-file-form').modal({appendTo:'#main'}); $('#add-new-file-form').modal({appendTo:'#main'});
}); });
$('#upload-file, #add-new-dir').hover( $('#upload-file, #add-new-dir, #add-new-file').hover(
function() { function() {
$(this).css({'background-color': '#fff', 'cursor': 'pointer'}); $(this).css({'background-color': '#fff', 'cursor': 'pointer'});
}, },

View File

@@ -1,4 +1,4 @@
var Bottom_bar = '<div id="bottom-bar"><button id="recommend">推荐到小组</button> <button id="recommend">发送到私信</button></div>'; var Bottom_bar = '<div id="bottom-bar"><button id="recommend">推荐到小组</button> <button>发送到私信</button></div>';
$('#wrapper').append(Bottom_bar); $('#wrapper').append(Bottom_bar);
$('#bottom-bar').css({'position':'fixed', 'bottom':0, 'left':$('#main').offset().left + $('#main').width() + 15}); $('#bottom-bar').css({'position':'fixed', 'bottom':0, 'left':$('#main').offset().left + $('#main').width() + 15});
$('#recommend').click(function() { $('#recommend').click(function() {