diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-06-27 05:48:26 -0700 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-06-27 05:48:26 -0700 |
commit | e6300de1421d28d173658e61601b9e016c3d0a6d (patch) | |
tree | 61d13f491750c7c43d8020ec53957be9b23469f0 /app/javascript/styles | |
parent | a6f5111c7910cff5b0765f2452519e9ca51658b0 (diff) |
Profile metadata improvements
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/components.scss | 58 |
1 files changed, 37 insertions, 21 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 2ce3ef597..85566a653 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -939,37 +939,53 @@ } .account__metadata { - display: block; + width: 100%; font-size: 15px; - line-height: 36px; + line-height: 20px; overflow: hidden; + border-collapse: collapse; - .account__metadata-item { - display: flex; - flex-direction: row; + a { + text-decoration: none; + + &:hover{ + text-decoration: underline; + } + } + + tr { border-top: 1px solid lighten($ui-base-color, 8%); + } - & > span, & > strong { - display: inline-block; - padding: 10px 20px; - overflow: hidden; + th, td { + padding: 14px 20px; + vertical-align: middle; + + & > div { + max-height: 40px; + overflow-y: auto; text-overflow: ellipsis; - white-space: nowrap; } + } - & > span { - flex: 0 0 auto; - width: 120px; - color: $ui-primary-color; - background: lighten($ui-base-color, 13%); - font-variant: small-caps; - } + th { + color: $ui-primary-color; + background: lighten($ui-base-color, 13%); + font-variant: small-caps; + max-width: 120px; - & > strong { - flex: auto; + a { color: $primary-text-color; - background: $ui-base-color; - font-weight: bold; + } + } + + td { + flex: auto; + color: $primary-text-color; + background: $ui-base-color; + + a { + color: $ui-highlight-color; } } } |