_grid.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. // 过滤器滑动面板
  46. .right-side-filter-container .header {
  47. border-bottom: 1px solid $divider-color;
  48. width: 100%;
  49. background: #fff;
  50. z-index: 10;
  51. top: 0;
  52. margin-left: -1rem;
  53. }
  54. // 快捷新增
  55. .quick-create {
  56. td {
  57. padding-left: 45px;
  58. background-color: #f3f3f3;
  59. vertical-align: middle;
  60. //border-radius: .5rem;
  61. height: 42px;
  62. color: #777;
  63. border-bottom: $table-border-color;
  64. }
  65. }
  66. .grid-modal {
  67. .modal-body {
  68. //background:$body-bg;
  69. padding:1.5rem
  70. }
  71. }
  72. .simple-grid {
  73. .filter-box {
  74. background: transparent;
  75. box-shadow: none!important;
  76. padding: 0!important;
  77. margin: .5rem 0 -1rem!important;
  78. padding-bottom: 0!important;
  79. .form-group {
  80. margin-bottom: 1rem;
  81. }
  82. }
  83. .dcat-box.card {
  84. .card-header {
  85. padding: .8rem 0
  86. }
  87. .box-footer {
  88. padding: 1rem 1.5rem 0;
  89. }
  90. }
  91. }
  92. body:not(.dark-mode) .simple-grid {
  93. .card {
  94. box-shadow: none;
  95. }
  96. .table-collapse {
  97. box-shadow: none;
  98. background: transparent;
  99. //border: 1px solid #ededf1!important;
  100. .custom-data-table {
  101. background: transparent;
  102. }
  103. .custom-data-table.data-table tbody td {
  104. height: 48px;
  105. }
  106. .custom-data-table.data-table thead th {
  107. height: 20px;
  108. }
  109. .custom-data-table {
  110. padding: 5px 0 0;
  111. //border-top: 1px solid $table-border-color;
  112. border-bottom: 1px solid $table-border-color;
  113. }
  114. table.data-table thead tr:last-child th {
  115. border-bottom: 2px solid $table-border-color;
  116. }
  117. }
  118. }