Changeset 28563


Ignore:
Timestamp:
May 29, 2014, 10:56:41 AM (10 years ago)
Author:
mistic100
Message:

i broke colorbox on batch manager unit + use css animations

Location:
trunk/admin/themes/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/batch_manager_unit.tpl

    r28555 r28563  
    2525
    2626{* <!-- THUMBNAILS --> *}
    27 $(".elementEdit img")
    28   .css("opacity", 0.6) // Opacity on page load
    29   .hover(function(){
    30     $(this).fadeTo("slow", 1.0); // Opacity on hover
    31   },function(){
    32     $(this).fadeTo("slow", 0.6); // Opacity on mouseout
    33   });
     27jQuery("a.preview-box").colorbox();
    3428}());
    3529{/footer_script}
  • trunk/admin/themes/default/theme.css

    r28552 r28563  
    226226        float: right;
    227227        text-align: center;
     228        opacity: 0.6;
     229        -webkit-transition:opacity 400ms ease;
     230        transition:opacity 400ms ease;
     231}
     232FIELDSET.elementEdit .thumb:hover {
     233        opacity:1;
    228234}
    229235
Note: See TracChangeset for help on using the changeset viewer.