bootstrap-table.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. /**
  2. * @author zhixin wen <[email protected]>
  3. * version: 1.12.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:not([data-not-first-th]) {
  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 input[type="radio"],
  112. .fixed-table-container input[type="checkbox"] {
  113. margin: 0 auto !important;
  114. }
  115. .fixed-table-container .no-records-found {
  116. text-align: center;
  117. }
  118. .fixed-table-pagination div.pagination,
  119. .fixed-table-pagination .pagination-detail {
  120. margin-top: 10px;
  121. margin-bottom: 10px;
  122. }
  123. .fixed-table-pagination div.pagination .pagination {
  124. margin: 0;
  125. }
  126. .fixed-table-pagination .pagination a {
  127. padding: 6px 12px;
  128. line-height: 1.428571429;
  129. }
  130. .fixed-table-pagination .pagination-info {
  131. line-height: 34px;
  132. margin-right: 5px;
  133. }
  134. .fixed-table-pagination .btn-group {
  135. position: relative;
  136. display: inline-block;
  137. vertical-align: middle;
  138. }
  139. .fixed-table-pagination .dropup .dropdown-menu {
  140. margin-bottom: 0;
  141. }
  142. .fixed-table-pagination .page-list {
  143. display: inline-block;
  144. }
  145. .fixed-table-toolbar .columns-left {
  146. margin-right: 5px;
  147. }
  148. .fixed-table-toolbar .columns-right {
  149. margin-left: 5px;
  150. }
  151. .fixed-table-toolbar .columns label {
  152. display: block;
  153. padding: 3px 20px;
  154. clear: both;
  155. font-weight: normal;
  156. line-height: 1.428571429;
  157. }
  158. .fixed-table-toolbar .bs-bars,
  159. .fixed-table-toolbar .search,
  160. .fixed-table-toolbar .columns {
  161. position: relative;
  162. margin-top: 10px;
  163. margin-bottom: 10px;
  164. line-height: 34px;
  165. }
  166. .fixed-table-pagination li.disabled a {
  167. pointer-events: none;
  168. cursor: default;
  169. }
  170. .fixed-table-loading {
  171. display: none;
  172. position: absolute;
  173. top: 42px;
  174. right: 0;
  175. bottom: 0;
  176. left: 0;
  177. z-index: 99;
  178. background-color: #fff;
  179. text-align: center;
  180. }
  181. .fixed-table-body .card-view .title {
  182. font-weight: bold;
  183. display: inline-block;
  184. min-width: 30%;
  185. text-align: left !important;
  186. }
  187. /* support bootstrap 2 */
  188. .fixed-table-body thead th .th-inner {
  189. box-sizing: border-box;
  190. }
  191. .table th, .table td {
  192. vertical-align: middle;
  193. box-sizing: border-box;
  194. }
  195. .fixed-table-toolbar .dropdown-menu {
  196. text-align: left;
  197. max-height: 300px;
  198. overflow: auto;
  199. }
  200. .fixed-table-toolbar .btn-group > .btn-group {
  201. display: inline-block;
  202. margin-left: -1px !important;
  203. }
  204. .fixed-table-toolbar .btn-group > .btn-group > .btn {
  205. border-radius: 0;
  206. }
  207. .fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
  208. border-top-left-radius: 4px;
  209. border-bottom-left-radius: 4px;
  210. }
  211. .fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
  212. border-top-right-radius: 4px;
  213. border-bottom-right-radius: 4px;
  214. }
  215. .bootstrap-table .table > thead > tr > th {
  216. vertical-align: bottom;
  217. border-bottom: 1px solid #ddd;
  218. }
  219. /* support bootstrap 3 */
  220. .bootstrap-table .table thead > tr > th {
  221. padding: 0;
  222. margin: 0;
  223. }
  224. .bootstrap-table .fixed-table-footer tbody > tr > td {
  225. padding: 0 !important;
  226. }
  227. .bootstrap-table .fixed-table-footer .table {
  228. border-bottom: none;
  229. border-radius: 0;
  230. padding: 0 !important;
  231. }
  232. .bootstrap-table .pull-right .dropdown-menu {
  233. right: 0;
  234. left: auto;
  235. }
  236. /* calculate scrollbar width */
  237. p.fixed-table-scroll-inner {
  238. width: 100%;
  239. height: 200px;
  240. }
  241. div.fixed-table-scroll-outer {
  242. top: 0;
  243. left: 0;
  244. visibility: hidden;
  245. width: 200px;
  246. height: 150px;
  247. overflow: hidden;
  248. }
  249. /* for get correct heights */
  250. .fixed-table-toolbar:after, .fixed-table-pagination:after {
  251. content: "";
  252. display: block;
  253. clear: both;
  254. }
  255. .fullscreen {
  256. position: fixed;
  257. top: 0;
  258. left: 0;
  259. z-index: 1050;
  260. width: 100%!important;
  261. background: #FFF;
  262. }