aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-05-29 08:56:41 +0000
committermistic100 <mistic@piwigo.org>2014-05-29 08:56:41 +0000
commit42274fb26fffb395a73e1fa60620307cfdac9699 (patch)
tree111285051c1547aac68874c6253bd455f9d44c64 /admin/themes/default
parent867d779ffc3a9e363428288ef359ca4430e85582 (diff)
i broke colorbox on batch manager unit + use css animations
git-svn-id: http://piwigo.org/svn/trunk@28563 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/batch_manager_unit.tpl8
-rw-r--r--admin/themes/default/theme.css6
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 {