Browse Source

On met un lien télécharger visible. On fait au plus simple/rapide pour le moment.

svn/root
marcimat@rezo.net 4 years ago
parent
commit
c20f3bb01e
  1. 4
      header/dist.html
  2. 34
      scss/galactic_theme.scss

4
header/dist.html

@ -4,7 +4,11 @@
(#MODELE{logo_svg_sinon_logo_site_spip})
<span class="visuallyhidden"><:accueil_site:></span>
</a>]
<INCLURE{fond=inclure/menu_lang}{lang} />
[(#REM) Lien vers la page download ]
<a class="lien_download" href="[(#ENV{lang})_]download" title="<:bouton_download|attribut_html:>">#MODELE{download_bouton}</a>
</div>
<div class="header__search">
#FORMULAIRE_RECHERCHE

34
scss/galactic_theme.scss

@ -283,4 +283,38 @@ $couleur-nav-chapitres: $couleur-lien-hover;
padding: 0.2em 1em;
}
/** temporaire ! */
.header__nav a.lien_download {
display: inline-block;
float: right;
margin-right:1em;
@include media($bp-small) {
display:none;
}
.download__span {
position: relative;
display: inline-block;
padding: 1em 3em 1em 1em;
background-color: #1675E1;
font-size: 0.9em;
font-style: italic;
color: white;
&:after {
content: ' ';
display: block;
position: absolute;
right: 1em;
top: 50%;
transform: translateY(-50%);
background: url(../images/icone-telecharger.svg) center no-repeat;
@include vendor-prefix('background-size', 1.2em);
width: 1.2em;
height: 1.2em;
}
}
}
@import "scss/theme/onglets";
Loading…
Cancel
Save