mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
fixes #8491: add vars for table padding
This commit is contained in:
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@@ -1147,7 +1147,7 @@ th {
|
|||||||
.table-condensed thead > tr > td,
|
.table-condensed thead > tr > td,
|
||||||
.table-condensed tbody > tr > td,
|
.table-condensed tbody > tr > td,
|
||||||
.table-condensed tfoot > tr > td {
|
.table-condensed tfoot > tr > td {
|
||||||
padding: 4px 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-bordered {
|
.table-bordered {
|
||||||
|
@@ -25,7 +25,7 @@ th {
|
|||||||
> tr {
|
> tr {
|
||||||
> th,
|
> th,
|
||||||
> td {
|
> td {
|
||||||
padding: 8px;
|
padding: @table-cell-padding;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
border-top: 1px solid @table-border-color;
|
border-top: 1px solid @table-border-color;
|
||||||
@@ -69,7 +69,7 @@ th {
|
|||||||
> tr {
|
> tr {
|
||||||
> th,
|
> th,
|
||||||
> td {
|
> td {
|
||||||
padding: 4px 5px;
|
padding: @table-condensed-cell-padding;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -81,6 +81,9 @@
|
|||||||
// Tables
|
// Tables
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
|
@table-cell-padding: 8px;
|
||||||
|
@table-condensed-cell-padding: 5px;
|
||||||
|
|
||||||
@table-bg: transparent; // overall background-color
|
@table-bg: transparent; // overall background-color
|
||||||
@table-bg-accent: #f9f9f9; // for striping
|
@table-bg-accent: #f9f9f9; // for striping
|
||||||
@table-bg-hover: #f5f5f5; // for hover
|
@table-bg-hover: #f5f5f5; // for hover
|
||||||
|
Reference in New Issue
Block a user