bootstrap-table.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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 thead th .sortable {
  50. cursor: pointer;
  51. }
  52. .fixed-table-container tbody td {
  53. border-left: 1px solid #dddddd;
  54. }
  55. .fixed-table-container tbody tr:first-child td {
  56. border-top: none;
  57. }
  58. .fixed-table-container tbody td:first-child {
  59. border-left: none;
  60. }
  61. /* the same color with .active */
  62. .fixed-table-container tbody .selected td {
  63. background-color: #f5f5f5;
  64. }
  65. .fixed-table-container .bs-checkbox {
  66. text-align: center;
  67. }
  68. .fixed-table-container .bs-checkbox .th-inner {
  69. padding: 8px 0;
  70. }
  71. .fixed-table-container input[type="radio"],
  72. .fixed-table-container input[type="checkbox"] {
  73. margin: 0 auto !important;
  74. }
  75. .fixed-table-container .no-records-found {
  76. text-align: center;
  77. }
  78. .fixed-table-pagination .pagination,
  79. .fixed-table-pagination .pagination-detail {
  80. margin-top: 10px;
  81. margin-bottom: 10px;
  82. }
  83. .fixed-table-pagination .pagination a {
  84. padding: 6px 12px;
  85. line-height: 1.428571429;
  86. }
  87. .fixed-table-pagination .pagination-info {
  88. line-height: 34px;
  89. margin-right: 5px;
  90. }
  91. .fixed-table-pagination .btn-group {
  92. position: relative;
  93. display: inline-block;
  94. vertical-align: middle;
  95. }
  96. .fixed-table-pagination .dropup .dropdown-menu {
  97. margin-bottom: 0;
  98. }
  99. .fixed-table-pagination .page-list {
  100. display: inline-block;
  101. }
  102. .fixed-table-toolbar .columns {
  103. margin-left: 5px;
  104. }
  105. .fixed-table-toolbar .columns label {
  106. display: block;
  107. padding: 3px 20px;
  108. clear: both;
  109. font-weight: normal;
  110. line-height: 1.428571429;
  111. }
  112. .fixed-table-toolbar .bars,
  113. .fixed-table-toolbar .search,
  114. .fixed-table-toolbar .columns {
  115. position: relative;
  116. margin-top: 10px;
  117. margin-bottom: 10px;
  118. line-height: 34px;
  119. }
  120. .fixed-table-pagination li.disabled a {
  121. pointer-events: none;
  122. cursor: default;
  123. }
  124. .fixed-table-loading {
  125. display: none;
  126. position: absolute;
  127. top: 42px;
  128. right: 0;
  129. bottom: 0;
  130. left: 0;
  131. z-index: 99;
  132. background-color: #fff;
  133. text-align: center;
  134. }
  135. .fixed-table-body .card-view .title {
  136. font-weight: bold;
  137. display: inline-block;
  138. min-width: 30%;
  139. text-align: left !important;
  140. }
  141. /* support bootstrap 2 */
  142. .fixed-table-body thead th .th-inner {
  143. box-sizing: border-box;
  144. }
  145. .table th, .table td {
  146. vertical-align: middle;
  147. box-sizing: border-box;
  148. }
  149. .fixed-table-toolbar .dropdown-menu {
  150. text-align: left;
  151. max-height: 300px;
  152. overflow: auto;
  153. }
  154. .fixed-table-toolbar .btn-group>.btn-group {
  155. display: inline-block;
  156. margin-left: -1px !important;
  157. }
  158. .fixed-table-toolbar .btn-group>.btn-group>.btn {
  159. border-radius: 0;
  160. }
  161. .fixed-table-toolbar .btn-group>.btn-group:first-child>.btn {
  162. border-top-left-radius: 4px;
  163. border-bottom-left-radius: 4px;
  164. }
  165. .fixed-table-toolbar .btn-group>.btn-group:last-child>.btn {
  166. border-top-right-radius: 4px;
  167. border-bottom-right-radius: 4px;
  168. }
  169. .table>thead>tr>th {
  170. vertical-align: bottom;
  171. border-bottom: 2px solid #ddd;
  172. }
  173. /* support bootstrap 3 */
  174. .table thead>tr>th {
  175. padding: 0;
  176. margin: 0;
  177. }
  178. .pull-right .dropdown-menu {
  179. right: 0;
  180. left: auto;
  181. }
  182. /* calculate scrollbar width */
  183. p.fixed-table-scroll-inner {
  184. width: 100%;
  185. height: 200px;
  186. }
  187. div.fixed-table-scroll-outer {
  188. top: 0;
  189. left: 0;
  190. visibility: hidden;
  191. width: 200px;
  192. height: 150px;
  193. overflow: hidden;
  194. }