123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- table {
- max-width: 100%;
- background-color: transparent;
- border-collapse: collapse;
- border-spacing: 0;
- }
- .table {
- width: 100%;
- margin-bottom: 20px;
- }
- .table th,
- .table td {
- padding: 8px;
- line-height: 20px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #fff;
- }
- .table th {
- font-weight: bold;
- }
- .table thead th {
- vertical-align: bottom;
- }
- .table caption + thead tr:first-child th,
- .table caption + thead tr:first-child td,
- .table colgroup + thead tr:first-child th,
- .table colgroup + thead tr:first-child td,
- .table thead:first-child tr:first-child th,
- .table thead:first-child tr:first-child td {
- border-top: 0;
- }
- .table tbody + tbody {
- border-top: 2px solid #fff;
- }
- .table .table {
- background-color: #666;
- }
- .table-condensed th,
- .table-condensed td {
- padding: 4px 5px;
- }
- .table-bordered {
- border: 1px solid #fff !important;
- border-collapse: separate;
- *border-collapse: collapse;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- }
- .table-bordered th,
- .table-bordered td {
- border-left: 1px solid #fff;
- }
- .table-bordered caption + thead tr:first-child th,
- .table-bordered caption + tbody tr:first-child th,
- .table-bordered caption + tbody tr:first-child td,
- .table-bordered colgroup + thead tr:first-child th,
- .table-bordered colgroup + tbody tr:first-child th,
- .table-bordered colgroup + tbody tr:first-child td,
- .table-bordered thead:first-child tr:first-child th,
- .table-bordered tbody:first-child tr:first-child th,
- .table-bordered tbody:first-child tr:first-child td {
- border-top: 0;
- }
- .table-bordered thead:first-child tr:first-child > th:first-child,
- .table-bordered tbody:first-child tr:first-child > td:first-child,
- .table-bordered tbody:first-child tr:first-child > th:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px;
- }
- .table-bordered thead:first-child tr:first-child > th:last-child,
- .table-bordered tbody:first-child tr:first-child > td:last-child,
- .table-bordered tbody:first-child tr:first-child > th:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px;
- }
- .table-bordered thead:last-child tr:last-child > th:first-child,
- .table-bordered tbody:last-child tr:last-child > td:first-child,
- .table-bordered tbody:last-child tr:last-child > th:first-child,
- .table-bordered tfoot:last-child tr:last-child > td:first-child,
- .table-bordered tfoot:last-child tr:last-child > th:first-child {
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px;
- }
- .table-bordered thead:last-child tr:last-child > th:last-child,
- .table-bordered tbody:last-child tr:last-child > td:last-child,
- .table-bordered tbody:last-child tr:last-child > th:last-child,
- .table-bordered tfoot:last-child tr:last-child > td:last-child,
- .table-bordered tfoot:last-child tr:last-child > th:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px;
- }
- .table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomleft: 0;
- }
- .table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomright: 0;
- }
- .table-bordered caption + thead tr:first-child th:first-child,
- .table-bordered caption + tbody tr:first-child td:first-child,
- .table-bordered colgroup + thead tr:first-child th:first-child,
- .table-bordered colgroup + tbody tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px;
- }
- .table-bordered caption + thead tr:first-child th:last-child,
- .table-bordered caption + tbody tr:first-child td:last-child,
- .table-bordered colgroup + thead tr:first-child th:last-child,
- .table-bordered colgroup + tbody tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px;
- }
- .table-striped tbody > tr:nth-child(odd) > td,
- .table-striped tbody > tr:nth-child(odd) > th {
- background-color: #666;
- }
- .table-hover tbody tr:hover > td,
- .table-hover tbody tr:hover > th {
- background-color: #333;
- }
- .table tbody tr.success > td, .table tbody tr td.success {
- background-color: #dff0d8;
- color: #666;
- }
- .table tbody tr.error > td, .table tbody tr td.error {
- background-color: #f2dede;
- color: #666;
- }
- .table tbody tr.warning > td,.table tbody tr td.warning {
- background-color: #fcf8e3;
- color: #666;
- }
- .table tbody tr.info > td, .table tbody tr td.info {
- background-color: #d9edf7;
- color: #666;
- }
- .table-hover tbody tr.success:hover > td {
- background-color: #d0e9c6;
- }
- .table-hover tbody tr.error:hover > td {
- background-color: #ebcccc;
- }
- .table-hover tbody tr.warning:hover > td {
- background-color: #faf2cc;
- }
- .table-hover tbody tr.info:hover > td {
- background-color: #c4e3f3;
- }
|