diff options
update table code
3 files changed, 7 insertions, 12 deletions
| -rw-r--r-- | dist/spectre.css | 6 | ||||
| -rw-r--r-- | src/navigation.less | 2 | ||||
| -rw-r--r-- | src/tables.less | 11 |
diff --git a/dist/spectre.css b/dist/spectre.css index 99c6bd9..a849bc1 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -618,13 +618,11 @@ table td { text-align: left; padding: 1.5rem 1rem; border-bottom: 0.1rem solid #efefef; - background-color: #fff; } table th { - border-color: #d6d6d6; + border-color: #c9c9c9; } -table tr.selected th, -table tr.selected td { +table tr.selected { background-color: #f4f4f4; } .btn, diff --git a/src/navigation.less b/src/navigation.less index c9b0f71..2e0436f 100644 --- a/src/navigation.less +++ b/src/navigation.less @@ -75,7 +75,7 @@ flex: 1; text-align: center; } - } } +// TODO: Tabs with icons diff --git a/src/tables.less b/src/tables.less index 0fb0b4f..920f488 100644 --- a/src/tables.less +++ b/src/tables.less @@ -7,16 +7,13 @@ table { text-align: left; padding: 1.5rem 1rem; border-bottom: .1rem solid @core-border-color; - background-color: #fff; } th { - border-color: darken(@core-border-color, 10%); + border-color: darken(@core-border-color, 15%); } - tr.selected { - th, - td { - background-color: lighten(@core-border-color, 2%); + tr { + &.selected { + background-color: lighten(@core-border-color, 2%); } - } }
\ No newline at end of file |