bootstrap-table.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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-left {
  103. margin-right: 5px;
  104. }
  105. .fixed-table-toolbar .columns-right {
  106. margin-left: 5px;
  107. }
  108. .fixed-table-toolbar .columns label {
  109. display: block;
  110. padding: 3px 20px;
  111. clear: both;
  112. font-weight: normal;
  113. line-height: 1.428571429;
  114. }
  115. .fixed-table-toolbar .bars,
  116. .fixed-table-toolbar .search,
  117. .fixed-table-toolbar .columns {
  118. position: relative;
  119. margin-top: 10px;
  120. margin-bottom: 10px;
  121. line-height: 34px;
  122. }
  123. .fixed-table-pagination li.disabled a {
  124. pointer-events: none;
  125. cursor: default;
  126. }
  127. .fixed-table-loading {
  128. display: none;
  129. position: absolute;
  130. top: 42px;
  131. right: 0;
  132. bottom: 0;
  133. left: 0;
  134. z-index: 99;
  135. background-color: #fff;
  136. text-align: center;
  137. }
  138. .fixed-table-body .card-view .title {
  139. font-weight: bold;
  140. display: inline-block;
  141. min-width: 30%;
  142. text-align: left !important;
  143. }
  144. /* support bootstrap 2 */
  145. .fixed-table-body thead th .th-inner {
  146. box-sizing: border-box;
  147. }
  148. .table th, .table td {
  149. vertical-align: middle;
  150. box-sizing: border-box;
  151. }
  152. .fixed-table-toolbar .dropdown-menu {
  153. text-align: left;
  154. max-height: 300px;
  155. overflow: auto;
  156. }
  157. .fixed-table-toolbar .btn-group>.btn-group {
  158. display: inline-block;
  159. margin-left: -1px !important;
  160. }
  161. .fixed-table-toolbar .btn-group>.btn-group>.btn {
  162. border-radius: 0;
  163. }
  164. .fixed-table-toolbar .btn-group>.btn-group:first-child>.btn {
  165. border-top-left-radius: 4px;
  166. border-bottom-left-radius: 4px;
  167. }
  168. .fixed-table-toolbar .btn-group>.btn-group:last-child>.btn {
  169. border-top-right-radius: 4px;
  170. border-bottom-right-radius: 4px;
  171. }
  172. .table>thead>tr>th {
  173. vertical-align: bottom;
  174. border-bottom: 2px solid #ddd;
  175. }
  176. /* support bootstrap 3 */
  177. .table thead>tr>th {
  178. padding: 0;
  179. margin: 0;
  180. }
  181. .pull-right .dropdown-menu {
  182. right: 0;
  183. left: auto;
  184. }
  185. /* calculate scrollbar width */
  186. p.fixed-table-scroll-inner {
  187. width: 100%;
  188. height: 200px;
  189. }
  190. div.fixed-table-scroll-outer {
  191. top: 0;
  192. left: 0;
  193. visibility: hidden;
  194. width: 200px;
  195. height: 150px;
  196. overflow: hidden;
  197. }