aboutsummaryrefslogtreecommitdiff
path: root/assets/css/bootstrap-3.3.2/mixins/table-row.less
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/css/bootstrap-3.3.2/mixins/table-row.less (renamed from assets/css/lib/bootstrap/mixins/_table-row.scss)24
1 files changed, 12 insertions, 12 deletions
diff --git a/assets/css/lib/bootstrap/mixins/_table-row.scss b/assets/css/bootstrap-3.3.2/mixins/table-row.less
index 1367950..0f287f1 100644
--- a/assets/css/lib/bootstrap/mixins/_table-row.scss
+++ b/assets/css/bootstrap-3.3.2/mixins/table-row.less
@@ -1,28 +1,28 @@
// Tables
-@mixin table-row-variant($state, $background) {
+.table-row-variant(@state; @background) {
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
.table > thead > tr,
.table > tbody > tr,
.table > tfoot > tr {
- > td.#{$state},
- > th.#{$state},
- &.#{$state} > td,
- &.#{$state} > th {
- background-color: $background;
+ > td.@{state},
+ > th.@{state},
+ &.@{state} > td,
+ &.@{state} > th {
+ background-color: @background;
}
}
// Hover states for `.table-hover`
// Note: this is not available for cells or rows within `thead` or `tfoot`.
.table-hover > tbody > tr {
- > td.#{$state}:hover,
- > th.#{$state}:hover,
- &.#{$state}:hover > td,
- &:hover > .#{$state},
- &.#{$state}:hover > th {
- background-color: darken($background, 5%);
+ > td.@{state}:hover,
+ > th.@{state}:hover,
+ &.@{state}:hover > td,
+ &:hover > .@{state},
+ &.@{state}:hover > th {
+ background-color: darken(@background, 5%);
}
}
}