_grid.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. .grid-column-header {
  2. a {
  3. color: darken($dark70, 5%);
  4. font-size: 1rem;
  5. }
  6. a:hover, a.active {
  7. color: $primary-darker;
  8. }
  9. }
  10. // 排序图标
  11. .grid-sort {
  12. display: inline-block;
  13. margin: -2px -4px 0 3px;
  14. height: 15px;
  15. .up:before {
  16. font-family: "feather";
  17. padding-right: 0.3rem;
  18. font-size: 0.7rem;
  19. content: "\E845";
  20. }
  21. .down {
  22. margin: 6px 0 0 -1.17rem;
  23. }
  24. .down:after {
  25. font-family: "feather";
  26. content: "\E842";
  27. font-size: 0.7rem;
  28. }
  29. }
  30. .dcat-box.card {
  31. margin-bottom: 0;
  32. .card-header {
  33. border-bottom: 0;
  34. padding: 1.3rem 1.5rem;
  35. margin-bottom: .5rem;
  36. }
  37. .card-body {
  38. padding: 1rem 0 0;
  39. }
  40. .box-footer {
  41. border:0;
  42. padding: 1rem 1.5rem 1.3rem;
  43. }
  44. }
  45. .table-responsive.table-scrollbar-x {
  46. overflow-x: auto;
  47. /*width: max-content;*/
  48. }
  49. .table-responsive.table-scrollbar-x .table {
  50. width: max-content;
  51. min-width: 100%;
  52. }
  53. // 过滤器滑动面板
  54. .right-side-filter-container .header {
  55. border-bottom: 1px solid $divider-color;
  56. width: 100%;
  57. background: #fff;
  58. z-index: 10;
  59. top: 0;
  60. margin-left: -1rem;
  61. }
  62. // 快捷新增
  63. .quick-create {
  64. td {
  65. padding-left: 45px;
  66. background-color: #f3f3f3;
  67. vertical-align: middle;
  68. //border-radius: .5rem;
  69. height: 42px;
  70. color: #777;
  71. border-bottom: $table-border-color;
  72. }
  73. }
  74. .grid-modal {
  75. .modal-body {
  76. //background:$body-bg;
  77. padding:1.5rem
  78. }
  79. }
  80. .simple-grid {
  81. .filter-box {
  82. background: transparent;
  83. box-shadow: none!important;
  84. padding: 0!important;
  85. margin: .5rem 0 -1rem!important;
  86. padding-bottom: 0!important;
  87. .form-group {
  88. margin-bottom: 1rem;
  89. }
  90. }
  91. .dcat-box.card {
  92. .card-header {
  93. padding: .8rem 0
  94. }
  95. .box-footer {
  96. padding: 1rem 1.5rem 0;
  97. }
  98. }
  99. }
  100. body:not(.dark-mode) .simple-grid {
  101. .card {
  102. box-shadow: none;
  103. }
  104. .table-collapse {
  105. box-shadow: none;
  106. background: transparent;
  107. //border: 1px solid #ededf1!important;
  108. .custom-data-table {
  109. background: transparent;
  110. }
  111. .custom-data-table.data-table tbody td {
  112. height: 48px;
  113. }
  114. .custom-data-table.data-table thead th {
  115. height: 20px;
  116. }
  117. .custom-data-table {
  118. padding: 5px 0 0;
  119. //border-top: 1px solid $table-border-color;
  120. border-bottom: 1px solid $table-border-color;
  121. }
  122. table.data-table thead tr:last-child th {
  123. border-bottom: 2px solid $table-border-color;
  124. }
  125. }
  126. }
  127. .vs-checkbox-con.checkbox-grid-column input:disabled + .vs-checkbox {
  128. cursor: not-allowed;
  129. opacity: 0.33;
  130. }