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