2017-01-13 03:03:34 +01:00
|
|
|
@import "../global";
|
|
|
|
|
2016-08-08 06:47:48 +02:00
|
|
|
table.table-standard {
|
|
|
|
word-wrap: break-word;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
padding: $spacing-vertical/2 8px;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
thead th, > tr:first-child th {
|
|
|
|
vertical-align: bottom;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.9em;
|
|
|
|
padding: $spacing-vertical/4+1 8px $spacing-vertical/4-2;
|
|
|
|
text-align: left;
|
2017-08-19 06:33:01 +02:00
|
|
|
border-bottom: var(--table-border);
|
2016-08-08 06:47:48 +02:00
|
|
|
img {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tr.thead:not(:first-child) th {
|
2017-08-19 06:33:01 +02:00
|
|
|
border-top: var(--table-border);
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
|
|
|
tfoot td {
|
|
|
|
padding: $spacing-vertical / 2 8px;
|
|
|
|
font-size: .85em;
|
|
|
|
}
|
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
&:nth-child(even):not(.odd) {
|
2017-08-19 06:33:01 +02:00
|
|
|
background-color: var(--table-item-odd);
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
|
|
|
&:nth-child(odd):not(.even) {
|
2017-08-19 21:04:45 +02:00
|
|
|
background-color: var(--table-item-even);
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
|
|
|
&.thead {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-27 16:12:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
table.table-stretch {
|
|
|
|
width: 100%;
|
2017-08-19 06:33:01 +02:00
|
|
|
}
|