aboutsummaryrefslogtreecommitdiff
path: root/assets/css/lib/bootstrap/mixins/_table-row.scss
diff options
context:
space:
mode:
authorMaZderMind2015-02-26 17:57:42 +0100
committerMaZderMind2015-02-26 17:57:42 +0100
commit6db2f0f4b9816ccd271332b89a05a9d0d753216b (patch)
treefd7ecf7cf16b33bdb75c45e747d12f9ecca43358 /assets/css/lib/bootstrap/mixins/_table-row.scss
parent9fb5b19bb0652b9c187c9b552c0a7ec4d6778222 (diff)
shuffle things around on the way to a bootstrap-based configurable website
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%);
}
}
}