bootstrap-table.css 6.4 KB

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