mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fixes #10526: Remove custom background on responsive tables and set it in the docs where it should've been originally
This commit is contained in:
parent
afb6cf1d01
commit
fff5e540f5
4 changed files with 14 additions and 11 deletions
|
@ -676,6 +676,11 @@ h1[id] {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Tables */
|
||||||
|
.bs-example > .table-responsive > .table {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
.bs-example > .btn,
|
.bs-example > .btn,
|
||||||
.bs-example > .btn-group {
|
.bs-example > .btn-group {
|
||||||
|
|
17
dist/css/bootstrap.css
vendored
17
dist/css/bootstrap.css
vendored
|
@ -1551,7 +1551,7 @@ table th[class*="col-"] {
|
||||||
.table > tbody > tr.danger > th,
|
.table > tbody > tr.danger > th,
|
||||||
.table > tfoot > tr.danger > th {
|
.table > tfoot > tr.danger > th {
|
||||||
background-color: #f2dede;
|
background-color: #f2dede;
|
||||||
border-color: #eed3d7;
|
border-color: #ebccd1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-hover > tbody > tr > td.danger:hover,
|
.table-hover > tbody > tr > td.danger:hover,
|
||||||
|
@ -1559,7 +1559,7 @@ table th[class*="col-"] {
|
||||||
.table-hover > tbody > tr.danger:hover > td,
|
.table-hover > tbody > tr.danger:hover > td,
|
||||||
.table-hover > tbody > tr.danger:hover > th {
|
.table-hover > tbody > tr.danger:hover > th {
|
||||||
background-color: #ebcccc;
|
background-color: #ebcccc;
|
||||||
border-color: #e6c1c7;
|
border-color: #e4b9c0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table > thead > tr > td.warning,
|
.table > thead > tr > td.warning,
|
||||||
|
@ -1598,7 +1598,6 @@ table th[class*="col-"] {
|
||||||
}
|
}
|
||||||
.table-responsive > .table {
|
.table-responsive > .table {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
background-color: #fff;
|
|
||||||
}
|
}
|
||||||
.table-responsive > .table > thead > tr > th,
|
.table-responsive > .table > thead > tr > th,
|
||||||
.table-responsive > .table > tbody > tr > th,
|
.table-responsive > .table > tbody > tr > th,
|
||||||
|
@ -5145,11 +5144,11 @@ a.thumbnail:focus {
|
||||||
.alert-danger {
|
.alert-danger {
|
||||||
color: #b94a48;
|
color: #b94a48;
|
||||||
background-color: #f2dede;
|
background-color: #f2dede;
|
||||||
border-color: #eed3d7;
|
border-color: #ebccd1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-danger hr {
|
.alert-danger hr {
|
||||||
border-top-color: #e6c1c7;
|
border-top-color: #e4b9c0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-danger .alert-link {
|
.alert-danger .alert-link {
|
||||||
|
@ -5608,21 +5607,21 @@ a.list-group-item:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-danger {
|
.panel-danger {
|
||||||
border-color: #eed3d7;
|
border-color: #ebccd1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-danger > .panel-heading {
|
.panel-danger > .panel-heading {
|
||||||
color: #b94a48;
|
color: #b94a48;
|
||||||
background-color: #f2dede;
|
background-color: #f2dede;
|
||||||
border-color: #eed3d7;
|
border-color: #ebccd1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-danger > .panel-heading + .panel-collapse .panel-body {
|
.panel-danger > .panel-heading + .panel-collapse .panel-body {
|
||||||
border-top-color: #eed3d7;
|
border-top-color: #ebccd1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-danger > .panel-footer + .panel-collapse .panel-body {
|
.panel-danger > .panel-footer + .panel-collapse .panel-body {
|
||||||
border-bottom-color: #eed3d7;
|
border-bottom-color: #ebccd1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-info {
|
.panel-info {
|
||||||
|
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -194,7 +194,6 @@ table {
|
||||||
// Tighten up spacing and give a background color
|
// Tighten up spacing and give a background color
|
||||||
> .table {
|
> .table {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
background-color: #fff;
|
|
||||||
|
|
||||||
// Ensure the content doesn't wrap
|
// Ensure the content doesn't wrap
|
||||||
> thead,
|
> thead,
|
||||||
|
|
Loading…
Reference in a new issue