summaryrefslogtreecommitdiff
path: root/addons/note/static/src/less/note.less
diff options
context:
space:
mode:
authorDharmang Soni <dpr@odoo.com>2018-04-09 12:18:56 +0200
committerThibault Delavallée <tde@odoo.com>2018-04-09 14:18:15 +0200
commitc56491b11bc399247a595a2e08bbc940d2be3746 (patch)
treec31350edd7ce125d2b382bbb9008df56c4134ac2 /addons/note/static/src/less/note.less
parent77822180deb767d8145c7ee65512ccd795482668 (diff)
[IMP] note: pimp note form view
Purpose is to maximize size of editor to focus more on the note content edition.
Diffstat (limited to 'addons/note/static/src/less/note.less')
-rw-r--r--addons/note/static/src/less/note.less19
1 files changed, 14 insertions, 5 deletions
diff --git a/addons/note/static/src/less/note.less b/addons/note/static/src/less/note.less
index 99038b491c2..c92c5cd0500 100644
--- a/addons/note/static/src/less/note.less
+++ b/addons/note/static/src/less/note.less
@@ -3,14 +3,23 @@
text-decoration: line-through;
}
-.openerp .oe_form {
- .oe_pad.oe_memo {
- width: auto;
+.o_note_form_view.o_form_view {
+ .o_form_statusbar {
+ margin-bottom: 0;
}
.oe_form_field.oe_memo {
- margin: 0;
+ margin: 0 (@padding-large-horizontal * -1);
padding: 0;
- width: 100%;
min-height: 200px;
+
+ .note-editor {
+ border: none;
+ }
+ }
+ &.o_form_readonly {
+ .oe_memo {
+ padding: @padding-large-horizontal;
+ border-bottom: 1px solid @legend-border-color;
+ }
}
}