bootstrap-table.css 11 KB

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