2016-09-06 21:47:34 +02:00
|
|
|
table {
|
|
|
|
min-width: 100px;
|
|
|
|
max-width: 100%;
|
|
|
|
thead {
|
2020-04-11 16:48:08 +02:00
|
|
|
@include lightDark(background-color, #f8f8f8, #333);
|
2016-09-06 21:47:34 +02:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
td, th {
|
|
|
|
min-width: 10px;
|
|
|
|
padding: 6px 8px;
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
overflow: auto;
|
|
|
|
line-height: 1.2;
|
2021-05-10 13:11:28 +02:00
|
|
|
word-break: break-word;
|
2023-06-29 00:28:31 +02:00
|
|
|
vertical-align: top; // Workaround for: https://bugzilla.mozilla.org/show_bug.cgi?id=569645
|
2016-09-06 21:47:34 +02:00
|
|
|
}
|
|
|
|
td p, th p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-08-08 21:05:30 +02:00
|
|
|
|
|
|
|
table.table {
|
|
|
|
width: 100%;
|
2019-02-02 16:49:57 +01:00
|
|
|
tr td, tr th {
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
2015-08-08 21:05:30 +02:00
|
|
|
}
|
|
|
|
th, td {
|
2020-04-05 14:07:19 +02:00
|
|
|
text-align: start;
|
2015-08-08 21:05:30 +02:00
|
|
|
border: none;
|
2019-02-02 16:49:57 +01:00
|
|
|
padding: $-s $-s;
|
2015-08-23 14:41:35 +02:00
|
|
|
vertical-align: middle;
|
2016-09-06 21:47:34 +02:00
|
|
|
margin: 0;
|
2021-01-04 19:24:34 +01:00
|
|
|
overflow: visible;
|
2015-08-08 21:05:30 +02:00
|
|
|
}
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
tr:hover {
|
2021-11-06 17:30:20 +01:00
|
|
|
@include lightDark(background-color, #F2F2F2, #333);
|
2015-08-08 21:05:30 +02:00
|
|
|
}
|
2016-12-31 15:27:40 +01:00
|
|
|
.text-right {
|
2020-04-05 14:07:19 +02:00
|
|
|
text-align: end;
|
2016-12-31 15:27:40 +01:00
|
|
|
}
|
|
|
|
.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-09-15 11:45:42 +02:00
|
|
|
td.actions {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2019-02-02 16:49:57 +01:00
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2021-11-06 17:30:20 +01:00
|
|
|
&.expand-to-padding {
|
|
|
|
margin-left: -$-s;
|
|
|
|
margin-right: -$-s;
|
|
|
|
width: calc(100% + (2*#{$-s}));
|
|
|
|
max-width: calc(100% + (2*#{$-s}));
|
|
|
|
}
|
2015-09-06 15:35:53 +02:00
|
|
|
}
|
|
|
|
|
2016-05-13 22:20:21 +02:00
|
|
|
table.no-style {
|
|
|
|
td {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-09 14:52:44 +02:00
|
|
|
table.list-table {
|
2022-10-24 12:40:05 +02:00
|
|
|
margin: 0 (-$-xs);
|
2016-04-09 14:52:44 +02:00
|
|
|
td {
|
|
|
|
border: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: $-xs;
|
|
|
|
}
|
2015-08-08 21:05:30 +02:00
|
|
|
}
|