summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorAndrea Ulliana <aul@odoo.com>2019-08-08 10:43:58 +0000
committerqsm-odoo <qsm@odoo.com>2019-08-09 09:45:07 +0000
commitd33c8872feba9ea0b33504971f94cf957d582553 (patch)
treee10f8aabf866e4331c1a9c865f399dacc00e8690 /addons/web_editor/static/src
parent95c2123ebaa92f7f49f03155dd1a266edcdf6939 (diff)
[FIX] web_editor: make the ace asset info line readable
The text was gray on gray... it is now forced to white. Part of https://github.com/odoo/odoo/pull/34422 task-2026299
Diffstat (limited to 'addons/web_editor/static/src')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.common.scss4
-rw-r--r--addons/web_editor/static/src/xml/ace.xml2
2 files changed, 5 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss
index 846252abc8d..cc3b2aa9c4b 100644
--- a/addons/web_editor/static/src/scss/web_editor.common.scss
+++ b/addons/web_editor/static/src/scss/web_editor.common.scss
@@ -313,6 +313,10 @@ a.o_underline {
flex: 0 0 auto;
padding: $grid-gutter-width/4 $grid-gutter-width/2;
background-color: lighten($o-we-ace-color, 10%);
+
+ .o_ace_editor_resource_info {
+ color: $o-we-color-text-lighter;
+ }
}
#ace-view-editor {
diff --git a/addons/web_editor/static/src/xml/ace.xml b/addons/web_editor/static/src/xml/ace.xml
index 0ff910d0f67..f299aa25b92 100644
--- a/addons/web_editor/static/src/xml/ace.xml
+++ b/addons/web_editor/static/src/xml/ace.xml
@@ -48,7 +48,7 @@
<button data-action="reset" type="button" class="btn btn-sm btn-danger"><i class="fa fa-undo"/> Reset</button>
<button data-action="format" type="button" class="btn btn-sm btn-link">Format</button>
</div>
- <span/>
+ <span class="o_ace_editor_resource_info"/>
<div class="alert alert-warning alert-dismissible mt-2 mb-0" role="alert">
If you edit and save this file, you will never receive updates from Odoo anymore unless you reset your customizations.
<button type="button" class="close" aria-label="Close">