papercss/src/tables.less
2017-09-27 17:10:41 -04:00

23 lines
527 B
Plaintext

table {
box-sizing: border-box;
width: 100%;
max-width: 100%;
thead tr th {
vertical-align: bottom;
text-align: left;
padding: 8px;
line-height: 1.5;
}
tbody tr td {
padding: 8px;
line-height: 1.5;
vertical-align: top;
border-top: 1px dashed lighten(@primary, 60%);
}
&.table-hover tbody tr:hover {
color: @secondary;
}
&.table-alternating tbody tr:nth-of-type(even) {
color: lighten(@primary, 25%);
}
}