Changeset 51956 in spip-zone


Ignore:
Timestamp:
Sep 27, 2011, 9:12:20 PM (8 years ago)
Author:
brunobergot@…
Message:

mettre en évidence le fait que les bloc des paquets sont dépliables sur la page plugin (yffic)

Location:
_galaxie_/plugins-spip-net/svp2010
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _galaxie_/plugins-spip-net/svp2010/content/plugin.html

    r51320 r51956  
    5555        $(function(){
    5656                $('.paquet .descriptif').hide();
    57                 $('.paquet.first .descriptif').show();
     57                $('.paquet.first .h2').toggleClass('deplie').siblings('.descriptif').show();
    5858                $('.paquet .h2').css('cursor','pointer').click(function(){
    59                         $(this).siblings('.descriptif').slideToggle();
     59                        $(this).toggleClass('deplie').siblings('.descriptif').slideToggle();
    6060                });
    6161        });
  • _galaxie_/plugins-spip-net/svp2010/css.html

    r51416 r51956  
    154154.paquet { position: relative; font-size: 85%; float: none; }
    155155.page_plugin .paquet { border-top: 1px dotted #ddd; margin-top: 50px; }
    156 .paquet .h2 { padding-right: 120px; color: #666; font-size: 150%; }
     156.paquet .h2 { padding-right: 120px; padding-left: 25px; color: #666; font-size: 150%; background: transparent url([(#CHEMIN{imgs/faq_close.png})]) left 50% no-repeat; }
     157.paquet .h2.deplie { background-image: url([(#CHEMIN{imgs/faq_open.png})]); }
    157158.paquet .telechargement { position: absolute; top: 0; right: 0; font-size: 125%;  margin-top: 1em; }
    158159.paquet .telechargement a { margin: 0; padding: 4px 4px 4px 20px; text-decoration: none; color: white;
Note: See TracChangeset for help on using the changeset viewer.