From a05f1f51d102fc776a7150d9c9a07ad1d1f35104 Mon Sep 17 00:00:00 2001 From: Pascal Andermatt Date: Tue, 27 Sep 2016 13:38:47 +0200 Subject: [PATCH] Table implementation #618 * Update Table Style to match new spec according to: https://www.google.com/design/spec/components/data-tables.html --- less/_table.less | 15 +++++++++++++++ sass/_table.scss | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 less/_table.less create mode 100644 sass/_table.scss diff --git a/less/_table.less b/less/_table.less new file mode 100644 index 00000000..317202cd --- /dev/null +++ b/less/_table.less @@ -0,0 +1,15 @@ +table { + width: 100%; + font-size: 12px; + thead th { + color: rgba(0, 0, 0, 0.46); + font-weight: 400; + } + td, th { + padding: 10px 15px; + border-bottom: 1px solid #E0E0E0; + } + tbody tr:hover { + background-color: #EEEEEE; + } +} diff --git a/sass/_table.scss b/sass/_table.scss new file mode 100644 index 00000000..317202cd --- /dev/null +++ b/sass/_table.scss @@ -0,0 +1,15 @@ +table { + width: 100%; + font-size: 12px; + thead th { + color: rgba(0, 0, 0, 0.46); + font-weight: 400; + } + td, th { + padding: 10px 15px; + border-bottom: 1px solid #E0E0E0; + } + tbody tr:hover { + background-color: #EEEEEE; + } +}