adding tipsy tooltips for file actions
This commit is contained in:
parent
b95f561bf2
commit
31df4c00ec
3 changed files with 6 additions and 4 deletions
|
@ -106,7 +106,7 @@ label.infield { cursor: text !important; }
|
|||
|
||||
#notification { z-index:101; cursor:pointer; background-color:#fc4; border:0; padding:0 .7em .3em; display:none; position:fixed; left:50%; top:0; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
|
||||
|
||||
.action, .selectedActions a, #logout { opacity:.3; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; }
|
||||
.action, .selectedActions a, #logout { opacity:.5; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; }
|
||||
.action { width: 16px; height: 16px; }
|
||||
.action:hover, .selectedActions a:hover, #logout:hover { opacity:1; }
|
||||
|
||||
|
|
|
@ -413,8 +413,10 @@ $(document).ready(function(){
|
|||
$('.jp-controls .jp-previous').tipsy({gravity:'nw', fade:true, live:true});
|
||||
$('.jp-controls .jp-next').tipsy({gravity:'n', fade:true, live:true});
|
||||
$('.password .action').tipsy({gravity:'se', fade:true, live:true});
|
||||
$('.file_upload_button_wrapper').tipsy({gravity:'w', fade:true});
|
||||
$('.file_upload_button_wrapper').tipsy({gravity:'w', fade:true});
|
||||
$('.selectedActions a.delete').tipsy({gravity: 'se', fade:true, live:true});
|
||||
$('a.action').tipsy({gravity:'s', fade:true, live:true});
|
||||
$('a.delete').tipsy({gravity: 'se', fade:true, live:true});
|
||||
$('.selectedActions a').tipsy({gravity:'s', fade:true, live:true});
|
||||
$('#headerSize').tipsy({gravity:'s', fade:true, live:true});
|
||||
$('td.filesize').tipsy({gravity:'s', fade:true, live:true});
|
||||
|
|
|
@ -66,7 +66,7 @@ FileActions={
|
|||
if(img.call){
|
||||
img=img(file);
|
||||
}
|
||||
var html='<a href="#" title="'+name+'" class="action" style="display:none" />';
|
||||
var html='<a href="#" original-title="'+name+'" class="action" style="display:none" />';
|
||||
var element=$(html);
|
||||
if(img){
|
||||
element.append($('<img src="'+img+'"/>'));
|
||||
|
@ -89,7 +89,7 @@ FileActions={
|
|||
if(img.call){
|
||||
img=img(file);
|
||||
}
|
||||
var html='<a href="#" title="Delete" class="action" style="display:none" />';
|
||||
var html='<a href="#" original-title="Delete" class="action delete" style="display:none" />';
|
||||
var element=$(html);
|
||||
if(img){
|
||||
element.append($('<img src="'+img+'"/>'));
|
||||
|
|
Loading…
Reference in a new issue