diff options
author | ThibG <thib@sitedethib.com> | 2019-09-09 14:15:52 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-09 14:15:52 +0200 |
commit | ec2a439a22bc74d21a99beedde4c0ae25f682d05 (patch) | |
tree | f1a0d06f465c7f5579a7496749457dfd65d46efc /app/javascript | |
parent | 7b1b968b73212d2ea4f7820b9b5b70d172d9d8e6 (diff) |
Add account bio to account admin view (#11473)
* Add account bio to account admin view * Change styling to make bio fields / content more readable
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/styles/mastodon/admin.scss | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/admin.scss b/app/javascript/styles/mastodon/admin.scss index f625bc139..5d4fe4ef8 100644 --- a/app/javascript/styles/mastodon/admin.scss +++ b/app/javascript/styles/mastodon/admin.scss @@ -716,3 +716,47 @@ a.name-tag, text-overflow: ellipsis; vertical-align: middle; } + +.admin-account-bio { + display: flex; + flex-wrap: wrap; + margin: 0 -5px; + margin-top: 20px; + + > div { + box-sizing: border-box; + padding: 0 5px; + margin-bottom: 10px; + flex: 1 0 50%; + } + + .account__header__fields, + .account__header__content { + background: lighten($ui-base-color, 8%); + border-radius: 4px; + height: 100%; + } + + .account__header__fields { + margin: 0; + border: 0; + + a { + color: lighten($ui-highlight-color, 8%); + } + + dl:first-child .verified { + border-radius: 0 4px 0 0; + } + + .verified a { + color: $valid-value-color; + } + } + + .account__header__content { + box-sizing: border-box; + padding: 20px; + color: $primary-text-color; + } +} |