2018-05-18 15:09:32 +00:00
|
|
|
@keyframes Swag {
|
|
|
|
0% { background-position: 0% 0%; }
|
|
|
|
50% { background-position: 100% 0%; }
|
|
|
|
100% { background-position: 200% 0%; }
|
|
|
|
}
|
|
|
|
|
2016-11-28 17:45:13 +00:00
|
|
|
.table {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
2017-05-07 18:47:31 +00:00
|
|
|
th,
|
|
|
|
td {
|
2016-11-28 17:45:13 +00:00
|
|
|
padding: 8px;
|
2016-12-13 12:42:10 +00:00
|
|
|
line-height: 18px;
|
2016-11-28 17:45:13 +00:00
|
|
|
vertical-align: top;
|
2017-05-08 13:57:49 +00:00
|
|
|
border-top: 1px solid $ui-base-color;
|
2016-11-28 17:45:13 +00:00
|
|
|
text-align: left;
|
2018-05-11 12:48:19 +00:00
|
|
|
background: darken($ui-base-color, 4%);
|
2016-11-28 17:45:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& > thead > tr > th {
|
|
|
|
vertical-align: bottom;
|
2017-05-08 13:57:49 +00:00
|
|
|
border-bottom: 2px solid $ui-base-color;
|
2016-11-28 17:45:13 +00:00
|
|
|
border-top: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2016-12-04 17:10:40 +00:00
|
|
|
|
|
|
|
& > tbody > tr > th {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2017-05-07 18:47:31 +00:00
|
|
|
& > tbody > tr:nth-child(odd) > td,
|
|
|
|
& > tbody > tr:nth-child(odd) > th {
|
2017-05-08 13:57:49 +00:00
|
|
|
background: $ui-base-color;
|
2016-12-13 12:42:10 +00:00
|
|
|
}
|
|
|
|
|
2016-12-04 17:10:40 +00:00
|
|
|
a {
|
2018-05-05 15:58:46 +00:00
|
|
|
color: $highlight-text-color;
|
2016-12-04 17:10:40 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2017-01-12 19:46:24 +00:00
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2018-01-13 18:41:20 +00:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-01-12 19:46:24 +00:00
|
|
|
}
|
2017-06-25 14:54:30 +00:00
|
|
|
|
2018-05-11 12:48:19 +00:00
|
|
|
&.inline-table {
|
|
|
|
& > tbody > tr:nth-child(odd) {
|
|
|
|
& > td,
|
|
|
|
& > th {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > tbody > tr:first-child {
|
|
|
|
& > td,
|
|
|
|
& > th {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.batch-table {
|
|
|
|
& > thead > tr > th {
|
|
|
|
background: $ui-base-color;
|
|
|
|
border-top: 1px solid darken($ui-base-color, 8%);
|
|
|
|
border-bottom: 1px solid darken($ui-base-color, 8%);
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-radius: 4px 0 0;
|
|
|
|
border-left: 1px solid darken($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-radius: 0 4px 0 0;
|
|
|
|
border-right: 1px solid darken($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
2017-06-25 14:54:30 +00:00
|
|
|
}
|
2016-11-28 17:45:13 +00:00
|
|
|
}
|
|
|
|
|
2017-09-09 00:26:58 +00:00
|
|
|
.table-wrapper {
|
|
|
|
overflow: auto;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2016-11-28 17:45:13 +00:00
|
|
|
samp {
|
2017-05-07 13:23:06 +00:00
|
|
|
font-family: 'mastodon-font-monospace', monospace;
|
2016-11-28 17:45:13 +00:00
|
|
|
}
|
2016-12-04 17:10:40 +00:00
|
|
|
|
2018-05-11 12:48:19 +00:00
|
|
|
button.table-action-link {
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
font: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.table-action-link,
|
2016-12-13 12:42:10 +00:00
|
|
|
a.table-action-link {
|
|
|
|
text-decoration: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
padding: 0 10px;
|
2018-05-05 15:58:46 +00:00
|
|
|
color: $darker-text-color;
|
2016-12-13 12:42:10 +00:00
|
|
|
font-weight: 500;
|
2016-12-04 17:10:40 +00:00
|
|
|
|
2016-12-13 12:42:10 +00:00
|
|
|
&:hover {
|
2017-05-08 13:57:49 +00:00
|
|
|
color: $primary-text-color;
|
2016-12-04 17:10:40 +00:00
|
|
|
}
|
|
|
|
|
2016-12-13 12:42:10 +00:00
|
|
|
i.fa {
|
|
|
|
font-weight: 400;
|
|
|
|
margin-right: 5px;
|
2016-12-04 17:10:40 +00:00
|
|
|
}
|
2018-05-11 12:48:19 +00:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.batch-table {
|
|
|
|
&__toolbar,
|
|
|
|
&__row {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&__select {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 8px 16px;
|
|
|
|
cursor: pointer;
|
|
|
|
min-height: 100%;
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__actions,
|
|
|
|
&__content {
|
|
|
|
padding: 8px 0;
|
|
|
|
padding-right: 16px;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__toolbar {
|
|
|
|
border: 1px solid darken($ui-base-color, 8%);
|
|
|
|
background: $ui-base-color;
|
|
|
|
border-radius: 4px 0 0;
|
|
|
|
height: 47px;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 16px - 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__row {
|
|
|
|
border: 1px solid darken($ui-base-color, 8%);
|
|
|
|
border-top: 0;
|
|
|
|
background: darken($ui-base-color, 4%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: darken($ui-base-color, 2%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(even) {
|
|
|
|
background: $ui-base-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 2%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 700;
|
2018-05-18 15:09:32 +00:00
|
|
|
background: linear-gradient(to right, orange , yellow, green, cyan, blue, violet,orange , yellow, green, cyan, blue, violet);
|
|
|
|
background-size: 200% 100%;
|
|
|
|
background-clip: text;
|
|
|
|
color: transparent;
|
|
|
|
animation: Swag 2s linear 0s infinite;
|
2018-05-11 12:48:19 +00:00
|
|
|
}
|
|
|
|
}
|
2016-12-04 17:10:40 +00:00
|
|
|
}
|