dataTables.uikit.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. table.dataTable {
  2. clear: both;
  3. margin-top: 6px !important;
  4. margin-bottom: 6px !important;
  5. max-width: none !important;
  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,
  17. table.dataTable.nowrap td {
  18. white-space: nowrap;
  19. }
  20. div.dataTables_wrapper div.row.uk-grid.dt-merge-grid {
  21. margin-top: 5px;
  22. }
  23. div.dataTables_wrapper div.dataTables_length label {
  24. font-weight: normal;
  25. text-align: left;
  26. white-space: nowrap;
  27. }
  28. div.dataTables_wrapper div.dataTables_length select {
  29. width: 75px;
  30. display: inline-block;
  31. }
  32. div.dataTables_wrapper div.dataTables_filter {
  33. text-align: right;
  34. }
  35. div.dataTables_wrapper div.dataTables_filter label {
  36. font-weight: normal;
  37. white-space: nowrap;
  38. text-align: left;
  39. }
  40. div.dataTables_wrapper div.dataTables_filter input {
  41. margin-left: 0.5em;
  42. display: inline-block;
  43. width: auto;
  44. }
  45. div.dataTables_wrapper div.dataTables_info {
  46. padding-top: 8px;
  47. white-space: nowrap;
  48. }
  49. div.dataTables_wrapper div.dataTables_paginate {
  50. margin: 0;
  51. white-space: nowrap;
  52. text-align: right;
  53. }
  54. div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  55. margin: 2px 0;
  56. white-space: nowrap;
  57. }
  58. div.dataTables_wrapper div.dataTables_processing {
  59. position: absolute;
  60. top: 50%;
  61. left: 50%;
  62. width: 200px;
  63. margin-left: -100px;
  64. margin-top: -26px;
  65. text-align: center;
  66. padding: 1em 0;
  67. }
  68. table.dataTable thead > tr > th,
  69. table.dataTable thead > tr > td {
  70. position: relative;
  71. }
  72. table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
  73. table.dataTable thead > tr > td.sorting_asc,
  74. table.dataTable thead > tr > td.sorting_desc,
  75. table.dataTable thead > tr > td.sorting {
  76. padding-right: 30px;
  77. }
  78. table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after,
  79. table.dataTable thead > tr > td.sorting:after,
  80. table.dataTable thead > tr > td.sorting_asc:after,
  81. table.dataTable thead > tr > td.sorting_desc:after {
  82. position: absolute;
  83. top: 7px;
  84. right: 8px;
  85. display: block;
  86. font-family: 'FontAwesome';
  87. }
  88. table.dataTable thead > tr > th.sorting:after,
  89. table.dataTable thead > tr > td.sorting:after {
  90. content: "\f0dc";
  91. color: #ddd;
  92. font-size: 0.8em;
  93. padding-top: 0.12em;
  94. }
  95. table.dataTable thead > tr > th.sorting_asc:after,
  96. table.dataTable thead > tr > td.sorting_asc:after {
  97. content: "\f0de";
  98. }
  99. table.dataTable thead > tr > th.sorting_desc:after,
  100. table.dataTable thead > tr > td.sorting_desc:after {
  101. content: "\f0dd";
  102. }
  103. div.dataTables_scrollHead table.dataTable {
  104. margin-bottom: 0 !important;
  105. }
  106. div.dataTables_scrollBody table {
  107. border-top: none;
  108. margin-top: 0 !important;
  109. margin-bottom: 0 !important;
  110. }
  111. div.dataTables_scrollBody table thead .sorting:after,
  112. div.dataTables_scrollBody table thead .sorting_asc:after,
  113. div.dataTables_scrollBody table thead .sorting_desc:after {
  114. display: none;
  115. }
  116. div.dataTables_scrollBody table tbody tr:first-child th,
  117. div.dataTables_scrollBody table tbody tr:first-child td {
  118. border-top: none;
  119. }
  120. div.dataTables_scrollFoot table {
  121. margin-top: 0 !important;
  122. border-top: none;
  123. }
  124. @media screen and (max-width: 767px) {
  125. div.dataTables_wrapper div.dataTables_length,
  126. div.dataTables_wrapper div.dataTables_filter,
  127. div.dataTables_wrapper div.dataTables_info,
  128. div.dataTables_wrapper div.dataTables_paginate {
  129. text-align: center;
  130. }
  131. }
  132. table.dataTable.uk-table-condensed > thead > tr > th {
  133. padding-right: 20px;
  134. }
  135. table.dataTable.uk-table-condensed .sorting:after,
  136. table.dataTable.uk-table-condensed .sorting_asc:after,
  137. table.dataTable.uk-table-condensed .sorting_desc:after {
  138. top: 6px;
  139. right: 6px;
  140. }