From 20d33818a838a7c022456d5620d255283531ba97 Mon Sep 17 00:00:00 2001 From: Darin Dimitroff Date: Mon, 2 Jan 2017 16:09:21 +0200 Subject: WIP --- src/css/imports/_tables.css | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) (limited to 'src/css/imports/_tables.css') diff --git a/src/css/imports/_tables.css b/src/css/imports/_tables.css index d1f145a..ca6ca41 100755 --- a/src/css/imports/_tables.css +++ b/src/css/imports/_tables.css @@ -1,35 +1,30 @@ -/* - - TABLES - Docs: http://tachyons.io/docs/elements/tables/ - -*/ - -.collapse { - border-collapse: collapse; - border-spacing: 0; -} - -.striped--light-silver:nth-child(odd) { - background-color: var(--light-silver); +table +{ + border-radius: var(--border-radius); + overflow: hidden; } -.striped--moon-gray:nth-child(odd) { - background-color: var(--moon-gray); +td, th { + padding: $spacing-medium; } -.striped--light-gray:nth-child(odd) { - background-color: var(--light-gray); +th:not(:first-child), td:not(:first-child) { + text-align: right; } -.striped--near-white:nth-child(odd) { - background-color: var(--near-white); +th { + color: var(--grey-3); + font-weight: 700; + white-space: nowrap; + { + white-space: wrap; + } } -.stripe-light:nth-child(odd) { - background-color: var(--white-10); +tr th { + text-align: center; } -.stripe-dark:nth-child(odd) { - background-color: var(--black-10); +tbody tr:nth-child(even) { + background-color: var(--grey-1); } -- cgit v1.3