bootstrap-table.css 7.0 KB

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