From 34e8da2aa29231814666c864613bd3ca39d72d62 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Mon, 11 Jun 2018 22:45:30 -0400 Subject: [PATCH] Minor modification to toggle switch styles. --- app/assets/css/launcher.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/assets/css/launcher.css b/app/assets/css/launcher.css index cc2cc3b6..28775080 100644 --- a/app/assets/css/launcher.css +++ b/app/assets/css/launcher.css @@ -1091,7 +1091,7 @@ body, button { display: inline-block; width: 50px; height: 25px; - border-radius: 3px; + border-radius: 50px; box-sizing: border-box; } .toggleSwitch input { @@ -1104,9 +1104,9 @@ body, button { left: 0; right: 0; bottom: 0; - background-color: rgba(0, 0, 0, 0.25); + background-color: rgba(255, 255, 255, 0.35); transition: .4s; - border-radius: 3px; + border-radius: 50px; border: 1px solid rgba(126, 126, 126, 0.57); } .toggleSwitchSlider:before { @@ -1116,12 +1116,13 @@ body, button { width: 21px; left: 3px; bottom: 3px; - background-color: rgb(202, 202, 202); - border-radius: 3px; + background-color: white; + box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.75); + border-radius: 50px; transition: .4s; } input:checked + .toggleSwitchSlider { - background-color: rgba(36, 255, 0, 0.25); + background-color: rgb(31, 140, 11); } input:checked + .toggleSwitchSlider:before { transform: translateX(21px);