Changeset 87433 in spip-zone


Ignore:
Timestamp:
Feb 14, 2015, 12:10:11 AM (4 years ago)
Author:
webmaster@…
Message:

modernisation du composant Banniere

Location:
_plugins_/acs/trunk/sets/cat/composants/banniere
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/acs/trunk/sets/cat/composants/banniere/banniere.css.html

    r87415 r87433  
    1 #CACHE{0}
    2 
     1[(#CACHE{0})]
    32#banniere {
    43  width: 100%;
    54  height: #VAR{acsBanniereHauteur,60px};
     5  line-height: #VAR{acsBanniereHauteur,60px};
    66  [background: (#VAR{acsBanniereFond})[ url("(#ACS_CHEMIN{trame/#VAR{acsBanniereFondImage}})")][ (#VAR{acsBanniereFondImageRepeatX}|=={non}|?{[(#VAR{acsBanniereFondImageRepeatY}|=={non}|?{"no-repeat","repeat-y"})],[(#VAR{acsBanniereFondImageRepeatY}|=={non}|?{"repeat-x","repeat"})]})][ (#VAR{acsBanniereFondAlign, center})][ (#VAR{acsBanniereFondVerticalAlign, middle})];]
    77  font-family: [(#VAR{acsBanniereFont}), ]#VAR{acsBanniereFontFamily};
     8  text-align: #VAR{acsBanniereAlign,center};
     9  [(#VAR{acsBanniereLogo}|=={oui}|oui)padding-#VAR{acsBanniereLogoAlign}: [(#LOGO_SITE|largeur)px];]
    810}
    9 
    1011#banniere .logo {
    1112  position: absolute;
     
    1516  top: 0;
    1617}
    17 
    18 #banniere .bantab {
    19   height:100%;
    20   width: 100%;
    21 }
    22 
    23 #banniere .bantd {
    24   text-align: #VAR{acsBanniereAlign,center};
    25   vertical-align: #VAR{acsBanniereValign};
    26 }
    27 
    28 #banniere .banimg {
    29   position: relative;
    30   border: 0;
    31 }
    32 
    3318#banniere a.nom_site {
    3419  position: relative;
    3520  z-index: 9;
    3621  font-size: #VAR{acsBanniereFontSize,40px};
    37   [color: (#VAR{acsBanniereTextColor});]
     22  line-height:normal;
     23  vertical-align: #VAR{acsBanniereValign};[
     24  color: (#VAR{acsBanniereTextColor});][
     25  text-shadow: 0px 0px 8px (#VAR{acsBanniereTextColorOver});]
    3826}
    3927[#banniere a.nom_site:hover {
    40   color: (#VAR{acsBanniereTextColorOver});
    41   text-shadow: 0px 0px 8px #fff;
     28  color: (#VAR{acsBanniereTextColorOver});[
     29  text-shadow: 0px 0px 8px (#VAR{acsBanniereTextColor});]
    4230}]
    43 #banniere .extralink {
    44   margin-top: -#VAR{acsBanniereHauteur,60px};
    45   padding-top: #VAR{acsBanniereExtraTop,5px};
    46   margin-right: 5px;
    47   float: right;
    48 }
  • _plugins_/acs/trunk/sets/cat/composants/banniere/banniere.html

    r87415 r87433  
    11[(#CACHE{0})]<div id="banniere" class="screen_only #PINCEAU{banniere}">
    2   [(#VAR{acsBanniereLogo}|=={oui}|?{' '})
    3     [(#REM) Afficher le logo ou le titre du site ]
    4     <a rel="start" href="#URL_SITE_SPIP/">
    5     [(#LOGO_SITE_SPIP||?{
    6     [(#LOGO_SITE_SPIP
    7       ||image_reduire{770,200}
    8       |inserer_attribut{alt,[(#NOM_SITE_SPIP|textebrut)]}
    9       |inserer_attribut{title,[(#NOM_SITE_SPIP|textebrut)]}
    10       |inserer_attribut{class,logo}
    11       )]
    12     ,
    13     <span id="nom_site_spip" class="logo">#NOM_SITE_SPIP</span>
    14     })]
    15     </a>
    16   ]
    17   <table class="bantab">
    18     <tr>
    19       <td class="bantd">
    20         [(#VAR{acsBanniereImage}|=={''}|?{' '}) <a href="#URL_SITE_SPIP" class="nom_site">&nbsp;#NOM_SITE_SPIP&nbsp;</a>]
    21         [(#VAR{acsBanniereImage}|!={''}|?{' '}) <a href="#URL_SITE_SPIP" class="nom_site"><img class="banimg" src="[(#ACS_CHEMIN{banniere/#VAR{acsBanniereImage}})]" title="#NOM_SITE_SPIP" onmouseover="this.src='spip.php?action=wrap&amp;cadre=#CHEMIN{composants/banniere/bnr/banner.php}&amp;exclut=#VAR{acsBanniereImage}';" onmouseout="this.src='[(#ACS_CHEMIN{banniere/#VAR{acsBanniereImage}})]';" alt="#NOM_SITE_SPIP" /></a>]
    22       </td>
    23     </tr>
    24   </table>
     2[(#VAR{acsBanniereLogo}|=={oui}|?{' '})
     3        <a rel="start" href="#URL_SITE_SPIP/">
     4        [(#LOGO_SITE_SPIP||?{
     5        [(#LOGO_SITE_SPIP
     6          ||image_reduire{770,200}
     7          |inserer_attribut{alt,[(#NOM_SITE_SPIP|textebrut)]}
     8          |inserer_attribut{title,[(#NOM_SITE_SPIP|textebrut)]}
     9          |inserer_attribut{class,logo}
     10          )]
     11        ,
     12        <span id="nom_site_spip" class="logo">#NOM_SITE_SPIP</span>
     13        })]
     14        </a>][
     15(#VAR{acsBanniereImage}|=={''}|?{' '})<a href="#URL_SITE_SPIP" class="nom_site">&nbsp;#NOM_SITE_SPIP&nbsp;</a>][
     16(#VAR{acsBanniereImage}|!={''}|?{' '})<a href="#URL_SITE_SPIP" class="nom_site"><img class="banimg" src="[(#ACS_CHEMIN{banniere/#VAR{acsBanniereImage}})]" title="#NOM_SITE_SPIP" onmouseover="this.src='spip.php?action=wrap&amp;cadre=#CHEMIN{composants/banniere/bnr/banner.php}&amp;exclut=#VAR{acsBanniereImage}';" onmouseout="this.src='[(#ACS_CHEMIN{banniere/#VAR{acsBanniereImage}})]';" alt="#NOM_SITE_SPIP" /></a>]
    2517</div>
Note: See TracChangeset for help on using the changeset viewer.