bootstrap-table.css 4.7 KB

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