@import "../../themes/ionic.globals.md";

@import "../item/item.md.vars";

// Material Design Checkbox
// --------------------------------------------------

/// @prop - Opacity of the disabled checkbox
$checkbox-md-disabled-opacity:           .3 !default;

/// @prop - Background color of the checkbox icon when off
$checkbox-md-icon-background-color-off:  $item-md-background-color !default;

/// @prop - Background color of focus indicator for checkbox when focused
$checkbox-md-background-color-focused:   ion-color($colors-md, primary, tint, md) !default;

/// @prop - Background color of the checkbox icon when on
$checkbox-md-icon-background-color-on:   ion-color($colors-md, primary, base, md) !default;

/// @prop - Size of the checkbox icon
$checkbox-md-icon-size:                  16px !default;

/// @prop - Width of the checkbox icon checkmark
$checkbox-md-icon-checkmark-width:       2px !default;

/// @prop - Style of the checkbox icon checkmark
$checkbox-md-icon-checkmark-style:       solid !default;

/// @prop - Color of the checkbox icon checkmark
$checkbox-md-icon-checkmark-color:       ion-color($colors-md, $checkbox-md-icon-background-color-on, contrast, md) !default;

/// @prop - Border width of the checkbox icon
$checkbox-md-icon-border-width:          2px !default;

/// @prop - Border style of the checkbox icon
$checkbox-md-icon-border-style:          solid !default;

/// @prop - Border radius of the checkbox icon
$checkbox-md-icon-border-radius:         2px !default;

/// @prop - Border color of the checkbox icon when off
$checkbox-md-icon-border-color-off:      $border-md-color !default;

/// @prop - Border color of the checkbox icon when on
$checkbox-md-icon-border-color-on:       ion-color($colors-md, primary, base, md) !default;

/// @prop - Transition duration of the checkbox
$checkbox-md-transition-duration:        280ms !default;

/// @prop - Transition easing of the checkbox
$checkbox-md-transition-easing:          cubic-bezier(.4, 0, .2, 1) !default;

/// @prop - Margin top of the start checkbox item
$checkbox-md-item-start-margin-top:      9px !default;

/// @prop - Margin end of the start checkbox item
$checkbox-md-item-start-margin-end:      36px !default;

/// @prop - Margin bottom of the start checkbox item
$checkbox-md-item-start-margin-bottom:   $checkbox-md-item-start-margin-top !default;

/// @prop - Margin start of the start checkbox item
$checkbox-md-item-start-margin-start:    4px !default;

/// @prop - Margin top of the end checkbox item
$checkbox-md-item-end-margin-top:        11px !default;

/// @prop - Margin end of the end checkbox item
$checkbox-md-item-end-margin-end:        10px !default;

/// @prop - Margin bottom of the end checkbox item
$checkbox-md-item-end-margin-bottom:     10px !default;

/// @prop - Margin start of the end checkbox item
$checkbox-md-item-end-margin-start:      0 !default;
