diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-12-01 07:06:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-01 07:06:20 +0100 |
commit | ed73376f1ca7ef5e254a3ec21e1ead85b2d34fd6 (patch) | |
tree | ea2e795354a74a7b1d770a4014c78bfdda9b9be2 /app/javascript/styles | |
parent | f05b0463dbc83a85dee7490e07bd79859132ee48 (diff) |
Fix conversations not having an unread indicator in web UI (#12506)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 98ffe1c20..13f9dfae7 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -6517,6 +6517,16 @@ noscript { flex: 0 0 auto; padding: 10px; padding-top: 12px; + position: relative; + } + + &__unread { + display: inline-block; + background: $highlight-text-color; + border-radius: 50%; + width: 0.625rem; + height: 0.625rem; + margin: -.1ex .15em .1ex; } &__content { @@ -6564,4 +6574,20 @@ noscript { word-break: break-word; } } + + &--unread { + background: lighten($ui-base-color, 2%); + + &:focus { + background: lighten($ui-base-color, 4%); + } + + .conversation__content__info { + font-weight: 700; + } + + .conversation__content__relative-time { + color: $primary-text-color; + } + } } |