bootstrap-tables.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. table {
  2. max-width: 100%;
  3. border-collapse: collapse;
  4. border-spacing: 0;
  5. background-color: transparent;
  6. }
  7. .table {
  8. width: 100%;
  9. margin-bottom: 18px;
  10. }
  11. .table th,
  12. .table td {
  13. padding: 8px;
  14. line-height: 18px;
  15. text-align: left;
  16. vertical-align: top;
  17. border-top: 1px solid #dddddd;
  18. }
  19. .table th {
  20. font-weight: bold;
  21. }
  22. .table thead th {
  23. vertical-align: bottom;
  24. }
  25. .table colgroup + thead tr:first-child th,
  26. .table colgroup + thead tr:first-child td,
  27. .table thead:first-child tr:first-child th,
  28. .table thead:first-child tr:first-child td {
  29. border-top: 0;
  30. }
  31. .table tbody + tbody {
  32. border-top: 2px solid #dddddd;
  33. }
  34. .table-condensed th,
  35. .table-condensed td {
  36. padding: 4px 5px;
  37. }
  38. .table-bordered {
  39. border: 1px solid #dddddd;
  40. border-left: 0;
  41. border-collapse: separate;
  42. *border-collapse: collapsed;
  43. -webkit-border-radius: 4px;
  44. -moz-border-radius: 4px;
  45. border-radius: 4px;
  46. }
  47. .table-bordered th,
  48. .table-bordered td {
  49. border-left: 1px solid #dddddd;
  50. }
  51. .table-bordered thead:first-child tr:first-child th,
  52. .table-bordered tbody:first-child tr:first-child th,
  53. .table-bordered tbody:first-child tr:first-child td {
  54. border-top: 0;
  55. }
  56. .table-bordered thead:first-child tr:first-child th:first-child,
  57. .table-bordered tbody:first-child tr:first-child td:first-child {
  58. -webkit-border-radius: 4px 0 0 0;
  59. -moz-border-radius: 4px 0 0 0;
  60. border-radius: 4px 0 0 0;
  61. }
  62. .table-bordered thead:first-child tr:first-child th:last-child,
  63. .table-bordered tbody:first-child tr:first-child td:last-child {
  64. -webkit-border-radius: 0 4px 0 0;
  65. -moz-border-radius: 0 4px 0 0;
  66. border-radius: 0 4px 0 0;
  67. }
  68. .table-bordered thead:last-child tr:last-child th:first-child,
  69. .table-bordered tbody:last-child tr:last-child td:first-child {
  70. -webkit-border-radius: 0 0 0 4px;
  71. -moz-border-radius: 0 0 0 4px;
  72. border-radius: 0 0 0 4px;
  73. }
  74. .table-bordered thead:last-child tr:last-child th:last-child,
  75. .table-bordered tbody:last-child tr:last-child td:last-child {
  76. -webkit-border-radius: 0 0 4px 0;
  77. -moz-border-radius: 0 0 4px 0;
  78. border-radius: 0 0 4px 0;
  79. }
  80. .table-striped tbody tr:nth-child(odd) td,
  81. .table-striped tbody tr:nth-child(odd) th {
  82. background-color: #f9f9f9;
  83. }
  84. .table tbody tr:hover td,
  85. .table tbody tr:hover th {
  86. background-color: #f5f5f5;
  87. }
  88. table .span1 {
  89. float: none;
  90. width: 44px;
  91. margin-left: 0;
  92. }
  93. table .span2 {
  94. float: none;
  95. width: 124px;
  96. margin-left: 0;
  97. }
  98. table .span3 {
  99. float: none;
  100. width: 204px;
  101. margin-left: 0;
  102. }
  103. table .span4 {
  104. float: none;
  105. width: 284px;
  106. margin-left: 0;
  107. }
  108. table .span5 {
  109. float: none;
  110. width: 364px;
  111. margin-left: 0;
  112. }
  113. table .span6 {
  114. float: none;
  115. width: 444px;
  116. margin-left: 0;
  117. }
  118. table .span7 {
  119. float: none;
  120. width: 524px;
  121. margin-left: 0;
  122. }
  123. table .span8 {
  124. float: none;
  125. width: 604px;
  126. margin-left: 0;
  127. }
  128. table .span9 {
  129. float: none;
  130. width: 684px;
  131. margin-left: 0;
  132. }
  133. table .span10 {
  134. float: none;
  135. width: 764px;
  136. margin-left: 0;
  137. }
  138. table .span11 {
  139. float: none;
  140. width: 844px;
  141. margin-left: 0;
  142. }
  143. table .span12 {
  144. float: none;
  145. width: 924px;
  146. margin-left: 0;
  147. }
  148. table .span13 {
  149. float: none;
  150. width: 1004px;
  151. margin-left: 0;
  152. }
  153. table .span14 {
  154. float: none;
  155. width: 1084px;
  156. margin-left: 0;
  157. }
  158. table .span15 {
  159. float: none;
  160. width: 1164px;
  161. margin-left: 0;
  162. }
  163. table .span16 {
  164. float: none;
  165. width: 1244px;
  166. margin-left: 0;
  167. }
  168. table .span17 {
  169. float: none;
  170. width: 1324px;
  171. margin-left: 0;
  172. }
  173. table .span18 {
  174. float: none;
  175. width: 1404px;
  176. margin-left: 0;
  177. }
  178. table .span19 {
  179. float: none;
  180. width: 1484px;
  181. margin-left: 0;
  182. }
  183. table .span20 {
  184. float: none;
  185. width: 1564px;
  186. margin-left: 0;
  187. }
  188. table .span21 {
  189. float: none;
  190. width: 1644px;
  191. margin-left: 0;
  192. }
  193. table .span22 {
  194. float: none;
  195. width: 1724px;
  196. margin-left: 0;
  197. }
  198. table .span23 {
  199. float: none;
  200. width: 1804px;
  201. margin-left: 0;
  202. }
  203. table .span24 {
  204. float: none;
  205. width: 1884px;
  206. margin-left: 0;
  207. }