Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
983 B

/**
* @class Ext.grid.column.Action
*/
/**
* @var {number}
* The height of action column icons
*/
$grid-actioncolumn-icon-height: 16px !default;
/**
* @var {number}
* The width of action column icons
*/
$grid-actioncolumn-icon-width: 16px !default;
/**
* @var {string}
* The type of cursor to display when the cursor is over an action column icon
*/
$grid-actioncolumn-icon-cursor: pointer !default;
/**
* @var {number}
* The opacity of disabled action column icons
*/
$grid-actioncolumn-icon-opacity-disabled: .3 !default;
/**
* @var {number}
* The amount of padding to add to the left and right of the action column cell
*/
$grid-actioncolumn-horizontal-padding: 2px !default;
//private
$grid-actioncolumn-cell-padding:
max(ceil(($grid-row-height - $grid-actioncolumn-icon-height) / 2), 0)
$grid-actioncolumn-horizontal-padding
max(floor(($grid-row-height - $grid-actioncolumn-icon-height) / 2), 0)
$grid-actioncolumn-horizontal-padding