[IMP] Renamed css oe_form_field_image_small and _medium to oe_image_small and _medium.
authorThibault Delavallée <tde@openerp.com>
Mon, 6 Aug 2012 15:54:18 +0000 (17:54 +0200)
committerThibault Delavallée <tde@openerp.com>
Mon, 6 Aug 2012 15:54:18 +0000 (17:54 +0200)
bzr revid: tde@openerp.com-20120806155418-33zkumr6t4ez8k6e

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

index 22e3fa2..7739316 100644 (file)
 .openerp .oe_avatar + div {
   margin-left: 5px;
 }
+.openerp .oe_image_small > img {
+  max-width: 50px;
+  max-height: 50px;
+}
+.openerp .oe_image_medium > img {
+  max-width: 180px;
+  max-height: 180px;
+}
 .openerp .oe_button.oe_link {
   border: none;
   padding: 0;
 .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 482dd49..a2dde29 100644 (file)
@@ -408,6 +408,12 @@ $sheet-max-width: 860px
             border: none
     .oe_avatar + div
         margin-left: 5px
+    .oe_image_small > img
+        max-width: 50px
+        max-height: 50px
+    .oe_image_medium > img
+        max-width: 180px
+        max-height: 180px
     .oe_button.oe_link
         @include reset()
         img
@@ -1764,14 +1770,6 @@ $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