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

26 lines
434 B
SCSS
Raw Normal View History

2013-10-11 22:06:20 +02:00
.button { @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;
}