bootstrap-table.css 7.1 KB

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