63 lines
1.2 KiB
SCSS
63 lines
1.2 KiB
SCSS
/*
|
|
* 3. Buttons and labels
|
|
* All clickable elements
|
|
*
|
|
*/
|
|
|
|
.btn {
|
|
@include button($button_large);
|
|
&:hover, &:active {
|
|
@include borders();
|
|
}
|
|
|
|
p &:last-child {
|
|
margin-bottom:0;
|
|
}
|
|
}
|
|
|
|
.btn-small {
|
|
@include button($button_small);
|
|
padding-left: $button_small;
|
|
padding-right: $button_small;
|
|
text-decoration:none;
|
|
}
|
|
|
|
// COLORIZE BUTTONS
|
|
|
|
.btn {
|
|
@each $name, $color in list-colors() {
|
|
&-#{$name} {
|
|
@include button-color(get-color($name));
|
|
}
|
|
}
|
|
}
|
|
|
|
/* ------------------ PARTAGE RESEAUX SOCIAUX ------------------- */
|
|
|
|
.share-buttons {
|
|
margin-top: $lineheight;
|
|
padding-bottom: $lineheight;
|
|
}
|
|
|
|
.reagir {
|
|
text-align:right;
|
|
}
|
|
|
|
.btn, a.btn {
|
|
&-facebook {@include button-color(#3B5998);}
|
|
&-twitter {@include button-color(#55ACEE);}
|
|
&-googleplus {@include button-color(#d34836);}
|
|
&-diaspora {@include button-color(#313739);}
|
|
&-mastodon {@include button-color(#282c37);}
|
|
}
|
|
|
|
strong.btn-fake {
|
|
@include button($button_large);
|
|
@include button-fullcontrol(transparent, transparent, rgba(0,0,0,1));
|
|
}
|
|
|
|
.btn-readmore, .btn-link {
|
|
@include button-fullcontrol(transparent, accentuate($color-background-alt), $color-primary);
|
|
@include prefer-no-borders();
|
|
}
|