Fix regression of status colors in actions modal in web UI (#17903)

Fixes #17900

Regression in #17844 (#17851 restored the code in the wrong place…)
pull/17907/head
Claire 2022-03-29 22:55:37 +02:00 committed by GitHub
parent cc9cd25d30
commit 2de5128e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 37 deletions

View File

@ -1009,6 +1009,43 @@
.audio-player { .audio-player {
margin-top: 8px; margin-top: 8px;
} }
&.light {
.status__relative-time,
.status__visibility-icon {
color: $light-text-color;
}
.status__display-name {
color: $inverted-text-color;
}
.display-name {
color: $light-text-color;
strong {
color: $inverted-text-color;
}
}
.status__content {
color: $inverted-text-color;
a {
color: $highlight-text-color;
}
a.status__content__spoiler-link {
color: $primary-text-color;
background: $ui-primary-color;
&:hover,
&:focus {
background: lighten($ui-primary-color, 8%);
}
}
}
}
} }
.status__relative-time, .status__relative-time,
@ -1154,43 +1191,6 @@
.audio-player { .audio-player {
margin-top: 8px; margin-top: 8px;
} }
&.light {
.status__relative-time,
.status__visibility-icon {
color: $light-text-color;
}
.status__display-name {
color: $inverted-text-color;
}
.display-name {
color: $light-text-color;
strong {
color: $inverted-text-color;
}
}
.status__content {
color: $inverted-text-color;
a {
color: $highlight-text-color;
}
a.status__content__spoiler-link {
color: $primary-text-color;
background: $ui-primary-color;
&:hover,
&:focus {
background: lighten($ui-primary-color, 8%);
}
}
}
}
} }
.detailed-status__meta { .detailed-status__meta {