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

29 lines
461 B
SCSS
Raw Normal View History

.button {
@extend %reset-margin;
@extend %button;
}
2012-11-28 17:23:08 +01:00
2013-10-09 12:30:53 +02:00
.primary {
background-color: $color-primary;
2013-10-11 22:06:20 +02:00
border-color: darken($color-primary, 5);
2012-11-28 17:23:08 +01:00
2013-10-09 12:30:53 +02:00
&,
2013-10-12 23:39:55 +02:00
&:visited,
2013-10-11 22:06:20 +02:00
&:hover,
&:focus,
&:active,
&.active { color: $color-text-strong-invert; }
2012-11-28 17:23:08 +01:00
2013-10-11 22:06:20 +02:00
&:hover,
&:focus,
&:active
&.active { background-color: darken($color-primary, 8%); }
2013-10-09 12:30:53 +02:00
}
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;
}