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% );
20
box-shadow: inset 0 1px 0 lighten( $button-color, 10% ),
22
0 0 2px 1px rgba( 30, 140, 190, .8 );
26
background: darken( $button-color, 10% );
27
border-color: darken( $button-color, 15% );
29
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
31
0 0 2px 1px rgba( 30, 140, 190, .8 );
36
&.button-primary-disabled,
38
color: hsl( hue( $button-color ), 10%, 80% ) !important;
39
background: darken( $button-color, 8% ) !important;
40
border-color: darken( $button-color, 15% ) !important;
41
text-shadow: none !important;