From 1d35d76807545bf0fc61ad72f03e055307e50dad Mon Sep 17 00:00:00 2001 From: mama Date: Mon, 19 Feb 2018 16:33:51 +0100 Subject: [PATCH] =?UTF-8?q?:art:=20Am=C3=A9lioration=20de=20la=20page=20r?= =?UTF-8?q?=C3=A8gle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit En-tête de description moins austère Ajout des notes d'implémentation --- source/components/rule/Rule.css | 14 ++++++-------- source/components/rule/Rule.js | 5 ++++- source/webpack.config.js | 4 +--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/source/components/rule/Rule.css b/source/components/rule/Rule.css index 68062c90a..c1133d57e 100644 --- a/source/components/rule/Rule.css +++ b/source/components/rule/Rule.css @@ -65,8 +65,8 @@ } #meta-content { - border-top: 1px solid rgba(51, 51, 80, 0.2); - background: rgba(51, 51, 80, 0.03); + border: 1px solid rgba(41, 117, 209, 0.3); + background: rgba(41, 117, 209, 0.08); padding: 1em; display: flex; justify-content: flex-start; @@ -78,12 +78,6 @@ font-size: 95%; } -#rule h3 { - font-size: 100%; - font-weight: 400; - margin: 0.4em 0; -} - #destinataire { text-align: center; max-width: 25%; @@ -127,3 +121,7 @@ margin: 3em auto 0; display: block; } + +#notes { + color: #666; +} diff --git a/source/components/rule/Rule.js b/source/components/rule/Rule.js index 228dc45cb..8910f84d2 100644 --- a/source/components/rule/Rule.js +++ b/source/components/rule/Rule.js @@ -57,7 +57,10 @@ export default class Rule extends Component { showValues={situationExists} /> {rule.note && ( -
{createMarkdownDiv(rule.note)}
+
+

Note:

+ {createMarkdownDiv(rule.note)} +
)}