12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- /**
- * @class Ext.grid.plugin.RowEditing
- */
- /**
- * @var {color}
- * The background-color of the RowEditor
- */
- $grid-row-editor-background-color: dynamic($panel-frame-background-color);
- /**
- * @var {color}
- * The border-color of the RowEditor
- */
- $grid-row-editor-border-color: dynamic($panel-border-color);
- /**
- * @var {number}
- * The border-width of the RowEditor
- */
- $grid-row-editor-border-width: dynamic(1px);
- // private
- $grid-row-editor-border: dynamic($grid-row-editor-border-width solid $grid-row-editor-border-color);
- /**
- * @var {number/list}
- * The padding of the RowEditor
- */
- $grid-row-editor-padding: dynamic(4px 0 4px 0);
- /**
- * @var {number}
- * The amount of space in between the editor fields
- */
- $grid-row-editor-field-spacing: dynamic(2px);
- /**
- * @var {number}
- * The space between the RowEditor buttons
- */
- $grid-row-editor-button-spacing: dynamic(4px);
- /**
- * @var {number}
- * The border-radius of the RowEditor button container
- */
- $grid-row-editor-button-container-border-radius: dynamic(5px);
- /**
- * @var {number/list}
- * The padding of the RowEditor button container
- */
- $grid-row-editor-button-container-padding: dynamic(4px);
- /**
- * @var {number/list}
- * Padding to apply to the body element of the error tooltip
- */
- $grid-row-editor-error-tip-body-padding: dynamic(5px);
- /**
- * @var {string}
- * The list-style of the error tooltip's list items
- */
- $grid-row-editor-error-tip-list-style: dynamic(disc);
- /**
- * @var {number}
- * Space to add before each list item on the error tooltip
- */
- $grid-row-editor-error-tip-list-spacing: dynamic(15px);
- // private
- $grid-row-editor-field-padding:
- top($grid-cell-field-padding)
- max((right($grid-cell-field-padding) - ceil($grid-row-editor-field-spacing / 2)), 0)
- bottom($grid-cell-field-padding)
- max((left($grid-cell-field-padding) - floor($grid-row-editor-field-spacing / 2)), 0);
|