bootstrap-table.css 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. /**
  2. * @author zhixin wen <wenzhixin2010@gmail.com>
  3. * version: 1.16.0
  4. * https://github.com/wenzhixin/bootstrap-table/
  5. */
  6. .bootstrap-table .fixed-table-toolbar::after {
  7. content: "";
  8. display: block;
  9. clear: both;
  10. }
  11. .bootstrap-table .fixed-table-toolbar .bs-bars,
  12. .bootstrap-table .fixed-table-toolbar .search,
  13. .bootstrap-table .fixed-table-toolbar .columns {
  14. position: relative;
  15. margin-top: 10px;
  16. margin-bottom: 10px;
  17. }
  18. .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group {
  19. display: inline-block;
  20. margin-left: -1px !important;
  21. }
  22. .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group > .btn {
  23. border-radius: 0;
  24. }
  25. .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:first-child > .btn {
  26. border-top-left-radius: 4px;
  27. border-bottom-left-radius: 4px;
  28. }
  29. .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:last-child > .btn {
  30. border-top-right-radius: 4px;
  31. border-bottom-right-radius: 4px;
  32. }
  33. .bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
  34. text-align: left;
  35. max-height: 300px;
  36. overflow: auto;
  37. -ms-overflow-style: scrollbar;
  38. z-index: 1001;
  39. }
  40. .bootstrap-table .fixed-table-toolbar .columns label {
  41. display: block;
  42. padding: 3px 20px;
  43. clear: both;
  44. font-weight: normal;
  45. line-height: 1.428571429;
  46. }
  47. .bootstrap-table .fixed-table-toolbar .columns-left {
  48. margin-right: 5px;
  49. }
  50. .bootstrap-table .fixed-table-toolbar .columns-right {
  51. margin-left: 5px;
  52. }
  53. .bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu {
  54. right: 0;
  55. left: auto;
  56. }
  57. .bootstrap-table .fixed-table-container {
  58. position: relative;
  59. clear: both;
  60. }
  61. .bootstrap-table .fixed-table-container .table {
  62. width: 100%;
  63. margin-bottom: 0 !important;
  64. }
  65. .bootstrap-table .fixed-table-container .table th,
  66. .bootstrap-table .fixed-table-container .table td {
  67. vertical-align: middle;
  68. box-sizing: border-box;
  69. }
  70. .bootstrap-table .fixed-table-container .table thead th {
  71. vertical-align: bottom;
  72. padding: 0;
  73. margin: 0;
  74. }
  75. .bootstrap-table .fixed-table-container .table thead th:focus {
  76. outline: 0 solid transparent;
  77. }
  78. .bootstrap-table .fixed-table-container .table thead th.detail {
  79. width: 30px;
  80. }
  81. .bootstrap-table .fixed-table-container .table thead th .th-inner {
  82. padding: 0.75rem;
  83. vertical-align: bottom;
  84. overflow: hidden;
  85. text-overflow: ellipsis;
  86. white-space: nowrap;
  87. }
  88. .bootstrap-table .fixed-table-container .table thead th .sortable {
  89. cursor: pointer;
  90. background-position: right;
  91. background-repeat: no-repeat;
  92. padding-right: 30px !important;
  93. }
  94. .bootstrap-table .fixed-table-container .table thead th .both {
  95. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC");
  96. }
  97. .bootstrap-table .fixed-table-container .table thead th .asc {
  98. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==");
  99. }
  100. .bootstrap-table .fixed-table-container .table thead th .desc {
  101. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ");
  102. }
  103. .bootstrap-table .fixed-table-container .table tbody tr.selected td {
  104. background-color: rgba(0, 0, 0, 0.075);
  105. }
  106. .bootstrap-table .fixed-table-container .table tbody tr.no-records-found td {
  107. text-align: center;
  108. }
  109. .bootstrap-table .fixed-table-container .table tbody tr .card-view {
  110. display: flex;
  111. }
  112. .bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title {
  113. font-weight: bold;
  114. display: inline-block;
  115. min-width: 30%;
  116. text-align: left !important;
  117. }
  118. .bootstrap-table .fixed-table-container .table .bs-checkbox {
  119. text-align: center;
  120. }
  121. .bootstrap-table .fixed-table-container .table .bs-checkbox label {
  122. margin-bottom: 0;
  123. }
  124. .bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="radio"],
  125. .bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="checkbox"] {
  126. margin: 0 auto !important;
  127. }
  128. .bootstrap-table .fixed-table-container .table.table-sm .th-inner {
  129. padding: 0.3rem;
  130. }
  131. .bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
  132. border-bottom: 1px solid #dee2e6;
  133. }
  134. .bootstrap-table .fixed-table-container.fixed-height.has-card-view {
  135. border-top: 1px solid #dee2e6;
  136. border-bottom: 1px solid #dee2e6;
  137. }
  138. .bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
  139. border-left: 1px solid #dee2e6;
  140. border-right: 1px solid #dee2e6;
  141. }
  142. .bootstrap-table .fixed-table-container.fixed-height .table thead th {
  143. border-bottom: 1px solid #dee2e6;
  144. }
  145. .bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
  146. border-bottom: 1px solid #32383e;
  147. }
  148. .bootstrap-table .fixed-table-container .fixed-table-header {
  149. overflow: hidden;
  150. }
  151. .bootstrap-table .fixed-table-container .fixed-table-body {
  152. overflow-x: auto;
  153. overflow-y: auto;
  154. height: 100%;
  155. }
  156. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
  157. align-items: center;
  158. background: #fff;
  159. display: none;
  160. justify-content: center;
  161. position: absolute;
  162. bottom: 0;
  163. width: 100%;
  164. z-index: 1000;
  165. }
  166. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
  167. align-items: baseline;
  168. display: flex;
  169. justify-content: center;
  170. }
  171. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
  172. font-size: 2rem;
  173. margin-right: 6px;
  174. }
  175. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
  176. align-items: center;
  177. display: flex;
  178. justify-content: center;
  179. }
  180. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
  181. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
  182. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
  183. content: "";
  184. animation-duration: 1.5s;
  185. animation-iteration-count: infinite;
  186. animation-name: LOADING;
  187. background: #212529;
  188. border-radius: 50%;
  189. display: block;
  190. height: 5px;
  191. margin: 0 4px;
  192. opacity: 0;
  193. width: 5px;
  194. }
  195. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
  196. animation-delay: 0.3s;
  197. }
  198. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after {
  199. animation-delay: 0.6s;
  200. }
  201. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
  202. background: #212529;
  203. }
  204. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
  205. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
  206. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
  207. background: #fff;
  208. }
  209. .bootstrap-table .fixed-table-container .fixed-table-footer {
  210. overflow: hidden;
  211. }
  212. .bootstrap-table .fixed-table-pagination::after {
  213. content: "";
  214. display: block;
  215. clear: both;
  216. }
  217. .bootstrap-table .fixed-table-pagination > .pagination-detail,
  218. .bootstrap-table .fixed-table-pagination > .pagination {
  219. margin-top: 10px;
  220. margin-bottom: 10px;
  221. }
  222. .bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
  223. line-height: 34px;
  224. margin-right: 5px;
  225. }
  226. .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list {
  227. display: inline-block;
  228. }
  229. .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group {
  230. position: relative;
  231. display: inline-block;
  232. vertical-align: middle;
  233. }
  234. .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
  235. margin-bottom: 0;
  236. }
  237. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
  238. margin: 0;
  239. }
  240. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination a {
  241. padding: 6px 12px;
  242. line-height: 1.428571429;
  243. }
  244. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a {
  245. color: #c8c8c8;
  246. }
  247. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::before {
  248. content: '\2B05';
  249. }
  250. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::after {
  251. content: '\27A1';
  252. }
  253. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.disabled a {
  254. pointer-events: none;
  255. cursor: default;
  256. }
  257. .bootstrap-table.fullscreen {
  258. position: fixed;
  259. top: 0;
  260. left: 0;
  261. z-index: 1050;
  262. width: 100% !important;
  263. background: #fff;
  264. height: calc(100vh);
  265. overflow-y: scroll;
  266. }
  267. /* calculate scrollbar width */
  268. div.fixed-table-scroll-inner {
  269. width: 100%;
  270. height: 200px;
  271. }
  272. div.fixed-table-scroll-outer {
  273. top: 0;
  274. left: 0;
  275. visibility: hidden;
  276. width: 200px;
  277. height: 150px;
  278. overflow: hidden;
  279. }
  280. @keyframes LOADING {
  281. 0% {
  282. opacity: 0;
  283. }
  284. 50% {
  285. opacity: 1;
  286. }
  287. to {
  288. opacity: 0;
  289. }
  290. }