sass-site/source/assets/stylesheets/components/_buttons.scss

19 lines
387 B
SCSS
Raw Normal View History

2013-10-09 12:30:53 +02:00
$pseudos: "&:hover", "&:focus", "&:active", "&.active";
2012-11-28 17:23:08 +01:00
2013-10-09 12:30:53 +02:00
.primary {
background-color: $color-primary;
color-border: darken($color-primary, 5);
2012-11-28 17:23:08 +01:00
2013-10-09 12:30:53 +02:00
&,
#{$pseudos} { color: $color-text-strong-invert; }
2012-11-28 17:23:08 +01:00
2013-10-09 12:30:53 +02:00
#{$pseudos} { background-color: darken($color-primary, 8%); }
}
2013-02-09 04:10:33 +01:00
2013-10-09 12:30:53 +02:00
%clear-button {
@include box-shadow(none);
border-color: transparent;
background: none;
color: inherit;
}