bootstrap-table.css 6.8 KB

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