Skip to content
Snippets Groups Projects
Commit d40b905f authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

Revert "hints for file actions"

1) Please test in Firefox 2) File actions should be refactored first, to be shown/hidden via CSS, not via JavaScript
This reverts commit e78d1dd6.
parent f5cef2fc
Branches
No related tags found
No related merge requests found
...@@ -29,10 +29,9 @@ table { position:relative; top:37px; width:100%; } ...@@ -29,10 +29,9 @@ table { position:relative; top:37px; width:100%; }
tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#f8f8f8; height:1em; } tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#f8f8f8; height:1em; }
tbody tr.selected { background-color:#eee; } tbody tr.selected { background-color:#eee; }
tbody a { color:#000; } tbody a { color:#000; }
span.extention,span.actionHint, td.date { color:#999; } span.extention, td.date { color:#999; }
span.extention,span.actionHint { opacity:0; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; } span.extention { opacity:0; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; }
tr:hover span.extention { opacity:1; } tr:hover span.extention { opacity:1; }
tr:hover span.actionHint { opacity:1; }
div.crumb { float:left; display:block; background:no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; } div.crumb { float:left; display:block; background:no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; }
div.crumb:first-child { padding-left:1.5em; } div.crumb:first-child { padding-left:1.5em; }
div.crumb:last-child { font-weight:bold; } div.crumb:last-child { font-weight:bold; }
......
...@@ -82,11 +82,6 @@ FileActions={ ...@@ -82,11 +82,6 @@ FileActions={
}); });
parent.children('a.name').append(element); parent.children('a.name').append(element);
} }
element.hover(function(e){
$('span.actionHint').text($(this).data('action'));
}, function(e){
$('span.actionHint').text('');
});
} }
if(actions['Delete']){ if(actions['Delete']){
var img=FileActions.icons['Delete']; var img=FileActions.icons['Delete'];
...@@ -141,11 +136,6 @@ FileActions.register('all','Rename',function(){return OC.imagePath('core','actio ...@@ -141,11 +136,6 @@ FileActions.register('all','Rename',function(){return OC.imagePath('core','actio
FileList.rename(filename); FileList.rename(filename);
}); });
// preparation for encryption embeeding in user interface
//FileActions.register('all', 'Encrypt', function(){return OC.imagePath('core', 'actions/play-add')},function(filename){
// alert(filename);
//});
//FileActions.setDefault('all','Download'); //FileActions.setDefault('all','Download');
FileActions.register('dir','Open','',function(filename){ FileActions.register('dir','Open','',function(filename){
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
<?php echo htmlspecialchars($file['basename']);?><span class='extention'><?php echo $file['extention'];?></span> <?php echo htmlspecialchars($file['basename']);?><span class='extention'><?php echo $file['extention'];?></span>
<?php endif;?> <?php endif;?>
</span> </span>
<span class="actionHint"></span>
</a> </a>
</td> </td>
<td class="filesize" title="<?php echo human_file_size($file['size']); ?>" style="color:rgb(<?php echo $simple_size_color.','.$simple_size_color.','.$simple_size_color ?>)"><?php echo $simple_file_size; ?></td> <td class="filesize" title="<?php echo human_file_size($file['size']); ?>" style="color:rgb(<?php echo $simple_size_color.','.$simple_size_color.','.$simple_size_color ?>)"><?php echo $simple_file_size; ?></td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment