2016-11-28 18:45:13 +01:00
|
|
|
.table {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
2017-05-07 20:47:31 +02:00
|
|
|
th,
|
|
|
|
td {
|
2016-11-28 18:45:13 +01:00
|
|
|
padding: 8px;
|
2016-12-13 13:42:10 +01:00
|
|
|
line-height: 18px;
|
2016-11-28 18:45:13 +01:00
|
|
|
vertical-align: top;
|
2017-05-08 15:57:49 +02:00
|
|
|
border-top: 1px solid $ui-base-color;
|
2016-11-28 18:45:13 +01:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > thead > tr > th {
|
|
|
|
vertical-align: bottom;
|
2017-05-08 15:57:49 +02:00
|
|
|
border-bottom: 2px solid $ui-base-color;
|
2016-11-28 18:45:13 +01:00
|
|
|
border-top: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2016-12-04 18:10:40 +01:00
|
|
|
|
|
|
|
& > tbody > tr > th {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2017-05-07 20:47:31 +02:00
|
|
|
& > tbody > tr:nth-child(odd) > td,
|
|
|
|
& > tbody > tr:nth-child(odd) > th {
|
2017-05-08 15:57:49 +02:00
|
|
|
background: $ui-base-color;
|
2016-12-13 13:42:10 +01:00
|
|
|
}
|
|
|
|
|
2016-12-04 18:10:40 +01:00
|
|
|
a {
|
2018-04-18 16:52:15 +02:00
|
|
|
color: $highlight-text-color;
|
2016-12-04 18:10:40 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2017-01-12 20:46:24 +01:00
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2017-12-07 16:01:52 +01:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-01-12 20:46:24 +01:00
|
|
|
}
|
2017-06-25 16:54:30 +02:00
|
|
|
|
2017-09-09 02:26:58 +02:00
|
|
|
&.inline-table > tbody > tr:nth-child(odd) > td,
|
|
|
|
&.inline-table > tbody > tr:nth-child(odd) > th {
|
|
|
|
background: transparent;
|
2017-06-25 16:54:30 +02:00
|
|
|
}
|
2016-11-28 18:45:13 +01:00
|
|
|
}
|
|
|
|
|
2017-09-09 02:26:58 +02:00
|
|
|
.table-wrapper {
|
|
|
|
overflow: auto;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2016-11-28 18:45:13 +01:00
|
|
|
samp {
|
2017-05-07 15:23:06 +02:00
|
|
|
font-family: 'mastodon-font-monospace', monospace;
|
2016-11-28 18:45:13 +01:00
|
|
|
}
|
2016-12-04 18:10:40 +01:00
|
|
|
|
2016-12-13 13:42:10 +01:00
|
|
|
a.table-action-link {
|
|
|
|
text-decoration: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
padding: 0 10px;
|
2018-04-18 16:52:15 +02:00
|
|
|
color: $darker-text-color;
|
2016-12-13 13:42:10 +01:00
|
|
|
font-weight: 500;
|
2016-12-04 18:10:40 +01:00
|
|
|
|
2016-12-13 13:42:10 +01:00
|
|
|
&:hover {
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $primary-text-color;
|
2016-12-04 18:10:40 +01:00
|
|
|
}
|
|
|
|
|
2016-12-13 13:42:10 +01:00
|
|
|
i.fa {
|
|
|
|
font-weight: 400;
|
|
|
|
margin-right: 5px;
|
2016-12-04 18:10:40 +01:00
|
|
|
}
|
|
|
|
}
|