mixin bouton + debug

This commit is contained in:
chankalan 2020-12-07 18:05:04 +01:00
parent 2ce741a518
commit dc457b026c
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,5 @@
<INCLURE{fond=aside,article,env} />
<INCLURE{fond=aside/article,env} />
[(#REM) Articles dans la meme rubrique ] [(#REM) Articles dans la meme rubrique ]
<B_articles_rubrique> <B_articles_rubrique>
@ -9,5 +10,4 @@
</BOUCLE_articles_rubrique> </BOUCLE_articles_rubrique>
</ul> </ul>
[<p class="pagination">(#PAGINATION{page})</p>] [<p class="pagination">(#PAGINATION{page})</p>]
</B_articles_rubrique> </B_articles_rubrique>

View File

@ -320,9 +320,9 @@ textarea {
// Boutons // Boutons
//---------------------------------------- //----------------------------------------
.button /*, .button,
.formulaire_spip button, .formulaire_spip button,
.formulaire_spip input[type=submit] */ .formulaire_spip input[type=submit]
{ {
@include bouton($couleur-boutons); @include bouton($couleur-boutons);

View File

@ -102,7 +102,7 @@
} }
@mixin bouton($clair:#fff, $sombre:$couleurPrincipale, $survol:$couleurSecondaire) { @mixin bouton($sombre:$couleurPrincipale, $clair:#fff, $survol:$couleurSecondaire) {
display: inline-block; display: inline-block;
line-height: 1.2; line-height: 1.2;
@ -114,19 +114,19 @@
font-family:$typo-Merriweather; font-family:$typo-Merriweather;
border-radius:($spacer/4); border-radius:($spacer/4);
background:$sombre; background:$sombre;
color:$clair; color:$clair !important;
font-weight:700; font-weight:700;
padding: ($spacer/2) $spacer; padding: ($spacer/2) $spacer;
&:hover { &:hover {
background-color: $survol; background-color: $survol;
text-decoration: none; text-decoration: none;
color: $clair; color: $clair !important;
} }
&:focus { &:focus {
background-color: $clair !important; background-color: lighten($survol,10%);
text-decoration: none; text-decoration: none;
color: $sombre; color: $clair !important;
} }
&[disabled=disabled] { &[disabled=disabled] {
background: desaturate($clair, 45%); background: desaturate($clair, 45%);