bootstrap-table.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. /**
  2. * @author zhixin wen <wenzhixin2010@gmail.com>
  3. * version: 1.21.1
  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.4286;
  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 .sortable.sortable-center {
  95. padding-left: 20px !important;
  96. padding-right: 20px !important;
  97. }
  98. .bootstrap-table .fixed-table-container .table thead th .both {
  99. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC");
  100. }
  101. .bootstrap-table .fixed-table-container .table thead th .asc {
  102. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==");
  103. }
  104. .bootstrap-table .fixed-table-container .table thead th .desc {
  105. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ");
  106. }
  107. .bootstrap-table .fixed-table-container .table tbody tr.selected td {
  108. background-color: rgba(0, 0, 0, 0.075);
  109. }
  110. .bootstrap-table .fixed-table-container .table tbody tr.no-records-found td {
  111. text-align: center;
  112. }
  113. .bootstrap-table .fixed-table-container .table tbody tr .card-view {
  114. display: flex;
  115. }
  116. .bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title {
  117. font-weight: bold;
  118. display: inline-block;
  119. min-width: 30%;
  120. width: auto !important;
  121. text-align: left !important;
  122. }
  123. .bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value {
  124. width: 100% !important;
  125. text-align: left !important;
  126. }
  127. .bootstrap-table .fixed-table-container .table .bs-checkbox {
  128. text-align: center;
  129. }
  130. .bootstrap-table .fixed-table-container .table .bs-checkbox label {
  131. margin-bottom: 0;
  132. }
  133. .bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="radio"],
  134. .bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="checkbox"] {
  135. margin: 0 auto !important;
  136. }
  137. .bootstrap-table .fixed-table-container .table.table-sm .th-inner {
  138. padding: 0.3rem;
  139. }
  140. .bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
  141. border-bottom: 1px solid #dee2e6;
  142. }
  143. .bootstrap-table .fixed-table-container.fixed-height.has-card-view {
  144. border-top: 1px solid #dee2e6;
  145. border-bottom: 1px solid #dee2e6;
  146. }
  147. .bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
  148. border-left: 1px solid #dee2e6;
  149. border-right: 1px solid #dee2e6;
  150. }
  151. .bootstrap-table .fixed-table-container.fixed-height .table thead th {
  152. border-bottom: 1px solid #dee2e6;
  153. }
  154. .bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
  155. border-bottom: 1px solid #32383e;
  156. }
  157. .bootstrap-table .fixed-table-container .fixed-table-header {
  158. overflow: hidden;
  159. }
  160. .bootstrap-table .fixed-table-container .fixed-table-body {
  161. overflow-x: auto;
  162. overflow-y: auto;
  163. height: 100%;
  164. }
  165. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
  166. align-items: center;
  167. background: #fff;
  168. display: flex;
  169. justify-content: center;
  170. position: absolute;
  171. bottom: 0;
  172. width: 100%;
  173. max-width: 100%;
  174. z-index: 1000;
  175. transition: visibility 0s, opacity 0.15s ease-in-out;
  176. opacity: 0;
  177. visibility: hidden;
  178. }
  179. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open {
  180. visibility: visible;
  181. opacity: 1;
  182. }
  183. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
  184. align-items: baseline;
  185. display: flex;
  186. justify-content: center;
  187. }
  188. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
  189. margin-right: 6px;
  190. }
  191. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
  192. align-items: center;
  193. display: flex;
  194. justify-content: center;
  195. }
  196. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
  197. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
  198. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
  199. content: "";
  200. animation-duration: 1.5s;
  201. animation-iteration-count: infinite;
  202. animation-name: loading;
  203. background: #212529;
  204. border-radius: 50%;
  205. display: block;
  206. height: 5px;
  207. margin: 0 4px;
  208. opacity: 0;
  209. width: 5px;
  210. }
  211. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
  212. animation-delay: 0.3s;
  213. }
  214. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after {
  215. animation-delay: 0.6s;
  216. }
  217. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
  218. background: #212529;
  219. }
  220. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
  221. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
  222. .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
  223. background: #fff;
  224. }
  225. .bootstrap-table .fixed-table-container .fixed-table-footer {
  226. overflow: hidden;
  227. }
  228. .bootstrap-table .fixed-table-pagination::after {
  229. content: "";
  230. display: block;
  231. clear: both;
  232. }
  233. .bootstrap-table .fixed-table-pagination > .pagination-detail,
  234. .bootstrap-table .fixed-table-pagination > .pagination {
  235. margin-top: 10px;
  236. margin-bottom: 10px;
  237. }
  238. .bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
  239. line-height: 34px;
  240. margin-right: 5px;
  241. }
  242. .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list {
  243. display: inline-block;
  244. }
  245. .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group {
  246. position: relative;
  247. display: inline-block;
  248. vertical-align: middle;
  249. }
  250. .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
  251. margin-bottom: 0;
  252. }
  253. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
  254. margin: 0;
  255. }
  256. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a {
  257. color: #c8c8c8;
  258. }
  259. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::before {
  260. content: "\2B05";
  261. }
  262. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::after {
  263. content: "\27A1";
  264. }
  265. .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.disabled a {
  266. pointer-events: none;
  267. cursor: default;
  268. }
  269. .bootstrap-table.fullscreen {
  270. position: fixed;
  271. top: 0;
  272. left: 0;
  273. z-index: 1050;
  274. width: 100% !important;
  275. background: #fff;
  276. height: calc(100vh);
  277. overflow-y: scroll;
  278. }
  279. .bootstrap-table.bootstrap4 .pagination-lg .page-link, .bootstrap-table.bootstrap5 .pagination-lg .page-link {
  280. padding: .5rem 1rem;
  281. }
  282. .bootstrap-table.bootstrap5 .float-left {
  283. float: left;
  284. }
  285. .bootstrap-table.bootstrap5 .float-right {
  286. float: right;
  287. }
  288. /* calculate scrollbar width */
  289. div.fixed-table-scroll-inner {
  290. width: 100%;
  291. height: 200px;
  292. }
  293. div.fixed-table-scroll-outer {
  294. top: 0;
  295. left: 0;
  296. visibility: hidden;
  297. width: 200px;
  298. height: 150px;
  299. overflow: hidden;
  300. }
  301. @keyframes loading {
  302. 0% {
  303. opacity: 0;
  304. }
  305. 50% {
  306. opacity: 1;
  307. }
  308. to {
  309. opacity: 0;
  310. }
  311. }