bootstrap-table-semantic.css 11 KB

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