bootstrap-table.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. /**
  2. * @author zhixin wen <wenzhixin2010@gmail.com>
  3. * version: 1.13.2
  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. border-top: none;
  22. }
  23. .bootstrap-table .table.table-no-bordered > thead > tr > th,
  24. .bootstrap-table .table.table-no-bordered > tbody > tr > td {
  25. border-right: 2px solid transparent;
  26. }
  27. .bootstrap-table .table.table-no-bordered > tbody > tr > td:last-child {
  28. border-right: none;
  29. }
  30. .fixed-table-container {
  31. position: relative;
  32. clear: both;
  33. border: 1px solid #dddddd;
  34. border-radius: 4px;
  35. -webkit-border-radius: 4px;
  36. -moz-border-radius: 4px;
  37. }
  38. .fixed-table-container.table-no-bordered {
  39. border: 1px solid transparent;
  40. }
  41. .fixed-table-footer,
  42. .fixed-table-header {
  43. overflow: hidden;
  44. }
  45. .fixed-table-footer {
  46. border-top: 1px solid #dddddd;
  47. }
  48. .fixed-table-body {
  49. overflow-x: auto;
  50. overflow-y: auto;
  51. height: 100%;
  52. }
  53. .fixed-table-container table {
  54. width: 100%;
  55. }
  56. .fixed-table-container thead th {
  57. height: 0;
  58. padding: 0;
  59. margin: 0;
  60. border-left: 1px solid #dddddd;
  61. }
  62. .fixed-table-container thead th:focus {
  63. outline: 0 solid transparent;
  64. }
  65. .fixed-table-container thead th:first-child:not([data-not-first-th]) {
  66. border-left: none;
  67. border-top-left-radius: 4px;
  68. -webkit-border-top-left-radius: 4px;
  69. -moz-border-radius-topleft: 4px;
  70. }
  71. .fixed-table-container thead th .th-inner,
  72. .fixed-table-container tbody td .th-inner {
  73. padding: 8px;
  74. line-height: 24px;
  75. vertical-align: top;
  76. overflow: hidden;
  77. text-overflow: ellipsis;
  78. white-space: nowrap;
  79. }
  80. .fixed-table-container thead th .sortable {
  81. cursor: pointer;
  82. background-position: right;
  83. background-repeat: no-repeat;
  84. padding-right: 30px;
  85. }
  86. .fixed-table-container thead th .both {
  87. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC');
  88. }
  89. .fixed-table-container thead th .asc {
  90. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==');
  91. }
  92. .fixed-table-container thead th .desc {
  93. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ');
  94. }
  95. .fixed-table-container th.detail {
  96. width: 30px;
  97. }
  98. .fixed-table-container tbody td {
  99. border-left: 1px solid #dddddd;
  100. }
  101. .fixed-table-container tbody tr:first-child td {
  102. border-top: none;
  103. }
  104. .fixed-table-container tbody td:first-child {
  105. border-left: none;
  106. }
  107. /* the same color with .active */
  108. .fixed-table-container tbody .selected td {
  109. background-color: #f5f5f5;
  110. }
  111. .fixed-table-container .bs-checkbox {
  112. text-align: center;
  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 ul.pagination li.page-intermediate a {
  134. color:#c8c8c8;
  135. }
  136. .fixed-table-pagination ul.pagination li.page-intermediate a:before {
  137. content: '\2B05';
  138. }
  139. .fixed-table-pagination ul.pagination li.page-intermediate a:after {
  140. content: '\27A1';
  141. }
  142. .fixed-table-pagination .pagination-info {
  143. line-height: 34px;
  144. margin-right: 5px;
  145. }
  146. .fixed-table-pagination .btn-group {
  147. position: relative;
  148. display: inline-block;
  149. vertical-align: middle;
  150. }
  151. .fixed-table-pagination .dropup .dropdown-menu {
  152. margin-bottom: 0;
  153. }
  154. .fixed-table-pagination .page-list {
  155. display: inline-block;
  156. }
  157. .fixed-table-toolbar .columns-left {
  158. margin-right: 5px;
  159. }
  160. .fixed-table-toolbar .columns-right {
  161. margin-left: 5px;
  162. }
  163. .fixed-table-toolbar .columns label {
  164. display: block;
  165. padding: 3px 20px;
  166. clear: both;
  167. font-weight: normal;
  168. line-height: 1.428571429;
  169. }
  170. .fixed-table-toolbar .bs-bars,
  171. .fixed-table-toolbar .search,
  172. .fixed-table-toolbar .columns {
  173. position: relative;
  174. margin-top: 10px;
  175. margin-bottom: 10px;
  176. }
  177. .fixed-table-pagination li.disabled a {
  178. pointer-events: none;
  179. cursor: default;
  180. }
  181. .fixed-table-loading {
  182. display: none;
  183. position: absolute;
  184. top: 42px;
  185. right: 0;
  186. bottom: 0;
  187. left: 0;
  188. z-index: 99;
  189. background-color: #fff;
  190. text-align: center;
  191. }
  192. .fixed-table-body .card-view .title {
  193. font-weight: bold;
  194. display: inline-block;
  195. min-width: 30%;
  196. text-align: left !important;
  197. }
  198. /* support bootstrap 2 */
  199. .fixed-table-body thead th .th-inner {
  200. box-sizing: border-box;
  201. }
  202. .table th, .table td {
  203. vertical-align: middle;
  204. box-sizing: border-box;
  205. }
  206. .fixed-table-toolbar .dropdown-menu {
  207. text-align: left;
  208. max-height: 300px;
  209. overflow: auto;
  210. }
  211. .fixed-table-toolbar .btn-group > .btn-group {
  212. display: inline-block;
  213. margin-left: -1px !important;
  214. }
  215. .fixed-table-toolbar .btn-group > .btn-group > .btn {
  216. border-radius: 0;
  217. }
  218. .fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
  219. border-top-left-radius: 4px;
  220. border-bottom-left-radius: 4px;
  221. }
  222. .fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
  223. border-top-right-radius: 4px;
  224. border-bottom-right-radius: 4px;
  225. }
  226. .bootstrap-table .table > thead > tr > th {
  227. vertical-align: bottom;
  228. border-bottom: 1px solid #ddd;
  229. }
  230. .bootstrap-table .table > thead.thead-dark > tr > th {
  231. border-bottom: 1px solid #212529;
  232. }
  233. /* support bootstrap 3 */
  234. .bootstrap-table .table thead > tr > th {
  235. padding: 0;
  236. margin: 0;
  237. }
  238. .bootstrap-table .fixed-table-footer tbody > tr > td {
  239. padding: 0 !important;
  240. }
  241. .bootstrap-table .fixed-table-footer .table {
  242. border-bottom: none;
  243. border-radius: 0;
  244. padding: 0 !important;
  245. }
  246. .bootstrap-table .pull-right .dropdown-menu {
  247. right: 0;
  248. left: auto;
  249. }
  250. /* calculate scrollbar width */
  251. p.fixed-table-scroll-inner {
  252. width: 100%;
  253. height: 200px;
  254. }
  255. div.fixed-table-scroll-outer {
  256. top: 0;
  257. left: 0;
  258. visibility: hidden;
  259. width: 200px;
  260. height: 150px;
  261. overflow: hidden;
  262. }
  263. /* for get correct heights */
  264. .fixed-table-toolbar:after, .fixed-table-pagination:after {
  265. content: "";
  266. display: block;
  267. clear: both;
  268. }
  269. .bootstrap-table.fullscreen {
  270. position: fixed;
  271. top: 0;
  272. left: 0;
  273. z-index: 1050;
  274. width: 100%!important;
  275. background: #FFF;
  276. }