dataTables.foundation.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. cursor: pointer;
  72. }
  73. table.dataTable thead .sorting,
  74. table.dataTable thead .sorting_asc,
  75. table.dataTable thead .sorting_desc,
  76. table.dataTable thead .sorting_asc_disabled,
  77. table.dataTable thead .sorting_desc_disabled {
  78. background-repeat: no-repeat;
  79. background-position: center right;
  80. }
  81. table.dataTable thead .sorting {
  82. background-image: url("../images/sort_both.png");
  83. }
  84. table.dataTable thead .sorting_asc {
  85. background-image: url("../images/sort_asc.png");
  86. }
  87. table.dataTable thead .sorting_desc {
  88. background-image: url("../images/sort_desc.png");
  89. }
  90. table.dataTable thead .sorting_asc_disabled {
  91. background-image: url("../images/sort_asc_disabled.png");
  92. }
  93. table.dataTable thead .sorting_desc_disabled {
  94. background-image: url("../images/sort_desc_disabled.png");
  95. }
  96. div.dataTables_scrollHead table {
  97. margin-bottom: 0 !important;
  98. }
  99. div.dataTables_scrollBody table {
  100. border-top: none;
  101. margin-top: 0 !important;
  102. margin-bottom: 0 !important;
  103. }
  104. div.dataTables_scrollBody table tbody tr:first-child th,
  105. div.dataTables_scrollBody table tbody tr:first-child td {
  106. border-top: none;
  107. }
  108. div.dataTables_scrollFoot table {
  109. margin-top: 0 !important;
  110. border-top: none;
  111. }