2018-10-19 15:17:02 +00:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
%table-actions {
|
2019-05-01 18:09:29 +00:00
|
|
|
width: 60px !important;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
|
|
|
th.actions input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
th.actions {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2019-05-01 18:09:29 +00:00
|
|
|
table tr {
|
|
|
|
display: flex;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
2019-05-01 18:09:29 +00:00
|
|
|
table td {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
table td a {
|
|
|
|
display: block;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
|
|
|
table caption {
|
|
|
|
text-align: left;
|
|
|
|
margin-bottom: 0.8em;
|
|
|
|
}
|
|
|
|
table th {
|
|
|
|
padding-bottom: 0.6em;
|
|
|
|
}
|
2019-05-01 18:09:29 +00:00
|
|
|
table th:not(.actions),
|
2018-10-19 15:17:02 +00:00
|
|
|
table td:not(.actions),
|
|
|
|
table td a {
|
|
|
|
padding-right: 0.9em;
|
|
|
|
}
|
|
|
|
th,
|
|
|
|
td:not(.actions),
|
|
|
|
td:not(.actions) a {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
/* hide actions on narrow screens, you can always click in do everything from there */
|
|
|
|
@media #{$--lt-wide-table} {
|
|
|
|
tr > .actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|