From 765b0168eaaeb28550dfb698de0b6cec9f9c2113 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Wed, 10 Jun 2015 17:10:32 +0200 Subject: (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. --- client/components/main/popup.styl | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'client/components/main') 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 -- cgit v1.2.3-1-g7c22