From f6679691dcdf1e4aa65fa2f39d79ad977912bc12 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 14 Feb 2019 15:05:54 +0100 Subject: [PATCH] =?UTF-8?q?Ajoute=20des=20champs=20dans=20les=20r=C3=A9sul?= =?UTF-8?q?tat=20des=20simulateurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/TargetSelection.css | 12 ++++- source/components/TargetSelection.js | 3 +- .../simulationConfigs/assimilé.yaml | 2 + .../simulationConfigs/auto-entrepreneur.yaml | 3 ++ .../simulationConfigs/indépendant.yaml | 2 + source/règles/base.yaml | 47 +++++++++++-------- .../pages/SocialSecurity/AutoEntrepreneur.js | 6 +-- .../pages/SocialSecurity/Indépendant.js | 8 ++-- 8 files changed, 52 insertions(+), 31 deletions(-) diff --git a/source/components/TargetSelection.css b/source/components/TargetSelection.css index 22b65b208..542227bb5 100644 --- a/source/components/TargetSelection.css +++ b/source/components/TargetSelection.css @@ -12,14 +12,22 @@ } #targetSelection #targets > li:last-child { margin-bottom: -1rem; - border-bottom: none; } #targetSelection #targets > li:first-child { + border-top: none; margin-top: -1rem; } +#targetSelection #targets > li.not-editable * { + font-size: 1rem; + font-weight: normal; +} +#targetSelection #targets > li.not-editable { + border-top: none; +} + #targetSelection #targets > li { - border-bottom: 1px solid rgba(255, 255, 255, 0.5); + border-top: 1px solid rgba(255, 255, 255, 0.5); padding: 0.6rem 1rem; margin-left: -1rem; margin-right: -1rem; diff --git a/source/components/TargetSelection.js b/source/components/TargetSelection.js index c63ff6caf..991c67279 100644 --- a/source/components/TargetSelection.js +++ b/source/components/TargetSelection.js @@ -104,7 +104,7 @@ export default compose(