Changeset 77065 in spip-zone


Ignore:
Timestamp:
Oct 8, 2013, 9:02:54 AM (6 years ago)
Author:
cedric@…
Message:

une class img sur le span imbriqué des logos responsive pour permettre de le cibler en css facilement au cas ou

Location:
_plugins_/z-core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/z-core/paquet.xml

    r77045 r77065  
    22        prefix="Zcore"
    33        categorie="outil"
    4         version="2.2.5"
     4        version="2.2.6"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.*]"
  • _plugins_/z-core/zcore_options.php

    r77045 r77065  
    4848
    4949        $ratio = round($h*100/$w,2);
    50         return "<span class='$class' style=\"width:{$w}px;\"><span style=\"display:block;position:relative;height:0;width:100%;padding-bottom:{$ratio}%;overflow:hidden;background:url($src) no-repeat center;background-size:100%;\"> </span></span>";
     50        return "<span class='$class' style=\"width:{$w}px;\"><span class=\"img\" style=\"display:block;position:relative;height:0;width:100%;padding-bottom:{$ratio}%;overflow:hidden;background:url($src) no-repeat center;background-size:100%;\"> </span></span>";
    5151}
    5252
Note: See TracChangeset for help on using the changeset viewer.