bootstrap-table.css 6.6 KB

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