cheatsheets/_sass/2017/placeholders/push-button.scss

35 lines
510 B
SCSS

%push-button {
display: inline-block;
text-decoration: none;
padding: 8px 16px;
border-radius: 3px;
&,
&:visited {
background-color: $base-a;
background: $base-a-gradient;
color: white;
}
&:hover,
&:focus {
background: darken($base-a, 16%);
box-shadow: none;
color: white;
}
}
%push-button.-dark {
&,
&:visited {
background: darken($base-a, 16%);
color: white;
}
&:hover,
&:focus {
background: darken($base-a, 24%);
color: white;
}
}