RowEditing.scss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /**
  2. * @class Ext.grid.plugin.RowEditing
  3. */
  4. /**
  5. * @var {color}
  6. * The background-color of the RowEditor
  7. */
  8. $grid-row-editor-background-color: dynamic($panel-frame-background-color);
  9. /**
  10. * @var {color}
  11. * The border-color of the RowEditor
  12. */
  13. $grid-row-editor-border-color: dynamic($panel-border-color);
  14. /**
  15. * @var {number}
  16. * The border-width of the RowEditor
  17. */
  18. $grid-row-editor-border-width: dynamic(1px);
  19. // private
  20. $grid-row-editor-border: dynamic($grid-row-editor-border-width solid $grid-row-editor-border-color);
  21. /**
  22. * @var {number/list}
  23. * The padding of the RowEditor
  24. */
  25. $grid-row-editor-padding: dynamic(4px 0 4px 0);
  26. /**
  27. * @var {number}
  28. * The amount of space in between the editor fields
  29. */
  30. $grid-row-editor-field-spacing: dynamic(2px);
  31. /**
  32. * @var {number}
  33. * The space between the RowEditor buttons
  34. */
  35. $grid-row-editor-button-spacing: dynamic(4px);
  36. /**
  37. * @var {number}
  38. * The border-radius of the RowEditor button container
  39. */
  40. $grid-row-editor-button-container-border-radius: dynamic(5px);
  41. /**
  42. * @var {number/list}
  43. * The padding of the RowEditor button container
  44. */
  45. $grid-row-editor-button-container-padding: dynamic(4px);
  46. /**
  47. * @var {number/list}
  48. * Padding to apply to the body element of the error tooltip
  49. */
  50. $grid-row-editor-error-tip-body-padding: dynamic(5px);
  51. /**
  52. * @var {string}
  53. * The list-style of the error tooltip's list items
  54. */
  55. $grid-row-editor-error-tip-list-style: dynamic(disc);
  56. /**
  57. * @var {number}
  58. * Space to add before each list item on the error tooltip
  59. */
  60. $grid-row-editor-error-tip-list-spacing: dynamic(15px);
  61. // private
  62. $grid-row-editor-field-padding:
  63. top($grid-cell-field-padding)
  64. max((right($grid-cell-field-padding) - ceil($grid-row-editor-field-spacing / 2)), 0)
  65. bottom($grid-cell-field-padding)
  66. max((left($grid-cell-field-padding) - floor($grid-row-editor-field-spacing / 2)), 0);