/**
 * @class Ext.grid.plugin.RowExpander
 */

/**
 * @var {number}
 * The height of the RowExpander icon
 */
$row-expander-height: dynamic(11px);

/**
 * @var {number}
 * The width of the RowExpander icon
 */
$row-expander-width: dynamic(11px);

/**
 * @var {number}
 * The horizontal space before the RowExpander icon
 */
$row-expander-cell-spacing-before: dynamic(6px);

/**
 * @var {number}
 * The horizontal space after the RowExpander icon
 */
$row-expander-cell-spacing-after: dynamic(6px);

/**
 * @var {string}
 * The cursor for the RowExpander icon
 */
$row-expander-cursor: dynamic(pointer);

// private
$row-expander-cell-padding:
    max(ceil(($grid-row-height - $row-expander-height) / 2), 0)
    $row-expander-cell-spacing-after
    max(floor(($grid-row-height - $row-expander-height) / 2), 0)
    $row-expander-cell-spacing-before;

/**
 * @var {color}
 * The color to use for the RowExpander icon when {@link Global_CSS#$enable-font-icons} is `true`.
 */
$row-expander-glyph-color: dynamic($color);

/**
 * @var {number}
 * The font size for the RowExpander icon when {@link Global_CSS#$enable-font-icons} is `true`.
 */
$row-expander-glyph-font-size: dynamic(14px);

/**
 * @var {string/list}
 * Glyph for the RowExpander's "expand" icon when {@link Global_CSS#$enable-font-icons} is `true`.
 */
$row-expander-expand-glyph: dynamic($fa-var-plus-square $row-expander-glyph-font-size $font-icon-font-family);

/**
 * @var {string/list}
 * Glyph for the RowExpander's "collapse" icon when {@link Global_CSS#$enable-font-icons} is `true`.
 */
$row-expander-collapse-glyph: dynamic($fa-var-minus-square $row-expander-glyph-font-size $font-icon-font-family);
