bootstrap-table.css 4.9 KB

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