From d0f4b5f608df6a43323ba559c1964af9c8fbd17e Mon Sep 17 00:00:00 2001
From: Christophe Matthieu <chm@odoo.com>
Date: Thu, 24 Mar 2016 15:04:05 +0100
Subject: [PATCH] [FIX] web_editor: display background color to translate

---
 .../web_editor/static/src/less/web_editor.ui.less  | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

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 df96dac896d6..57caa2dda0e8 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();
-- 
GitLab