2015-05-14 16:45:37 +03:00
|
|
|
/* Tables
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Base */
|
|
|
|
table,
|
|
|
|
.table {
|
|
|
|
margin: 1.6em 0;
|
|
|
|
max-width: 100%;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th,
|
|
|
|
table td,
|
|
|
|
.table th,
|
|
|
|
.table td {
|
|
|
|
padding: 8px;
|
|
|
|
vertical-align: middle;
|
2015-05-16 14:43:12 +03:00
|
|
|
text-align: left;
|
|
|
|
line-height: 20px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Default Table
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.table th,
|
|
|
|
.table td {
|
2015-06-24 15:37:37 +03:00
|
|
|
border-top: 1px solid #dfe1e3;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.table th {
|
2015-06-24 14:15:48 +03:00
|
|
|
color: var(--midgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.table caption + thead tr:first-child th,
|
|
|
|
.table caption + thead tr:first-child td,
|
|
|
|
.table colgroup + thead tr:first-child th,
|
|
|
|
.table colgroup + thead tr:first-child td,
|
|
|
|
.table thead:first-child tr:first-child th,
|
|
|
|
.table thead:first-child tr:first-child td {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table tbody + tbody {
|
2015-06-24 15:37:37 +03:00
|
|
|
border-top: 2px solid #dfe1e3;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.table table table {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table tbody > tr:nth-child(odd) > td,
|
|
|
|
.table tbody > tr:nth-child(odd) > th {
|
2015-06-24 15:37:37 +03:00
|
|
|
background-color: color(#dfe1e3 lightness(+10%));
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.table.plain tbody > tr:nth-child(odd) > td,
|
|
|
|
.table.plain tbody > tr:nth-child(odd) > th {
|
|
|
|
background: transparent;
|
|
|
|
}
|