/** * @class Ext.grid.cell.Check */ /** * @var {number/list} * Check cell padding */$checkcell-padding: dynamic(4px 0); /** * @var {number/list} * Check cell padding in the {@link Global_CSS#$enable-big big} sizing scheme */$checkcell-padding-big: dynamic(6px 0); /** * @var {number} * Check cell checkbox size */$checkcell-checkbox-size: dynamic($checkcolumn-checkbox-size); /** * @var {number} * Check cell checkbox size in the {@link Global_CSS#$enable-big big} sizing scheme */$checkcell-checkbox-size-big: dynamic($checkcolumn-checkbox-size-big); /** * @var {number} * Check cell checkbox font-size */$checkcell-checkbox-font-size: dynamic(null); /** * @var {number} * Check cell checkbox font-size in the {@link Global_CSS#$enable-big big} sizing scheme */$checkcell-checkbox-font-size-big: dynamic(null); /** * @var {string/list} * Check cell checkbox icon */$checkcell-checkbox-icon: dynamic($checkcolumn-checkbox-icon); /** * @var {string/list} * Check cell checkbox icon when checked */$checkcell-checked-checkbox-icon: dynamic($checkcolumn-checked-checkbox-icon); /** * @var {color} * Check cell checkbox color */$checkcell-checkbox-color: dynamic($checkcolumn-checkbox-color); /** * @var {color} * Check cell checkbox color when checked */$checkcell-checked-checkbox-color: dynamic($checkcolumn-checked-checkbox-color); /** * @var {color} * Check cell checkbox opacity when disabled */$checkcell-disabled-checkbox-opacity: dynamic($checkcolumn-disabled-checkbox-opacity); /** * @var {color} * Check cell checkbox color when disabled */$checkcell-disabled-checkbox-color: dynamic($checkcolumn-disabled-checkbox-color); /** * @var {color} * Check cell checkbox color when focused */$checkcell-focused-checkbox-color: dynamic($checkcolumn-focused-checkbox-color); /** * Creates a visual theme for a check cell. * * @param {string} $ui * The name of the UI being created. Can not included spaces or special punctuation * (used in CSS class names). * * @param {String} [$xtype=checkcell] (protected) The {@link Ext.Class#xtype} to use * in CSS selectors. For use by UI mixins of derived classes. * * @param {number/list} $padding * Check cell padding * * @param {number/list} $padding-big * Check cell padding in the {@link Global_CSS#$enable-big big} sizing scheme * * @param {number} $checkbox-size * Check cell checkbox size * * @param {number} $checkbox-size-big * Check cell checkbox size in the {@link Global_CSS#$enable-big big} sizing scheme * * @param {number} $checkbox-font-size * Check cell checkbox font-size * * @param {number} $checkbox-font-size-big * Check cell checkbox font-size in the {@link Global_CSS#$enable-big big} sizing scheme * * @param {string/list} $checkbox-icon * Check cell checkbox icon * * @param {string/list} $checked-checkbox-icon * Check cell checkbox icon when checked * * @param {color} $checkbox-color * Check cell checkbox color * * @param {color} $checked-checkbox-color * Check cell checkbox color when checked * * @param {color} $disabled-checkbox-opacity * Check cell checkbox opacity when disabled * * @param {color} $disabled-checkbox-color * Check cell checkbox color when disabled * * @param {color} $focused-checkbox-color * Check cell checkbox color when focused */@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; } }}