mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 18:14:17 +02:00
refactor tables.less to use nesting more
This commit is contained in:
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@@ -1126,10 +1126,10 @@ th {
|
||||
}
|
||||
|
||||
.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 caption + thead tr:first-child td,
|
||||
.table colgroup + thead tr:first-child td,
|
||||
.table thead:first-child tr:first-child td {
|
||||
border-top: 0;
|
||||
}
|
||||
@@ -1212,15 +1212,15 @@ th {
|
||||
}
|
||||
|
||||
.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 > caption + tbody > tr:first-child > td:first-child,
|
||||
.table-bordered > colgroup + tbody > tr:first-child > td:first-child {
|
||||
border-top-left-radius: 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 > caption + tbody > tr:first-child > td:last-child,
|
||||
.table-bordered > colgroup + tbody > tr:first-child > td:last-child {
|
||||
border-top-right-radius: 4px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user