[FIX] Fixed oe_avatar class bug
bzr revid: fme@openerp.com-20120712164344-ayd0r47oy90vp9st
This commit is contained in:
parent
c9f66e1efc
commit
ded3223288
|
@ -34,7 +34,7 @@
|
|||
background: white;
|
||||
/* http://www.quirksmode.org/dom/inputfile.html
|
||||
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
|
||||
*/ */
|
||||
*/
|
||||
}
|
||||
.openerp a {
|
||||
text-decoration: none;
|
||||
|
@ -395,7 +395,7 @@
|
|||
.openerp .oe_avatar {
|
||||
margin: 0 16px 0 0;
|
||||
}
|
||||
.openerp .oe_avatar img {
|
||||
.openerp .oe_avatar > img {
|
||||
height: 50px;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
|
@ -2125,6 +2125,7 @@
|
|||
}
|
||||
.openerp .oe_form .oe_form_field_image .oe_form_field_image_controls {
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
top: 1px;
|
||||
padding: 3px 0 0 0;
|
||||
margin: 0 1px;
|
||||
|
|
|
@ -336,7 +336,7 @@ $sheet-max-width: 860px
|
|||
margin: 4px
|
||||
.oe_avatar
|
||||
margin: 0 16px 0 0
|
||||
img
|
||||
> img
|
||||
height: 50px
|
||||
@include radius(3px)
|
||||
@include box-shadow(0 1px 3px rgba(0, 0, 0, 0.3))
|
||||
|
@ -1669,6 +1669,7 @@ $sheet-max-width: 860px
|
|||
vertical-align: top
|
||||
.oe_form_field_image_controls
|
||||
position: absolute
|
||||
white-space: nowrap
|
||||
top: 1px
|
||||
padding: 3px 0 0 0
|
||||
margin: 0 1px
|
||||
|
|
Loading…
Reference in New Issue