bootstrap-table.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. /**
  2. * @author zhixin wen <wenzhixin2010@gmail.com>
  3. * version: 1.7.0
  4. * https://github.com/wenzhixin/bootstrap-table/
  5. */
  6. .bootstrap-table .table {
  7. margin-bottom: 0 !important;
  8. border-bottom: 1px solid #dddddd;
  9. border-collapse: collapse !important;
  10. border-radius: 1px;
  11. }
  12. .bootstrap-table .table,
  13. .bootstrap-table .table > tbody > tr > th,
  14. .bootstrap-table .table > tfoot > tr > th,
  15. .bootstrap-table .table > thead > tr > td,
  16. .bootstrap-table .table > tbody > tr > td,
  17. .bootstrap-table .table > tfoot > tr > td {
  18. padding: 8px !important;
  19. }
  20. .bootstrap-table .table.table-no-bordered > thead > tr > th,
  21. .bootstrap-table .table.table-no-bordered > tbody > tr > td {
  22. border-right: 2px solid transparent;
  23. }
  24. .fixed-table-container {
  25. position: relative;
  26. clear: both;
  27. border: 1px solid #dddddd;
  28. border-radius: 4px;
  29. -webkit-border-radius: 4px;
  30. -moz-border-radius: 4px;
  31. }
  32. .fixed-table-container.table-no-bordered {
  33. border: 1px solid transparent;
  34. }
  35. .fixed-table-footer,
  36. .fixed-table-header {
  37. height: 37px; /*cellHeight*/
  38. overflow: hidden;
  39. border-radius: 4px 4px 0 0;
  40. -webkit-border-radius: 4px 4px 0 0;
  41. -moz-border-radius: 4px 4px 0 0;
  42. }
  43. .fixed-table-header {
  44. border-bottom: 1px solid #dddddd;
  45. }
  46. .fixed-table-footer {
  47. border-top: 1px solid #dddddd;
  48. }
  49. .fixed-table-body {
  50. overflow-x: auto;
  51. overflow-y: auto;
  52. height: 100%;
  53. }
  54. .fixed-table-container table {
  55. width: 100%;
  56. }
  57. .fixed-table-container thead th {
  58. height: 0;
  59. padding: 0;
  60. margin: 0;
  61. border-left: 1px solid #dddddd;
  62. }
  63. .fixed-table-container thead th:first-child {
  64. border-left: none;
  65. border-top-left-radius: 4px;
  66. -webkit-border-top-left-radius: 4px;
  67. -moz-border-radius-topleft: 4px;
  68. }
  69. .fixed-table-container thead th .th-inner {
  70. padding: 8px;
  71. line-height: 24px;
  72. vertical-align: top;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. white-space: nowrap;
  76. }
  77. .fixed-table-container thead th .sortable {
  78. cursor: pointer;
  79. }
  80. .fixed-table-container tbody td {
  81. border-left: 1px solid #dddddd;
  82. }
  83. .fixed-table-container tbody tr:first-child td {
  84. border-top: none;
  85. }
  86. .fixed-table-container tbody td:first-child {
  87. border-left: none;
  88. }
  89. /* the same color with .active */
  90. .fixed-table-container tbody .selected td {
  91. background-color: #f5f5f5;
  92. }
  93. .fixed-table-container .bs-checkbox {
  94. text-align: center;
  95. }
  96. .fixed-table-container .bs-checkbox .th-inner {
  97. padding: 8px 0;
  98. }
  99. .fixed-table-container input[type="radio"],
  100. .fixed-table-container input[type="checkbox"] {
  101. margin: 0 auto !important;
  102. }
  103. .fixed-table-container .no-records-found {
  104. text-align: center;
  105. }
  106. .fixed-table-pagination .pagination,
  107. .fixed-table-pagination .pagination-detail {
  108. margin-top: 10px;
  109. margin-bottom: 10px;
  110. }
  111. .fixed-table-pagination .pagination a {
  112. padding: 6px 12px;
  113. line-height: 1.428571429;
  114. }
  115. .fixed-table-pagination .pagination-info {
  116. line-height: 34px;
  117. margin-right: 5px;
  118. }
  119. .fixed-table-pagination .btn-group {
  120. position: relative;
  121. display: inline-block;
  122. vertical-align: middle;
  123. }
  124. .fixed-table-pagination .dropup .dropdown-menu {
  125. margin-bottom: 0;
  126. }
  127. .fixed-table-pagination .page-list {
  128. display: inline-block;
  129. }
  130. .fixed-table-toolbar .columns-left {
  131. margin-right: 5px;
  132. }
  133. .fixed-table-toolbar .columns-right {
  134. margin-left: 5px;
  135. }
  136. .fixed-table-toolbar .columns label {
  137. display: block;
  138. padding: 3px 20px;
  139. clear: both;
  140. font-weight: normal;
  141. line-height: 1.428571429;
  142. }
  143. .fixed-table-toolbar .bars,
  144. .fixed-table-toolbar .search,
  145. .fixed-table-toolbar .columns {
  146. position: relative;
  147. margin-top: 10px;
  148. margin-bottom: 10px;
  149. line-height: 34px;
  150. }
  151. .fixed-table-pagination li.disabled a {
  152. pointer-events: none;
  153. cursor: default;
  154. }
  155. .fixed-table-loading {
  156. display: none;
  157. position: absolute;
  158. top: 42px;
  159. right: 0;
  160. bottom: 0;
  161. left: 0;
  162. z-index: 99;
  163. background-color: #fff;
  164. text-align: center;
  165. }
  166. .fixed-table-body .card-view .title {
  167. font-weight: bold;
  168. display: inline-block;
  169. min-width: 30%;
  170. text-align: left !important;
  171. }
  172. /* support bootstrap 2 */
  173. .fixed-table-body thead th .th-inner {
  174. box-sizing: border-box;
  175. }
  176. .table th, .table td {
  177. vertical-align: middle;
  178. box-sizing: border-box;
  179. }
  180. .fixed-table-toolbar .dropdown-menu {
  181. text-align: left;
  182. max-height: 300px;
  183. overflow: auto;
  184. }
  185. .fixed-table-toolbar .btn-group > .btn-group {
  186. display: inline-block;
  187. margin-left: -1px !important;
  188. }
  189. .fixed-table-toolbar .btn-group > .btn-group > .btn {
  190. border-radius: 0;
  191. }
  192. .fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
  193. border-top-left-radius: 4px;
  194. border-bottom-left-radius: 4px;
  195. }
  196. .fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
  197. border-top-right-radius: 4px;
  198. border-bottom-right-radius: 4px;
  199. }
  200. .bootstrap-table .table > thead > tr > th {
  201. vertical-align: bottom;
  202. border-bottom: 2px solid #ddd;
  203. }
  204. /* support bootstrap 3 */
  205. .bootstrap-table .table thead > tr > th {
  206. padding: 0;
  207. margin: 0;
  208. }
  209. .pull-right .dropdown-menu {
  210. right: 0;
  211. left: auto;
  212. }
  213. /* calculate scrollbar width */
  214. p.fixed-table-scroll-inner {
  215. width: 100%;
  216. height: 200px;
  217. }
  218. div.fixed-table-scroll-outer {
  219. top: 0;
  220. left: 0;
  221. visibility: hidden;
  222. width: 200px;
  223. height: 150px;
  224. overflow: hidden;
  225. }