summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-08-03 10:01:30 +0200
committerThibault Delavallée <tde@openerp.com>2012-08-03 10:01:30 +0200
commit38552a9c49eec29136c620ae99ebbc363fd45031 (patch)
tree973732d8ed35db0d081b517b53ccd2a12eaf4641 /addons/web/static/src
parent3eb1bc3a14b9b8b3ad0f53b8ae78f826b447d879 (diff)
[IMP] base.css: added image_small and image_medium css.
bzr revid: tde@openerp.com-20120803080130-qhs1wokpmjx3ejqa
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css8
-rw-r--r--addons/web/static/src/css/base.sass8
2 files changed, 16 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index ac04fb4d1e1..02c9db98eb5 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -2243,6 +2243,14 @@
.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;
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 2698787c5a3..58d24152b0e 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -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