From c3ecb5d1aa1a0b81c6e53b8eefe6bfabe9a2fcbf Mon Sep 17 00:00:00 2001 From: Mael Date: Fri, 15 Jun 2018 16:33:54 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20La=20check=5Fmark=20=C3=A9tait=20rouge?= =?UTF-8?q?=20sur=20les=20Samsung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/rule/Algorithm.css | 9 ++++----- source/engine/mecanismViews/common.js | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/source/components/rule/Algorithm.css b/source/components/rule/Algorithm.css index a706cf1ba..840da7340 100644 --- a/source/components/rule/Algorithm.css +++ b/source/components/rule/Algorithm.css @@ -151,7 +151,7 @@ text-align: center; } -#rule-rules .situationValue.✔ { +#rule-rules .situationValue.✅ { color: #5ab738; } #rule-rules .situationValue.✘ { @@ -176,7 +176,6 @@ .variable a:focus { border: 1px dotted; outline: none; - } .percentage .name { @@ -283,18 +282,18 @@ display: inline-block; } -.nodeHead .name .situationValue:not(.✔):not(.✘)::before { +.nodeHead .name .situationValue:not(.✅):not(.✘)::before { content: '('; } -.nodeHead .name .situationValue:not(.✔):not(.✘)::after { +.nodeHead .name .situationValue:not(.✅):not(.✘)::after { content: ')'; } /* Remove style for conditions */ .situationValue.✘, -.situationValue.✔ { +.situationValue.✅ { padding: 0 0.5em; margin-right: -1px !important; } diff --git a/source/engine/mecanismViews/common.js b/source/engine/mecanismViews/common.js index aba69401e..452f9bf59 100644 --- a/source/engine/mecanismViews/common.js +++ b/source/engine/mecanismViews/common.js @@ -13,7 +13,7 @@ let treatValue = (data, language) => data == null ? '?' : typeof data == 'boolean' - ? { true: '✔', false: '✘' }[data] + ? { true: '✅', false: '✘' }[data] : !isNaN(data) ? Intl.NumberFormat(language, { maximumFractionDigits: 2 }).format(data) : data