diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-11-17 01:22:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 01:22:38 +0100 |
commit | 2151fd315023a7f6849c6c9a519cd01deac09aa1 (patch) | |
tree | a0e11c33effa1af26c94565ecc938c3e4577b94a /app/javascript/styles | |
parent | ad207456d64c76d21c17b26a954b459fe2dc0f54 (diff) |
Display moderator badge (green), admin badge changed to red (#5728)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/accounts.scss | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/app/javascript/styles/mastodon/accounts.scss b/app/javascript/styles/mastodon/accounts.scss index 30adf8cdc..ca55de28d 100644 --- a/app/javascript/styles/mastodon/accounts.scss +++ b/app/javascript/styles/mastodon/accounts.scss @@ -531,7 +531,19 @@ font-size: 12px; line-height: 12px; font-weight: 500; - color: $success-green; - background-color: rgba($success-green, 0.1); - border: 1px solid rgba($success-green, 0.5); + color: $ui-secondary-color; + background-color: rgba($ui-secondary-color, 0.1); + border: 1px solid rgba($ui-secondary-color, 0.5); + + &.moderator { + color: $success-green; + background-color: rgba($success-green, 0.1); + border-color: rgba($success-green, 0.5); + } + + &.admin { + color: $error-red; + background-color: rgba($error-red, 0.1); + border-color: rgba($error-red, 0.5); + } } |