Table implementation #618
This commit is contained in:
Federico Zivolo 2016-09-27 19:52:45 +02:00 committed by GitHub
commit ea9c80fa75
2 changed files with 32 additions and 0 deletions

17
less/_table.less Normal file
View File

@ -0,0 +1,17 @@
// specification: https://www.google.com/design/spec/components/data-tables.html
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;
}
}