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

28 lines
452 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 {
2018-10-24 00:06:39 +02:00
background-color: darken($color-primary, 10%);
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-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 {
2018-10-24 00:06:39 +02:00
box-shadow: none;
2013-10-09 12:30:53 +02:00
border-color: transparent;
background: none;
color: inherit;
}