From b226ed15c0d2fba5c80afea5b3b240febb2b03c3 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 3 Apr 2019 16:45:11 +0200 Subject: [PATCH] :art: style du toggle --- source/components/ui/Toggle.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/components/ui/Toggle.css b/source/components/ui/Toggle.css index 87f4c2091..fb2f99462 100644 --- a/source/components/ui/Toggle.css +++ b/source/components/ui/Toggle.css @@ -44,7 +44,7 @@ transition: all 0.2s; } .ui__.toggle input[type='radio']:checked ~ *::before { - border: 4px solid white; + border: 2px solid white; background: var(--colour); } .ui__.toggle input[type='radio']:focus ~ .radioText { @@ -55,8 +55,8 @@ } .ui__.toggle input[type='radio']:checked ~ * { - background: var(--colour); - box-shadow: 0 0 0 3rem var(--colour); + background: var(--lightColour); + box-shadow: 0 0 0 3rem var(--lightColour); color: white; }