diff options
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.backend.scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.backend.scss | 90 |
1 files changed, 20 insertions, 70 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.backend.scss b/addons/web_editor/static/src/scss/web_editor.backend.scss index 7ddbaeaa7ce..83062313b20 100644 --- a/addons/web_editor/static/src/scss/web_editor.backend.scss +++ b/addons/web_editor/static/src/scss/web_editor.backend.scss @@ -1,23 +1,24 @@ -.oe_form_field_html_text { +.oe_form_field_html { + position: relative; + .note-editable { min-height: 180px; - font: initial !important; + font: inherit !important; font-family: inherit !important; - line-height: initial !important; - color: initial !important; + line-height: inherit !important; + color: inherit !important; + overflow: visible; + p, div { font-family: 'Lucida Grande', Helvetica, Verdana, Arial, sans-serif; font-size: 13px; } - a, a:hover { - color: initial; - } - ul > li > p { - margin: 0px; - } } - .o_readonly { - min-height: 1em; + ul > li > p, p { + margin: 0px; + } + > iframe { + display: block; width: 100%; margin: 0; padding: 0; @@ -26,66 +27,15 @@ ul > li > p { margin: 0px; } + min-height: 300px; + min-height: -webkit-calc(100vh - 170px); + min-height: calc(100vh - 170px); } -} -.oe_form_field_html iframe { - display: block; - width: 100%; - border: 0; - padding: 0; - margin: 0; - min-height: 300px; - min-height: -webkit-calc(100vh - 170px); - min-height: calc(100vh - 170px); -} -.o_field_widgetTextHtml_fullscreen { - .oe_form_field_html.o_form_fullscreen_ancestor iframe { - position: absolute !important; - left: 0 !important; - right: 0 !important; - top: 0 !important; - bottom: 0 !important; - width: 100% !important; - min-height: 100% !important; - z-index: 1001 !important; - border: 0; - } - * { - display: none; - } - .o_form_fullscreen_ancestor { - display: block !important; - position: static !important; - top: 0 !important; - left: 0 !important; - width: auto !important; - overflow: hidden !important; - transform: none !important; - } -} - -.openerp .oe_form .oe_form_field_html_translate textarea { - min-width: 60px; - width: 100%; - color: #4c4c4c; - font: normal 13px "Lucida Grande", Helvetica, Verdana, Arial, sans-serif; -} -.openerp .oe_form_readonly .oe_form .oe_form_field_html_translate textarea { - border: 0; - background: #fff; -} -.openerp .oe_form_editable .oe_form .oe_form_field_html_translate { - > button { - float: right; - margin: -6px -3px 0 0; - } - > .note-editable { - border: 1px solid #ccc; - min-height: 22px; - border-radius: 3px; + .rounded { + border-radius: .25rem !important; } - .note-editable [contentEditable='true']:hover { - box-shadow: #DDCC33 0 0 5px 2px inset; + table.table.table-bordered { + table-layout: fixed; } } |
