dataTables.foundation.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. table.dataTable {
  2. clear: both;
  3. margin: 0.5em 0 !important;
  4. max-width: none !important;
  5. width: 100%;
  6. }
  7. table.dataTable td,
  8. table.dataTable th {
  9. -webkit-box-sizing: content-box;
  10. box-sizing: content-box;
  11. }
  12. table.dataTable td.dataTables_empty,
  13. table.dataTable th.dataTables_empty {
  14. text-align: center;
  15. }
  16. table.dataTable.nowrap th, table.dataTable.nowrap td {
  17. white-space: nowrap;
  18. }
  19. div.dataTables_wrapper {
  20. position: relative;
  21. }
  22. div.dataTables_wrapper div.dataTables_length label {
  23. float: left;
  24. text-align: left;
  25. margin-bottom: 0;
  26. }
  27. div.dataTables_wrapper div.dataTables_length select {
  28. width: 75px;
  29. margin-bottom: 0;
  30. }
  31. div.dataTables_wrapper div.dataTables_filter label {
  32. float: right;
  33. margin-bottom: 0;
  34. }
  35. div.dataTables_wrapper div.dataTables_filter input {
  36. display: inline-block !important;
  37. width: auto !important;
  38. margin-bottom: 0;
  39. margin-left: 0.5em;
  40. }
  41. div.dataTables_wrapper div.dataTables_info {
  42. padding-top: 2px;
  43. }
  44. div.dataTables_wrapper div.dataTables_paginate {
  45. float: right;
  46. margin: 0;
  47. }
  48. div.dataTables_wrapper div.dataTables_processing {
  49. position: absolute;
  50. top: 50%;
  51. left: 50%;
  52. width: 200px;
  53. margin-left: -100px;
  54. margin-top: -26px;
  55. text-align: center;
  56. padding: 1rem 0;
  57. }
  58. table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
  59. table.dataTable thead > tr > td.sorting_asc,
  60. table.dataTable thead > tr > td.sorting_desc,
  61. table.dataTable thead > tr > td.sorting {
  62. padding-right: 1.5rem;
  63. }
  64. table.dataTable thead > tr > th:active,
  65. table.dataTable thead > tr > td:active {
  66. outline: none;
  67. }
  68. table.dataTable thead .sorting,
  69. table.dataTable thead .sorting_asc,
  70. table.dataTable thead .sorting_desc,
  71. table.dataTable thead .sorting_asc_disabled,
  72. table.dataTable thead .sorting_desc_disabled {
  73. cursor: pointer;
  74. }
  75. table.dataTable thead .sorting,
  76. table.dataTable thead .sorting_asc,
  77. table.dataTable thead .sorting_desc,
  78. table.dataTable thead .sorting_asc_disabled,
  79. table.dataTable thead .sorting_desc_disabled {
  80. background-repeat: no-repeat;
  81. background-position: center right;
  82. }
  83. table.dataTable thead .sorting {
  84. background-image: url("../images/sort_both.png");
  85. }
  86. table.dataTable thead .sorting_asc {
  87. background-image: url("../images/sort_asc.png");
  88. }
  89. table.dataTable thead .sorting_desc {
  90. background-image: url("../images/sort_desc.png");
  91. }
  92. table.dataTable thead .sorting_asc_disabled {
  93. background-image: url("../images/sort_asc_disabled.png");
  94. }
  95. table.dataTable thead .sorting_desc_disabled {
  96. background-image: url("../images/sort_desc_disabled.png");
  97. }
  98. div.dataTables_scrollHead table {
  99. margin-bottom: 0 !important;
  100. }
  101. div.dataTables_scrollBody table {
  102. border-top: none;
  103. margin-top: 0 !important;
  104. margin-bottom: 0 !important;
  105. }
  106. div.dataTables_scrollBody table tbody tr:first-child th,
  107. div.dataTables_scrollBody table tbody tr:first-child td {
  108. border-top: none;
  109. }
  110. div.dataTables_scrollFoot table {
  111. margin-top: 0 !important;
  112. border-top: none;
  113. }