bootstrap-table.css 11 KB

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