2 * Button mixin- creates 3d-ish button effect with correct
3 * highlights/shadows, based on a base color.
5 @mixin button( $button-color, $text-color: white ) {
6 background: $button-color;
7 border-color: darken( $button-color, 10% );
9 box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
13 background: darken( $button-color, 5% );
14 border-color: darken( $button-color, 15% );
16 box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
20 background: darken( $button-color, 10% );
21 border-color: darken( $button-color, 15% );
23 box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
28 &.button-primary-disabled,
30 color: hsl( hue( $button-color ), 10%, 80% ) !important;
31 background: darken( $button-color, 8% ) !important;
32 border-color: darken( $button-color, 15% ) !important;
33 text-shadow: none !important;