Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
1 files changed, 19 insertions, 3 deletions
-rw-r--r--src/tables.less22
diff --git a/src/tables.less b/src/tables.less
index c2c0ee6..5e70608 100644
--- a/src/tables.less
+++ b/src/tables.less
@@ -4,6 +4,25 @@
border-spacing: 0;
width: 100%;
+ &.table-striped {
+ tbody {
+ tr:nth-of-type(odd) {
+ background: lighten(@core-border-color, 5%);
+ }
+ }
+ }
+ &.table-hover {
+ tbody {
+ tr {
+ &:hover {
+ background: lighten(@core-border-color, 2%);
+ }
+ &.selected {
+ background: lighten(@core-border-color, 1%);
+ }
+ }
+ }
+ }
th,
td {
border-bottom: .1rem solid @core-border-color;
@@ -13,7 +32,4 @@
th {
border-color: darken(@core-border-color, 15%);
}
- .selected {
- background: lighten(@core-border-color, 2%);
- }
}