2016-09-06 20:47:34 +01:00
|
|
|
table {
|
|
|
|
min-width: 100px;
|
|
|
|
max-width: 100%;
|
|
|
|
thead {
|
2020-04-11 15:48:08 +01:00
|
|
|
@include lightDark(background-color, #f8f8f8, #333);
|
2016-09-06 20:47:34 +01: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 12:11:28 +01:00
|
|
|
word-break: break-word;
|
2016-09-06 20:47:34 +01:00
|
|
|
}
|
|
|
|
td p, th p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-08-08 20:05:30 +01:00
|
|
|
|
|
|
|
table.table {
|
|
|
|
width: 100%;
|
2019-02-02 15:49:57 +00:00
|
|
|
tr td, tr th {
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
2015-08-08 20:05:30 +01:00
|
|
|
}
|
|
|
|
th, td {
|
2020-04-05 13:07:19 +01:00
|
|
|
text-align: start;
|
2015-08-08 20:05:30 +01:00
|
|
|
border: none;
|
2019-02-02 15:49:57 +00:00
|
|
|
padding: $-s $-s;
|
2015-08-23 13:41:35 +01:00
|
|
|
vertical-align: middle;
|
2016-09-06 20:47:34 +01:00
|
|
|
margin: 0;
|
2021-01-04 18:24:34 +00:00
|
|
|
overflow: visible;
|
2015-08-08 20:05:30 +01:00
|
|
|
}
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
tr:hover {
|
2021-11-06 16:30:20 +00:00
|
|
|
@include lightDark(background-color, #F2F2F2, #333);
|
2015-08-08 20:05:30 +01:00
|
|
|
}
|
2016-12-31 14:27:40 +00:00
|
|
|
.text-right {
|
2020-04-05 13:07:19 +01:00
|
|
|
text-align: end;
|
2016-12-31 14:27:40 +00:00
|
|
|
}
|
|
|
|
.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-09-15 15:15:42 +05:30
|
|
|
td.actions {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2019-02-02 15:49:57 +00:00
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2021-11-06 16:30:20 +00:00
|
|
|
&.expand-to-padding {
|
|
|
|
margin-left: -$-s;
|
|
|
|
margin-right: -$-s;
|
|
|
|
width: calc(100% + (2*#{$-s}));
|
|
|
|
max-width: calc(100% + (2*#{$-s}));
|
|
|
|
}
|
2015-09-06 14:35:53 +01:00
|
|
|
}
|
|
|
|
|
2016-05-13 21:20:21 +01:00
|
|
|
table.no-style {
|
|
|
|
td {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-09 13:52:44 +01:00
|
|
|
table.list-table {
|
|
|
|
margin: 0 -$-xs;
|
|
|
|
td {
|
|
|
|
border: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: $-xs;
|
|
|
|
}
|
2015-08-08 20:05:30 +01:00
|
|
|
}
|