table-ag-grid.scss 2.9 KB

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