mixin bouton + debug
This commit is contained in:
parent
2ce741a518
commit
dc457b026c
@ -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>
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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%);
|
||||||
|
Loading…
Reference in New Issue
Block a user