2019-06-14 17:27:37 +00:00
|
|
|
%table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
%table-flex tr {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
%table-flex tr > * {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
%table caption,
|
|
|
|
%table thead th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
%table-actions {
|
|
|
|
width: 60px !important;
|
|
|
|
}
|
|
|
|
%table th.actions input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%table th.actions {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
%table td a {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-12-17 18:47:37 +00:00
|
|
|
%table td.no-actions ~ .actions {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-07-15 13:17:48 +00:00
|
|
|
%table td:not(.actions) > *:only-child {
|
2020-07-21 13:41:11 +00:00
|
|
|
overflow: hidden;
|
2019-07-15 13:17:48 +00:00
|
|
|
}
|
2019-06-14 17:27:37 +00:00
|
|
|
%table td:not(.actions) > * {
|
|
|
|
white-space: nowrap;
|
2019-07-15 13:17:48 +00:00
|
|
|
}
|
|
|
|
%table td:not(.actions) > *:only-child {
|
2019-06-14 17:27:37 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
%table td {
|
|
|
|
height: 50px;
|
2020-05-07 13:57:15 +00:00
|
|
|
vertical-align: middle;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
|
|
|
%table caption {
|
|
|
|
margin-bottom: 0.8em;
|
|
|
|
}
|
|
|
|
%table th {
|
2020-10-05 14:02:15 +00:00
|
|
|
padding: 0.6em 0;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
|
|
|
%table th:not(.actions),
|
|
|
|
%table td:not(.actions),
|
|
|
|
%table td a {
|
|
|
|
padding-right: 0.9em;
|
|
|
|
}
|
2019-12-17 18:47:37 +00:00
|
|
|
%table tbody td em {
|
|
|
|
display: block;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
%table tbody td em {
|
|
|
|
color: $gray-500;
|
|
|
|
}
|