3 // --------------------------------------------------
8 background-color: @table-bg;
20 margin-bottom: @line-height-computed;
28 padding: @table-cell-padding;
29 line-height: @line-height-base;
31 border-top: 1px solid @table-border-color;
35 // Bottom align for column headings
37 vertical-align: bottom;
39 // Remove top border from thead by default
49 // Account for multiple tbody instances
51 border-top: 2px solid @table-border-color;
56 background-color: @body-bg;
62 // Condensed table w/ half padding
63 // -------------------------------
72 padding: @table-condensed-cell-padding;
84 border: 1px solid @table-border-color;
91 border: 1px solid @table-border-color;
102 // Default zebra-stripe styles (alternating gray and transparent backgrounds)
105 > tr:nth-child(odd) {
108 background-color: @table-bg-accent;
119 // Placed here since it has to come after the potential zebra striping
125 background-color: @table-bg-hover;
136 // Reset default table behavior
137 table col[class^="col-"] {
139 display: table-column;
155 // Exact selectors below required to override `.table-striped` and prevent
156 // inheritance to nested tables.
160 .table > tfoot > tr {
165 background-color: @table-bg-active;
169 // Contextual variants
170 // -------------------
171 .table-row-variant(success; @state-success-bg; @state-success-border);
173 .table-row-variant(danger; @state-danger-bg; @state-danger-border);
175 .table-row-variant(warning; @state-warning-bg; @state-warning-border);