Table implementation #618

* Update Table Style to match new spec according to: https://www.google.com/design/spec/components/data-tables.html
This commit is contained in:
Pascal Andermatt 2016-09-27 13:38:47 +02:00
parent a8d98e8de1
commit a05f1f51d1
2 changed files with 30 additions and 0 deletions

15
less/_table.less Normal file
View File

@ -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;
}
}

15
sass/_table.scss Normal file
View File

@ -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;
}
}