1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-05 02:09:05 +09:00

[Glitch] Add appeals

Port SCSS changes from 564efd0651 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko 2022-02-14 21:27:53 +01:00 committed by Claire
parent 3a0eba4918
commit 5ed35a0df4

View File

@ -594,12 +594,16 @@ body,
} }
.log-entry { .log-entry {
display: block;
line-height: 20px; line-height: 20px;
padding: 15px; padding: 15px;
padding-left: 15px * 2 + 40px; padding-left: 15px * 2 + 40px;
background: $ui-base-color; background: $ui-base-color;
border-bottom: 1px solid darken($ui-base-color, 8%); border-bottom: 1px solid darken($ui-base-color, 8%);
position: relative; position: relative;
text-decoration: none;
color: $darker-text-color;
font-size: 14px;
&:first-child { &:first-child {
border-top-left-radius: 4px; border-top-left-radius: 4px;
@ -612,15 +616,12 @@ body,
border-bottom: 0; border-bottom: 0;
} }
&:hover { &:hover,
&:focus,
&:active {
background: lighten($ui-base-color, 4%); background: lighten($ui-base-color, 4%);
} }
&__header {
color: $darker-text-color;
font-size: 14px;
}
&__avatar { &__avatar {
position: absolute; position: absolute;
left: 15px; left: 15px;
@ -656,6 +657,18 @@ body,
text-decoration: underline; text-decoration: underline;
} }
} }
&--inactive {
.log-entry__title {
text-decoration: line-through;
}
a,
.username,
.target {
color: $darker-text-color;
}
}
} }
a.name-tag, a.name-tag,
@ -1191,6 +1204,17 @@ a.sparkline {
font-weight: 600; font-weight: 600;
padding: 4px 0; padding: 4px 0;
} }
a {
color: $ui-highlight-color;
text-decoration: none;
&:hover,
&:focus,
&:active {
text-decoration: underline;
}
}
} }
&--horizontal { &--horizontal {
@ -1467,3 +1491,56 @@ a.sparkline {
} }
} }
} }
.strike-card {
padding: 15px;
border-radius: 4px;
background: $ui-base-color;
font-size: 15px;
line-height: 20px;
word-wrap: break-word;
font-weight: 400;
color: $primary-text-color;
p {
margin-bottom: 20px;
unicode-bidi: plaintext;
&:last-child {
margin-bottom: 0;
}
}
&__statuses-list {
border-radius: 4px;
border: 1px solid darken($ui-base-color, 8%);
font-size: 13px;
line-height: 18px;
overflow: hidden;
&__item {
padding: 16px;
background: lighten($ui-base-color, 2%);
border-bottom: 1px solid darken($ui-base-color, 8%);
&:last-child {
border-bottom: 0;
}
&__meta {
color: $darker-text-color;
}
a {
color: inherit;
text-decoration: none;
&:hover,
&:focus,
&:active {
text-decoration: underline;
}
}
}
}
}