HeaderContainer.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /**
  2. * @class Ext.grid.HeaderContainer
  3. */
  4. /**
  5. * @var {number}
  6. * Header container border-width
  7. */
  8. $headercontainer-border-width: dynamic(0 0 1px);
  9. /**
  10. * @var {string}
  11. * Header container border-style
  12. */
  13. $headercontainer-border-style: dynamic(solid);
  14. /**
  15. * @var {color}
  16. * Header container border-color
  17. */
  18. $headercontainer-border-color: dynamic($neutral-medium-dark-color);
  19. /**
  20. * @var {color}
  21. * Header container background-color
  22. */
  23. $headercontainer-background-color: dynamic($neutral-light-color);
  24. /**
  25. * Creates a visual theme for a grid header container.
  26. *
  27. * @param {string} $ui
  28. * The name of the UI being created. Can not included spaces or special punctuation
  29. * (used in CSS class names).
  30. *
  31. * @param {String} [$xtype=headercontainer] (protected) The {@link Ext.Class#xtype} to use
  32. * in CSS selectors. For use by UI mixins of derived classes.
  33. *
  34. * @param {number} $border-width
  35. * Header container border-width
  36. *
  37. * @param {string} $border-style
  38. * Header container border-style
  39. *
  40. * @param {color} $border-color
  41. * Header container border-color
  42. *
  43. * @param {color} $background-color
  44. * Header container $background-color
  45. */
  46. @mixin headercontainer-ui(
  47. $ui: null,
  48. $xtype: headercontainer,
  49. $border-width: null,
  50. $border-style: null,
  51. $border-color: null,
  52. $background-color: null
  53. ) {
  54. $ui-suffix: ui-suffix($ui);
  55. .#{$prefix}#{$xtype}#{$ui-suffix} {
  56. @include border($border-width, $border-style, $border-color);
  57. background-color: $background-color;
  58. }
  59. }