bootstrap-table.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. .table {
  2. margin-bottom: 0 !important;
  3. border-bottom: 1px solid #dddddd;
  4. border-collapse: collapse !important;
  5. border-radius: 1px;
  6. }
  7. .fixed-table-container {
  8. position: relative;
  9. clear: both;
  10. border: 1px solid #dddddd;
  11. border-radius: 4px;
  12. -webkit-border-radius: 4px;
  13. -moz-border-radius: 4px;
  14. }
  15. .fixed-table-header {
  16. overflow: hidden;
  17. border-radius: 4px 4px 0 0;
  18. -webkit-border-radius: 4px 4px 0 0;
  19. -moz-border-radius: 4px 4px 0 0;
  20. }
  21. .fixed-table-body {
  22. overflow-x: auto;
  23. overflow-y: auto;
  24. height: 100%;
  25. }
  26. .fixed-table-container table {
  27. width: 100%;
  28. }
  29. .fixed-table-container thead th {
  30. height: 0;
  31. padding: 0;
  32. margin: 0;
  33. border-left: 1px solid #dddddd;
  34. }
  35. .fixed-table-container thead th:first-child {
  36. border-left: none;
  37. border-top-left-radius: 4px;
  38. -webkit-border-top-left-radius: 4px;
  39. -moz-border-radius-topleft: 4px;
  40. }
  41. .fixed-table-container thead th .th-inner {
  42. padding: 8px;
  43. line-height: 24px;
  44. vertical-align: top;
  45. overflow: hidden;
  46. text-overflow: ellipsis;
  47. white-space: nowrap;
  48. }
  49. .fixed-table-container tbody td {
  50. border-left: 1px solid #dddddd;
  51. }
  52. .fixed-table-container tbody tr:first-child td {
  53. border-top: none;
  54. }
  55. .fixed-table-container tbody td:first-child {
  56. border-left: none;
  57. }
  58. .fixed-table-container tbody .selected td {
  59. background-color: #d9edf7;
  60. }
  61. .fixed-table-container .bs-checkbox {
  62. text-align: center;
  63. }
  64. .fixed-table-container .bs-checkbox .th-inner {
  65. padding: 8px 0;
  66. }
  67. .fixed-table-container input[type="radio"],
  68. .fixed-table-container input[type="checkbox"] {
  69. margin: 0 auto !important;
  70. }
  71. .fixed-table-container .no-records-found {
  72. text-align: center;
  73. }
  74. .fixed-table-pagination .pagination,
  75. .fixed-table-pagination .pagination-detail {
  76. margin-top: 10px;
  77. margin-bottom: 10px;
  78. }
  79. .fixed-table-pagination .pagination a {
  80. padding: 6px 12px;
  81. line-height: 1.428571429;
  82. }
  83. .fixed-table-pagination .pagination-info {
  84. line-height: 34px;
  85. margin-right: 5px;
  86. }
  87. .fixed-table-pagination .btn-group {
  88. position: relative;
  89. display: inline-block;
  90. vertical-align: middle;
  91. }
  92. .fixed-table-pagination .dropup .dropdown-menu {
  93. margin-bottom: 0;
  94. }
  95. .fixed-table-pagination .page-list {
  96. display: inline-block;
  97. }
  98. .fixed-table-toolbar .columns {
  99. margin-left: 5px;
  100. }
  101. .fixed-table-toolbar .columns label {
  102. display: block;
  103. padding: 3px 20px;
  104. clear: both;
  105. font-weight: normal;
  106. line-height: 1.428571429;
  107. }
  108. .fixed-table-toolbar .bars,
  109. .fixed-table-toolbar .search,
  110. .fixed-table-toolbar .columns {
  111. position: relative;
  112. margin-top: 10px;
  113. margin-bottom: 10px;
  114. line-height: 34px;
  115. }
  116. .fixed-table-pagination li.disabled a {
  117. pointer-events: none;
  118. cursor: default;
  119. }
  120. .fixed-table-loading {
  121. display: none;
  122. position: absolute;
  123. top: 38px;
  124. right: 0;
  125. bottom: 0;
  126. left: 0;
  127. z-index: 10000;
  128. background-color: #fff;
  129. text-align: center;
  130. }
  131. .fixed-table-body .card-view .title {
  132. font-weight: bold;
  133. display: inline-block;
  134. min-width: 30%;
  135. text-align: left !important;
  136. }
  137. /* support bootstrap 2 */
  138. .fixed-table-body thead th .th-inner {
  139. box-sizing: border-box;
  140. }
  141. .table th, .table td {
  142. vertical-align: middle;
  143. box-sizing: border-box;
  144. }
  145. .fixed-table-toolbar .dropdown-menu {
  146. text-align: left;
  147. max-height: 300px;
  148. overflow: auto;
  149. }
  150. .btn-group, .btn-group {
  151. display: inline-block;
  152. margin-left: -1px;
  153. }
  154. .btn-group>.btn-group:last-child>.btn:first-child {
  155. border-top-left-radius: 0;
  156. border-bottom-left-radius: 0;
  157. }
  158. .table>thead>tr>th {
  159. vertical-align: bottom;
  160. border-bottom: 2px solid #ddd;
  161. }
  162. /* support bootstrap 3 */
  163. .table thead>tr>th {
  164. padding: 0;
  165. margin: 0;
  166. }
  167. .pull-right .dropdown-menu {
  168. right: 0;
  169. left: auto;
  170. }
  171. /* calculate scrollbar width */
  172. p.fixed-table-scroll-inner {
  173. width: 100%;
  174. height: 200px;
  175. }
  176. div.fixed-table-scroll-outer {
  177. top: 0;
  178. left: 0;
  179. visibility: hidden;
  180. width: 200px;
  181. height: 150px;
  182. overflow: hidden;
  183. }