$checkcell-padding: dynamic(0);
$checkcell-padding-big: dynamic(0);
$checkcell-checkbox-size: dynamic($checkcolumn-checkbox-size);
$checkcell-checkbox-size-big: dynamic($checkcolumn-checkbox-size-big);
$checkcell-checkbox-font-size: dynamic($checkcolumn-checkbox-font-size);
$checkcell-checkbox-font-size-big: dynamic($checkcolumn-checkbox-font-size-big);
$checkcell-checkbox-icon: dynamic($checkcolumn-checkbox-icon);
$checkcell-checked-checkbox-icon: dynamic($checkcolumn-checked-checkbox-icon);
$checkcell-checkbox-color: dynamic($checkcolumn-checkbox-color);
$checkcell-checked-checkbox-color: dynamic($checkcolumn-checked-checkbox-color);
$checkcell-disabled-checkbox-opacity: dynamic($checkcolumn-disabled-checkbox-opacity);
$checkcell-disabled-checkbox-color: dynamic($checkcolumn-disabled-checkbox-color);
@mixin checkcell-ui(
$ui: null,
$padding: null,
$padding-big: null,
$checkbox-size: null,
$checkbox-size-big: null,
$checkbox-font-size: null,
$checkbox-font-size-big: null,
$checkbox-icon: null,
$checked-checkbox-icon: null,
$checkbox-color: null,
$checked-checkbox-color: null,
$disabled-checkbox-opacity: null,
$disabled-checkbox-color: null
) {
$ui-suffix: ui-suffix($ui);
.#{$prefix}checkcell#{$ui-suffix} {
padding: $padding;
@if $enable-big {
.#{$prefix}big & {
padding: $padding-big;
}
}
.#{$prefix}checkbox-el {
height: $checkbox-size;
width: $checkbox-size;
color: $checkbox-color;
@if $enable-big {
.#{$prefix}big & {
height: $checkbox-size-big;
width: $checkbox-size-big;
}
}
@include icon(
$icon: $checkbox-icon,
$font-size: $checkbox-font-size,
$font-size-big: $checkbox-font-size-big
);
}
&.#{$prefix}checked .#{$prefix}checkbox-el {
color: $checked-checkbox-color;
@include icon($checked-checkbox-icon);
}
&.#{$prefix}disabled .#{$prefix}checkbox-el {
color: $disabled-checkbox-color;
opacity: $disabled-checkbox-opacity;
}
}
}