[IMP] Improved display of avatars
authorThibault Delavallée <tde@openerp.com>
Wed, 22 Feb 2012 15:26:43 +0000 (16:26 +0100)
committerThibault Delavallée <tde@openerp.com>
Wed, 22 Feb 2012 15:26:43 +0000 (16:26 +0100)
bzr revid: tde@openerp.com-20120222152643-cdiyr0klegnt9sxd

addons/mail/static/src/css/mail.css

index ed82407..3f9fe31 100644 (file)
 
 .oe_mail_msg_image {
     float: left;
-    width: 14%;
+    width: 100px;
+    height: 100px;
+    text-align: center;
+    overflow: hidden;
+    -moz-border-radius: 3px;
+    -webkit-border-radius: 3px;
+    -o-border-radius: 3px;
+    -ms-border-radius: 3px;
+    border-radius: 3px;
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
+    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
+    -box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
 }
 
 .oe_mail_msg_image img {
-    margin-left: 10%;
+    width: 100px;
+    height: auto;
+    clip: rect(10px, 100px, 110px, 0px);
 }
 
 .oe_mail_msg_content {