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