diff --git a/media/css/seahub.css b/media/css/seahub.css index 8306325e3a..ae75c0daad 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -484,6 +484,10 @@ p { padding-left:23px; background-image:url('../img/folder-add.png'); } +#add-new-file { + padding-left:23px; + background-image:url('../img/file-add.jpg'); +} .more-op { cursor:pointer; } diff --git a/media/img/file-add.jpg b/media/img/file-add.jpg new file mode 100644 index 0000000000..6f3cd7621f Binary files /dev/null and b/media/img/file-add.jpg differ diff --git a/templates/repo.html b/templates/repo.html index 497c4dc41c..e451c0cb67 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -444,7 +444,7 @@ $('#add-new-file').click(function () { $('#add-new-file-form').modal({appendTo:'#main'}); }); -$('#upload-file, #add-new-dir').hover( +$('#upload-file, #add-new-dir, #add-new-file').hover( function() { $(this).css({'background-color': '#fff', 'cursor': 'pointer'}); }, diff --git a/templates/snippets/bottom_bar.html b/templates/snippets/bottom_bar.html index b0dafa9931..2ba51bf26b 100644 --- a/templates/snippets/bottom_bar.html +++ b/templates/snippets/bottom_bar.html @@ -1,4 +1,4 @@ -var Bottom_bar = '