// Foundation by ZURB // foundation.zurb.com // Licensed under MIT Open Source @import "global"; // // @variables // $include-html-button-classes: $include-html-classes !default; // We use these to build padding for buttons. $button-tny: rem-calc(10) !default; $button-sml: rem-calc(14) !default; $button-med: rem-calc(16) !default; $button-lrg: rem-calc(18) !default; // We use this to control the display property. $button-display: inline-block !default; $button-margin-bottom: rem-calc(20) !default; // We use these to control button text styles. $button-font-family: $body-font-family !default; $button-font-color: #fff !default; $button-font-color-alt: #333 !default; $button-font-tny: rem-calc(11) !default; $button-font-sml: rem-calc(13) !default; $button-font-med: rem-calc(16) !default; $button-font-lrg: rem-calc(20) !default; $button-font-weight: normal !default; $button-font-align: center !default; // We use these to control various hover effects. $button-function-factor: -20% !default; // We use these to control button border styles. $button-border-width: 0px !default; $button-border-style: solid !default; // We use this to set the default radius used throughout the core. $button-radius: $global-radius !default; $button-round: $global-rounded !default; // We use this to set default opacity for disabled buttons. $button-disabled-opacity: 0.7 !default; // // @MIXIN // // We use this mixin to create a default button base. // // $style - Sets base styles. Can be set to false. Default: true. // $display - Used to control display property. Default: $button-display || inline-block @mixin button-base($style:true, $display:$button-display) { @if $style { border-style: $button-border-style; border-width: $button-border-width; cursor: $cursor-pointer-value; font-family: $button-font-family; font-weight: $button-font-weight; line-height: normal; margin: 0 0 $button-margin-bottom; position: relative; text-decoration: none; text-align: $button-font-align; } @if $display { display: $display; } } // @MIXIN // // We use this mixin to add button size styles // // $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12) // $full-width - We can set $full-width:true to remove side padding extend width - Default: false // $is-input - 's and