Changeset 66629 in spip-zone


Ignore:
Timestamp:
Oct 9, 2012, 4:40:28 PM (7 years ago)
Author:
cedric@…
Message:

au pied les sprites !

Location:
_squelettes_/sarkaspip/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/sarkaspip/trunk/css/sarka.less

    r66628 r66629  
    2323
    2424
    25 .noisette_badges .badges a {display: inline-block; margin: 4px; padding: 0; border: 0; width: 80px; height: 15px; }
    26 .noisette_badges .badges a:hover {text-decoration: none;}
    27 #logo_rss {background: url(img/badge_rss.png) no-repeat;}
    28 #logo_rss:hover {background: url(img/badge_rss_hover.png) no-repeat;}
    29 #logo_sarkaspip {background: url(img/badge_sarkaspip.png) no-repeat;}
    30 #logo_sarkaspip:hover {background: url(img/badge_sarkaspip_hover.png) no-repeat;}
    31 #logo_spip {background: url(img/badge_spip.png) no-repeat;}
    32 #logo_spip:hover {background: url(img/badge_spip_hover.png) no-repeat;}
    33 #logo_xhtml {background: url(img/badge_xhtml.png) no-repeat;}
    34 #logo_xhtml:hover {background: url(img/badge_xhtml_hover.png) no-repeat;}
    35 #logo_perso {background: url(img/badge_perso.png) no-repeat;}
    36 #logo_perso:hover {background: url(img/badge_perso_hover.png) no-repeat;}
     25/* badges dans le pied : sprite calculee dans inc_badges */
     26.noisette_badges .badges a {display: inline-block; margin: 4px; padding: 0; border: 0; width: 80px; height: 15px; background-repeat: no-repeat;background-position: top left;}
     27.noisette_badges .badges a:hover {text-decoration: none;background-position: bottom left;}
  • _squelettes_/sarkaspip/trunk/noisettes/inc_badges.html

    r66628 r66629  
    22        <p class="badges">
    33                [(#CONFIG{sarkaspip_noisettes/badge_xhtml}|=={on}|oui)
    4                         <a id="logo_xhtml" href="http://validator.w3.org/check?uri=referer" title="<:sarkaspip:verifier_xhtml:>">&nbsp;</a>
     4                        <a id="logo_xhtml" href="http://validator.w3.org/check?uri=referer" title="<:sarkaspip:verifier_xhtml|attribut_html:>"
     5                        style="background-image:url([(#CHEMIN{css/img/badge_xhtml.png}
     6                                |image_recadre{80,30,top,transparent}
     7                                |image_masque{#CHEMIN{css/img/badge_xhtml_hover.png}|image_recadre{80,30,bottom,transparent}|extraire_attribut{src},mode=normal}
     8                                |extraire_attribut{src}
     9                        )]);"
     10                        >&nbsp;</a>
    511                ]
    612                [(#CONFIG{sarkaspip_noisettes/badge_rss}|=={on}|oui)
    7                         <a id="logo_rss" href="./spip.php?page=backend" title="<:sarkaspip:syndiquer_site:>">&nbsp;</a>
     13                        <a id="logo_rss" href="./spip.php?page=backend" title="<:sarkaspip:syndiquer_site:>"
     14                   style="background-image:url([(#CHEMIN{css/img/badge_rss.png}
     15                          |image_recadre{80,30,top,transparent}
     16                          |image_masque{#CHEMIN{css/img/badge_rss_hover.png}|image_recadre{80,30,bottom,transparent}|extraire_attribut{src},mode=normal}
     17                          |extraire_attribut{src}
     18                        )]);"
     19       >&nbsp;</a>
    820                ]
    921                [(#CONFIG{sarkaspip_noisettes/badge_sarka}|=={on}|oui)
    10                         <a id="logo_sarkaspip" href="http://www.sarka-spip.net" title="<:sarkaspip:squelette|ucfirst:>">&nbsp;</a>
     22                        <a id="logo_sarkaspip" href="http://www.sarka-spip.net" title="<:sarkaspip:squelette|ucfirst:>"
     23                   style="background-image:url([(#CHEMIN{css/img/badge_sarkaspip.png}
     24                          |image_recadre{80,30,top,transparent}
     25                          |image_masque{#CHEMIN{css/img/badge_sarkaspip_hover.png}|image_recadre{80,30,bottom,transparent}|extraire_attribut{src},mode=normal}
     26                          |extraire_attribut{src}
     27                        )]);"
     28       >&nbsp;</a>
    1129                ]
    1230                [(#CONFIG{sarkaspip_noisettes/badge_spip}|=={on}|oui)
    13                         <a id="logo_spip" href="http://spip.net" title="<:sarkaspip:site_realise_avec_spip:>">&nbsp;</a>
     31                        <a id="logo_spip" href="http://spip.net" title="<:sarkaspip:site_realise_avec_spip:>"
     32                           style="background-image:url([(#CHEMIN{css/img/badge_spip.png}
     33                                  |image_recadre{80,30,top,transparent}
     34                                  |image_masque{#CHEMIN{css/img/badge_spip_hover.png}|image_recadre{80,30,bottom,transparent}|extraire_attribut{src},mode=normal}
     35                                  |extraire_attribut{src}
     36                                )]);"
     37               >&nbsp;</a>
    1438                ]
    1539                [(#CONFIG{sarkaspip_noisettes/badge_perso}|=={on}|oui)
    16                         <a id="logo_perso"[ href="(#CONFIG{sarkaspip_noisettes/lien_badge_perso})"][ title="(#CONFIG{sarkaspip_noisettes/infobulle_badge_perso})"]>&nbsp;</a>
     40                        <a id="logo_perso"[ href="(#CONFIG{sarkaspip_noisettes/lien_badge_perso})"][ title="(#CONFIG{sarkaspip_noisettes/infobulle_badge_perso})"]
     41                                style="background-image:url([(#CHEMIN{css/img/badge_perso.png}
     42                         |image_recadre{80,30,top,transparent}
     43                         |image_masque{#CHEMIN{css/img/badge_perso_hover.png}|image_recadre{80,30,bottom,transparent}|extraire_attribut{src},mode=normal}
     44                         |extraire_attribut{src}
     45                       )]);"
     46                    >&nbsp;</a>
    1747                ]
    1848        </p>
Note: See TracChangeset for help on using the changeset viewer.