summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/js/backend/dashboard.js3
-rw-r--r--addons/website/static/src/scss/website.editor.ui.scss110
2 files changed, 2 insertions, 111 deletions
diff --git a/addons/website/static/src/js/backend/dashboard.js b/addons/website/static/src/js/backend/dashboard.js
index d177c8e9e42..83c16278b6d 100644
--- a/addons/website/static/src/js/backend/dashboard.js
+++ b/addons/website/static/src/js/backend/dashboard.js
@@ -471,7 +471,8 @@ var Dashboard = AbstractAction.extend({
container: $analytics_chart_2[0],
options: {
title: 'All',
- width: '100%'
+ width: '100%',
+ tooltip: {isHtml: true},
}
}
});
diff --git a/addons/website/static/src/scss/website.editor.ui.scss b/addons/website/static/src/scss/website.editor.ui.scss
index 422ac472f82..403b7929a92 100644
--- a/addons/website/static/src/scss/website.editor.ui.scss
+++ b/addons/website/static/src/scss/website.editor.ui.scss
@@ -51,113 +51,3 @@
}
}
}
-
-// ACE EDITOR
-.o_ace_view_editor {
- background: $o-we-ace-color;
- color: white;
- display: flex;
- flex-flow: column nowrap;
- opacity: 0.97;
-
- .o_ace_view_editor_title {
- flex: 0 0 auto;
- display: flex;
- align-items: center;
- padding: $grid-gutter-width/4;
-
- >.o_ace_type_switcher>button::after {
- @include o-caret-down;
- margin-left: 4px;
- }
-
- >* {
- flex: 0 0 auto;
- margin: 0 $grid-gutter-width/4;
-
- &.o_include_option {
- display: flex;
- align-items: center;
- font-size: 11px;
-
- >.custom-control {
- margin-right: $grid-gutter-width/4;
- }
- }
-
- &.o_res_list {
- flex: 1 1 auto;
- min-width: 60px;
- }
- }
- }
-
- #ace-view-id {
- flex: 0 0 auto;
- padding: $grid-gutter-width/4 $grid-gutter-width/2;
- background-color: lighten($o-we-ace-color, 10%);
- }
-
- #ace-view-editor {
- @mixin ace-line-error-mixin {
- content: "";
- z-index: 1000;
- display: block;
- background-color: theme-color('danger');
- opacity: 0.5;
- pointer-events: none;
- }
-
- height: 70%; // in case flex is not supported
- flex: 1 1 auto;
-
- .ace_gutter {
- display: block !important; // display even with aria-hidden
- cursor: ew-resize;
-
- .ace_gutter-cell.o_error {
- position: relative;
-
- &::after {
- @include o-position-absolute(-100%, 0, -100%, 0);
- @include ace-line-error-mixin;
- }
- }
- }
-
- .ace_resize_bar {
- @include o-position-absolute($right: 0);
- width: 25px;
- height: 100%;
- cursor: ew-resize;
- }
-
- .ace_scroller.o_error::after {
- @include o-position-absolute(0, auto, 0, 0);
- width: 3px;
- @include ace-line-error-mixin;
- }
- }
-}
-
-.o_ace_select2_dropdown {
- width: auto !important;
- padding-top: 4px;
- font-family: monospace !important;
-
- >.select2-results {
- max-height: none;
- max-height: 70vh;
-
- .select2-result-label {
- padding-top: 1px;
- padding-bottom: 2px;
-
- >.o_ace_select2_result {
- padding: 0;
- font-size: 12px;
- white-space: nowrap;
- }
- }
- }
-}