mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00

- remove scss-lint and sass-lint - add stylelint and stylelint-order packages and configuration - update all *.scss files to new syntax fixes #14805
75 lines
2.7 KiB
SCSS
75 lines
2.7 KiB
SCSS
@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-background-color !default;
|
|
|
|
/// @prop - Background color of focus indicator for checkbox when focused
|
|
$checkbox-md-background-color-focused: ion-color(primary, tint) !default;
|
|
|
|
/// @prop - Background color of the checkbox icon when on
|
|
$checkbox-md-icon-background-color-on: ion-color(primary, base) !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(primary, contrast) !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(primary, base) !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;
|