aggrid.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. // ================================================================================================
  2. // File Name: aggrid.scss
  3. // Description: SCC file for Aggrid.
  4. // ----------------------------------------------------------------------------------------------
  5. // Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
  6. // Author: PIXINVENT
  7. // Author URL: http://www.themeforest.net/user/pixinvent
  8. // ================================================================================================
  9. // Core variables and mixins
  10. @import "../bootstrap/functions";
  11. @import "../bootstrap/mixins";
  12. @import "../bootstrap-extended/mixins";
  13. // Load variable overrides
  14. @import "../core/variables/variables";
  15. @import "../bootstrap/variables";
  16. // Overrides user variable
  17. @import "../core/variables/components-variables";
  18. .aggrid {
  19. height: 600px;
  20. font-size: 1rem;
  21. color: $body-color;
  22. // Checkbox Color
  23. .ag-icon-checkbox-checked,
  24. .ag-icon-checkbox-indeterminate {
  25. color: $primary;
  26. }
  27. /*** TABLE BODY HEIGHT - FOOTER HEIGHT ***/
  28. .ag-root-wrapper-body {
  29. min-height: calc(100% - 56px);
  30. }
  31. /*** HEADER TEXT ***/
  32. .ag-header-cell-text {
  33. font-size: 1rem;
  34. font-family: $font-family-sans-serif;
  35. }
  36. /*** PAGINATION STYLING ***/
  37. .ag-paging-panel {
  38. display: block !important;
  39. align-items: center;
  40. height: 98px;
  41. .ag-paging-row-summary-panel {
  42. display: none;
  43. }
  44. .ag-paging-page-summary-panel {
  45. justify-content: center;
  46. margin-left: 0;
  47. margin-top: 18px;
  48. [ref="lbCurrent"],
  49. [ref="lbTotal"] {
  50. color: $white;
  51. padding: 0.7rem 0.95rem;
  52. border-radius: 0.5rem;
  53. }
  54. }
  55. .ag-paging-button {
  56. background-color: $gray-300;
  57. border-radius: 50%;
  58. padding: 0.5rem 0rem;
  59. margin: 0 0.5rem;
  60. color: $body-color !important;
  61. .ag-icon {
  62. color: $body-color !important;
  63. opacity: 1 !important;
  64. }
  65. &.ag-disabled {
  66. opacity: 0.5 !important;
  67. }
  68. }
  69. span[ref="lbCurrent"] {
  70. background-color: $primary;
  71. }
  72. span[ref="lbTotal"] {
  73. background-color: $gray-300;
  74. color: $body-color !important;
  75. }
  76. }
  77. /*** TABLE SCROLLBAR ***/
  78. ::-webkit-scrollbar {
  79. width: 10px;
  80. height: 10px;
  81. }
  82. ::-webkit-scrollbar-thumb {
  83. background: $gray-300;
  84. border-radius: 20px;
  85. }
  86. ::-webkit-scrollbar-track {
  87. background: $body-bg;
  88. border-radius: 20px;
  89. }
  90. }
  91. /*** PAGE FILTER DROPDOWN ***/
  92. .filter-btn {
  93. padding: 1.2rem !important;
  94. border-radius: 5rem;
  95. font-size: 0.95rem;
  96. &:after {
  97. left: 5px;
  98. }
  99. }
  100. /*** SORTING DROPDOWN WIDTH ***/
  101. .sort-dropdown {
  102. .dropdown-menu {
  103. min-width: 4rem;
  104. }
  105. }