diff options
-rw-r--r-- | admin/themes/default/template/batch_manager_unit.tpl | 8 | ||||
-rw-r--r-- | admin/themes/default/theme.css | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/admin/themes/default/template/batch_manager_unit.tpl b/admin/themes/default/template/batch_manager_unit.tpl index dd7b5aa64..376879b49 100644 --- a/admin/themes/default/template/batch_manager_unit.tpl +++ b/admin/themes/default/template/batch_manager_unit.tpl @@ -24,13 +24,7 @@ jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *} }); {* <!-- THUMBNAILS --> *} -$(".elementEdit img") - .css("opacity", 0.6) // Opacity on page load - .hover(function(){ - $(this).fadeTo("slow", 1.0); // Opacity on hover - },function(){ - $(this).fadeTo("slow", 0.6); // Opacity on mouseout - }); +jQuery("a.preview-box").colorbox(); }()); {/footer_script} diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 65d26f6a2..05f7282f0 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -225,6 +225,12 @@ FIELDSET.elementEdit .thumb { display: block; float: right; text-align: center; + opacity: 0.6; + -webkit-transition:opacity 400ms ease; + transition:opacity 400ms ease; +} +FIELDSET.elementEdit .thumb:hover { + opacity:1; } TABLE.doubleSelect { |