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

29 lines
778 B
SCSS
Raw Normal View History

2012-11-28 17:23:08 +01:00
// ===========================================================================
// BUTTONS
2013-02-09 04:10:33 +01:00
$button-background-color: $hopbush !default;
$button-background-hover-color: $bouquet !default;
$button-background-active-color: $venus !default;
$button-text-color: $white !default;
2012-11-28 17:23:08 +01:00
.button {
2013-02-09 04:10:33 +01:00
@extend %caps;
padding: 0 1em;
@include tappable;
border: 0;
2012-11-28 17:23:08 +01:00
@include border-radius(.25em);
width: 100%;
2013-02-09 04:10:33 +01:00
text-align: center;
vertical-align: middle;
2012-11-28 17:23:08 +01:00
background: $button-background-color;
2013-02-09 04:10:33 +01:00
@include box-shadow-both;
2012-11-28 17:23:08 +01:00
@include link($button-text-color, $button-text-color, $button-text-color);
2013-02-09 04:10:33 +01:00
@include text-shadow-dark;
2012-11-28 17:23:08 +01:00
#{$hover} { background: $button-background-hover-color; }
&:active { background: $button-background-active-color; }
}