summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2016-09-14 11:23:39 +0200
committerGéry Debongnie <ged@odoo.com>2016-09-28 16:55:51 +0200
commite11f23b701cd061ee2090e506e7ff71cc2ed8c33 (patch)
treedc2eca65c88812132940c50865ecfc37b4cddf88 /addons/website/static/src
parentfa4fa908900b01ca6a2bcde61b73ec6e45d936d2 (diff)
[REF] web_editor, website: move ACE editor to web_editor
The commit e59a7fe3ff5222288b0aa3d5fe356e437ed0741a has moved the ACE editor from website to web_editor. As some code on ir_ui_view was used for this widget, the code has also been moved to web_editor.
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/less/website.ui.components.less54
1 files changed, 0 insertions, 54 deletions
diff --git a/addons/website/static/src/less/website.ui.components.less b/addons/website/static/src/less/website.ui.components.less
index 92a116ca309..e1230d2b358 100644
--- a/addons/website/static/src/less/website.ui.components.less
+++ b/addons/website/static/src/less/website.ui.components.less
@@ -324,63 +324,9 @@ body .modal {
// ACE EDITOR
.o_ace_view_editor {
- @o-ace-color: #2F3129;
-
.o-position-absolute(@odoo-navbar-height, 0, 0);
position: fixed;
- .o-flex-display();
- .o-flex-flow(column, nowrap);
z-index: 1001;
- background: @o-ace-color;
- color: white;
-
- .o_ace_view_editor_title {
- .o-flex(0, 0, auto);
- .o-flex-display();
- .o-align-items(center);
- .o-justify-content(space-between);
- padding: @grid-gutter-width/4;
-
- > * {
- .o-flex(0, 0, auto);
- margin: 0 @grid-gutter-width/4;
-
- &.oe_include_bundles {
- .o-flex-display();
- .o-align-items(center);
- font-size: 11px;
-
- > .o_checkbox {
- margin-right: @grid-gutter-width/4;
- }
- }
- }
-
- > select {
- .o-flex(0, 1, auto);
- min-width: 60px;
- }
- }
- #ace-view-id {
- .o-flex(0, 0, auto);
- padding: @grid-gutter-width/4 @grid-gutter-width/2;
- background-color: lighten(@o-ace-color, 10%);
- }
- #ace-view-editor {
- height: 70%; // in case flex is not supported
- .o-flex(1, 1, auto);
- .ace_gutter {
- cursor: ew-resize;
- }
- }
-
- &.oe_ace_open {
- opacity: 0.97;
- }
- &.oe_ace_closed {
- z-index: -1000;
- opacity: 0;
- }
}
// PLANNER DIALOG