summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorAntoine Huvelle <ahu@openerp.com>2011-12-22 11:33:44 +0100
committerAntoine Huvelle <ahu@openerp.com>2011-12-22 11:33:44 +0100
commit76f72344a65539a8fc5712b52878d0e51d51efa3 (patch)
tree8d6ba8960ddde0b20d7d93bd1c2e9a04cffaa531 /addons/web/static/src/css
parente27c7f832b149df60987b85a93f71dbc8e9fed37 (diff)
[imp] editable list styling
bzr revid: ahu@openerp.com-20111222103344-ptjv7pmlwz85vlwb
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css18
1 files changed, 16 insertions, 2 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 6e690132e50..c8a69c8907d 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1207,7 +1207,15 @@ label.error {
min-height:100px;
}
/* Inputs */
-.openerp .oe_forms input[type="text"], .openerp .oe_forms input[type="password"], .openerp .oe_forms select, .openerp .oe_forms textarea {
+.openerp tr[id^="oe-editable-row"] input { /* editable list input */
+ font-size: 110%;
+ height: 22px;
+}
+.openerp tr[id^="oe-editable-row"] select {
+ margin-bottom:1px;
+}
+
+.openerp .oe_forms input[type="text"], .openerp .oe_forms input[type="password"], .openerp .oe_forms select, .openerp .oe_forms textarea, .openerp tr[id^="oe-editable-row"] input {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
@@ -1692,11 +1700,17 @@ label.error {
margin-bottom: -4px;
cursor: pointer;
}
-.openerp .oe-m2o input {
+.openerp .oe-m2o input, .openerp tr[id^="oe-editable-row"] input.field_many2one {
border-right: none;
margin-right: 0px !important;
padding-bottom: 2px !important;
}
+.openerp tr[id^="oe-editable-row"] input.field_many2one {
+ padding-top: 1px;
+}
+.openerp tr[id^="oe-editable-row"] input.field_many2one, .openerp tr[id^="oe-editable-row"] button {
+ margin-top: 2px;
+}
.openerp .oe-m2o-disabled-cm {
color: grey;
}