mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
fixes #4304: more specific selectors on table border classes to override .table-striped
This commit is contained in:
+19
-12
@@ -48,16 +48,6 @@ table {
|
||||
tbody + tbody {
|
||||
border-top: 2px solid @tableBorder;
|
||||
}
|
||||
|
||||
.success td {
|
||||
background-color: @successBackground;
|
||||
}
|
||||
.error td {
|
||||
background-color: @errorBackground;
|
||||
}
|
||||
.info td {
|
||||
background-color: @infoBackground;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -169,8 +159,8 @@ table {
|
||||
// ------------
|
||||
// Placed here since it has to come after the potential zebra striping
|
||||
.table-hover {
|
||||
tbody tr:hover td,
|
||||
tbody tr:hover th {
|
||||
tr:hover td,
|
||||
tr:hover th {
|
||||
background-color: @tableBackgroundHover;
|
||||
}
|
||||
}
|
||||
@@ -214,3 +204,20 @@ table {
|
||||
.span23 { .tableColumns(23); }
|
||||
.span24 { .tableColumns(24); }
|
||||
}
|
||||
|
||||
|
||||
// TABLE BACKGROUNDS
|
||||
// -----------------
|
||||
// Exact selectors below required to override .table-striped
|
||||
|
||||
.table {
|
||||
tbody tr.success td {
|
||||
background-color: @successBackground;
|
||||
}
|
||||
tbody tr.error td {
|
||||
background-color: @errorBackground;
|
||||
}
|
||||
tbody tr.info td {
|
||||
background-color: @infoBackground;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user