bootstrap-table.css 5.8 KB

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