summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2016-03-24 15:04:05 +0100
committerChristophe Matthieu <chm@odoo.com>2016-05-26 08:13:33 +0200
commitd0f4b5f608df6a43323ba559c1964af9c8fbd17e (patch)
tree1a6d2e927ae7bbf4f7f8961f4922832b0ddb15b0 /addons/web_editor/static/src/less
parentaedd0251b2ddfd0460ec1eb0502f443ca3430aca (diff)
[FIX] web_editor: display background color to translate
Diffstat (limited to 'addons/web_editor/static/src/less')
-rw-r--r--addons/web_editor/static/src/less/web_editor.ui.less14
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less
index df96dac896d..57caa2dda0e 100644
--- a/addons/web_editor/static/src/less/web_editor.ui.less
+++ b/addons/web_editor/static/src/less/web_editor.ui.less
@@ -52,6 +52,20 @@
}
}
+// Translations
+.oe_translate_examples li {
+ margin: 10px;
+ padding: 4px;
+}
+html[lang] > body.editor_enable{
+ [data-oe-translation-state] {
+ background: rgba(255, 255, 90, 0.5) !important;
+ }
+ [data-oe-translation-state="translated"] {
+ background: rgba(120, 215, 110, 0.5) !important;
+ }
+}
+
// SNIPPET PANEL
#oe_snippets {
.o-flex-display();