ancres sommaire

This commit is contained in:
chankalan 2020-10-09 08:30:19 +02:00
parent 81c154ae51
commit 642ab02d98
2 changed files with 11 additions and 13 deletions

View File

@ -35,16 +35,16 @@
<div class="main">
[<div class="#EDIT{chapo} article__chapo">(#CHAPO|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>]
[<div class="#EDIT{chapo} article__chapo">(#CHAPO|ancres_sommaire|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>]
[<div class="#EDIT{texte} article__texte">(#TEXTE|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>]
[<div class="#EDIT{texte} article__texte">(#TEXTE|ancres_sommaire|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>]
</div>
<footer>
[<div class="ps">
<div class="#EDIT{ps} article__ps">(#PS|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>
<div class="#EDIT{ps} article__ps">(#PS|ancres_sommaire|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>
</div>]
[(#INCLURE{fond=inclure/documents,id_article})]

View File

@ -9,7 +9,7 @@
}
@mixin bouton($clair:#fff, $sombre:$couleurPrincipale) {
@mixin bouton($clair:#fff, $sombre:$couleurPrincipale, $survol:$couleurSecondaire) {
$couleurSaturate : saturate($clair, 45%);
$couleurSaturateLight : lighten($couleurSaturate, 10%);
@ -51,9 +51,9 @@ $couleurSaturateLight : lighten($couleurSaturate, 10%);
display:none;
}
&:hover {
background-color: darken($clair,15%);
background-color: $survol;
text-decoration: none;
color: $sombre;
color: $clair;
}
&:focus {
background-color: $couleurSaturateLight !important;
@ -74,12 +74,10 @@ $couleurSaturateLight : lighten($couleurSaturate, 10%);
color: $sombre;
}
}
&:hover .fas:before {
color: $sombre;
}
&:focus .fas:before {
color: $sombre;
&:hover .fas:before, &:focus .fas:before {
color: $clair;
}
}
@ -352,12 +350,12 @@ $couleurSaturateLight : lighten($couleurSaturate, 10%);
margin:($spacer*2) 0;
.sommaire_titre {
font-size:0.8rem;
@include bouton(#9dccd1,$couleurPrincipale);
@include bouton();
&.plein {
border-radius:0;
}
&:hover, &:hover .fas {
color:darken($couleurPrincipale,10%);
/* color:darken($couleurPrincipale,10%); */
}
}
> ul {