diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-10 17:10:32 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-10 17:10:32 +0200 |
commit | 765b0168eaaeb28550dfb698de0b6cec9f9c2113 (patch) | |
tree | e9e7c6545e35042e3086262684a8128e95f5666f /client/components/main/popup.styl | |
parent | 0b6c229b6cec2329752013393e83ebd122e3d2eb (diff) | |
download | wekan-765b0168eaaeb28550dfb698de0b6cec9f9c2113.tar.gz wekan-765b0168eaaeb28550dfb698de0b6cec9f9c2113.tar.bz2 wekan-765b0168eaaeb28550dfb698de0b6cec9f9c2113.zip |
(Re-)implement default avatar using user initials
We use a embedded svg to scale the initials text to its container
size. The user is free to overwrite its initials in the profile form.
Diffstat (limited to 'client/components/main/popup.styl')
-rw-r--r-- | client/components/main/popup.styl | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/client/components/main/popup.styl b/client/components/main/popup.styl index 550f80f1..25767887 100644 --- a/client/components/main/popup.styl +++ b/client/components/main/popup.styl @@ -218,22 +218,24 @@ $popupWidth = 300px .pop-over-list padding-top: 8px -.mini-profile-info - margin-top: 8px - min-height: 56px - position: relative + .miniprofile-header + margin-top: 8px + min-height: 56px + position: relative - .member-large - position: absolute - top: 2px - left: 2px + .member + position: absolute + top: 2px + left: 2px + height: 50px + width: @height - .info - margin: 0 0 0 64px - word-wrap: break-word + .info + margin: 0 0 0 64px + word-wrap: break-word - h3 a - text-decoration: none + h3 a + text-decoration: none - &:hover - text-decoration: underline + &:hover + text-decoration: underline |