summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-08-06 17:54:18 +0200
committerThibault Delavallée <tde@openerp.com>2012-08-06 17:54:18 +0200
commitacc5adf758c561efa20f89395d392646040f57b6 (patch)
treed6d4b3666c154c11e63eeb4ca3b3475cf02d51ea /addons/web/static/src/css
parent5bfe0953b46ea29f90db57ca9a394717ddc35a8e (diff)
[IMP] Renamed css oe_form_field_image_small and _medium to oe_image_small and _medium.
bzr revid: tde@openerp.com-20120806155418-33zkumr6t4ez8k6e
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css16
-rw-r--r--addons/web/static/src/css/base.sass14
2 files changed, 14 insertions, 16 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 22e3fa28357..77393168d7e 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -509,6 +509,14 @@
.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;
@@ -2275,14 +2283,6 @@
.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 482dd490988..a2dde29f094 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -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