From 42274fb26fffb395a73e1fa60620307cfdac9699 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 29 May 2014 08:56:41 +0000 Subject: i broke colorbox on batch manager unit + use css animations git-svn-id: http://piwigo.org/svn/trunk@28563 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/batch_manager_unit.tpl | 8 +------- admin/themes/default/theme.css | 6 ++++++ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'admin') 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(){ {* *} }); {* *} -$(".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 { -- cgit v1.2.3