[IMP] base.css: added image_small and image_medium css.
authorThibault Delavallée <tde@openerp.com>
Fri, 3 Aug 2012 08:01:30 +0000 (10:01 +0200)
committerThibault Delavallée <tde@openerp.com>
Fri, 3 Aug 2012 08:01:30 +0000 (10:01 +0200)
bzr revid: tde@openerp.com-20120803080130-qhs1wokpmjx3ejqa

addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass

index ac04fb4..02c9db9 100644 (file)
 .openerp .oe_form .oe_form_field_image:hover .oe_form_field_image_controls {
   display: block;
 }
+.openerp .oe_form .oe_form_field_image_small img {
+  max-width: 50px;
+  max-height: 50px;
+}
+.openerp .oe_form .oe_form_field_image_medium img {
+  max-width: 180px;
+  max-height: 180px;
+}
 .openerp .oe_form_field_many2one td:first-child {
   position: relative;
 }
index 2698787..58d2415 100644 (file)
@@ -1737,6 +1737,14 @@ $sheet-max-width: 860px
                 @include box-sizing(border)
             &:hover .oe_form_field_image_controls
                 display: block
+        .oe_form_field_image_small
+            img
+                max-width: 50px
+                max-height: 50px
+        .oe_form_field_image_medium
+            img
+                max-width: 180px
+                max-height: 180px
     // }}}
     // FormView.many2one {{{
     .oe_form_field_many2one