bootstrap-table.css 9.8 KB

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