1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

Clean up LESS files

This commit is contained in:
Toby Zerner
2015-04-25 22:31:30 +09:30
parent b68a4711dc
commit b61017efdc
98 changed files with 34 additions and 2719 deletions

View File

@@ -0,0 +1,28 @@
// Tables
.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;
}
}
// 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%);
}
}
}