bootstrap-table.css 10 KB

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