$checkcell-padding: dynamic(4px 0);
$checkcell-padding-big: dynamic(6px 0);
$checkcell-checkbox-size: dynamic($checkcolumn-checkbox-size);
$checkcell-checkbox-size-big: dynamic($checkcolumn-checkbox-size-big);
$checkcell-checkbox-font-size: dynamic(null);
$checkcell-checkbox-font-size-big: dynamic(null);
$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);
$checkcell-focused-checkbox-color: dynamic($checkcolumn-focused-checkbox-color);
@mixin checkcell-ui(
$ui: null,
$xtype: 'checkcell',
$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,
$focused-checkbox-color: null
) {
$ui-suffix: ui-suffix($ui);
$arguments: intersect-arguments(checkcell-ui, gridcell-ui);
@include gridcell-ui($arguments...);
.#{$prefix}#{$xtype}#{$ui-suffix} {
.#{$prefix}checkbox-el {
@include icon(
$icon: $checkbox-icon,
$color: $checkbox-color,
$size: $checkbox-size,
$size-big: $checkbox-size-big,
$font-size: $checkbox-font-size,
$font-size-big: $checkbox-font-size-big
);
}
&.#{$prefix}checked .#{$prefix}checkbox-el,
.#{$prefix}selected > * &.#{$prefix}selection-cell .#{$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;
}
.#{$prefix}checkbox-el:focus {
color: $focused-checkbox-color;
}
}
}