footer.less 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .ui-grid-footer-panel-background {
  2. .gradient(@headerBackgroundColor, @headerGradientStart, @headerGradientStop);
  3. }
  4. @topPanelRadius: @gridBorderRadius - @gridBorderWidth;
  5. .ui-grid-footer-panel {
  6. position: relative;
  7. // z-index: 1;
  8. // background-color: @darkGray; // #EAEAEA
  9. border-bottom: 1px solid @borderColor; // #D4D4D4
  10. border-top: 1px solid @borderColor;
  11. overflow: hidden; // Disable so menus show up
  12. font-weight: bold;
  13. // .gradient(@headerBackgroundColor, @headerGradientStart, @headerGradientStop);
  14. .ui-grid-footer-panel-background;
  15. .border-radius(@topPanelRadius, 0, 0, @topPanelRadius);
  16. }
  17. .ui-grid-grid-footer {
  18. float: left;
  19. width: 100%;
  20. }
  21. .ui-grid-footer-viewport {
  22. overflow: hidden; // Disable so menus show up
  23. }
  24. .ui-grid-footer-canvas {
  25. position: relative;
  26. // Clearfix for floating header cells
  27. &:before, &:after {
  28. content: "";
  29. display: table;
  30. line-height: 0;
  31. }
  32. &:after {
  33. clear:both;
  34. }
  35. // .border-radius(@gridBorderRadius, 0, 0, @gridBorderRadius);
  36. }
  37. .ui-grid-footer-cell-wrapper {
  38. position: relative;
  39. display: table;
  40. box-sizing: border-box;
  41. height: 100%;
  42. }
  43. .ui-grid-footer-cell-row {
  44. display: table-row;
  45. }
  46. .ui-grid-footer-cell {
  47. overflow: hidden;
  48. // position: relative; // NOTE: removing so border is visible
  49. background-color: inherit;
  50. border-right: @gridBorderWidth solid;
  51. border-color: @borderColor;
  52. box-sizing: border-box;
  53. display: table-cell;
  54. &:last-child {
  55. border-right: 0;
  56. }
  57. }
  58. input[type="text"].ui-grid-filter-input {
  59. padding: 0;
  60. margin: 0;
  61. border: 0;
  62. width: 100%;
  63. border: @gridBorderWidth solid @borderColor;
  64. .border-radius(@gridBorderRadius);
  65. &:hover {
  66. border: @gridBorderWidth solid @borderColor;
  67. }
  68. }