[IMP] website: move WebsiteAceEditor to components

See merge commit for more information.

task-2687506
This commit is contained in:
xO-Tx
2022-06-24 10:28:06 +02:00
committed by qsm-odoo
parent 00080f4b73
commit 265cacce21
3 changed files with 7 additions and 12 deletions
+2 -1
View File
@@ -172,6 +172,8 @@
'website/static/src/components/navbar/navbar.js',
'website/static/src/components/editor/editor.js',
'website/static/src/components/editor/editor.scss',
'website/static/src/components/ace_editor/ace_editor.js',
'website/static/src/components/ace_editor/ace_editor.scss',
'website/static/src/components/dialog/*.js',
'website/static/src/components/dialog/*.scss',
'website/static/src/components/switch/switch.js',
@@ -270,7 +272,6 @@
'website/static/src/js/set_view_track.js',
'website/static/src/js/tours/homepage.js',
'website/static/src/js/tours/tour_utils.js',
'website/static/src/components/ace_editor/ace_editor.js',
],
'web.assets_qweb': [
'website/static/src/xml/website.backend.xml',
@@ -0,0 +1,5 @@
.o_ace_view_editor {
@include o-position-absolute($o-navbar-height, 0, 0);
position: fixed;
z-index: $zindex-modal;
}
@@ -113,17 +113,6 @@ body {
margin: 50px auto;
}
// ACE EDITOR
.o_ace_view_editor {
@include o-w-preserve-base;
@include o-w-preserve-btn;
@include o-w-preserve-forms;
@include o-position-absolute($o-navbar-height, 0, 0);
position: fixed;
z-index: $zindex-modal;
}
// POPOVER NAVIGATION
.tour .popover-navigation {
margin-left: 13px;