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