From 7860be2c3f304641e594ddb8c7e6eacb0df906a4 Mon Sep 17 00:00:00 2001 From: connors Date: Fri, 2 Aug 2013 18:15:06 -0700 Subject: [PATCH] Fixing the toggle from jumping when active. --- lib/css/buttons.css | 2 +- lib/css/toggles.css | 2 +- lib/js/toggles.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/css/buttons.css b/lib/css/buttons.css index 09ad2ea..4544c1d 100644 --- a/lib/css/buttons.css +++ b/lib/css/buttons.css @@ -20,7 +20,7 @@ /* Active */ [class*="button"]:active { background-color: #333; - transition: background-color .2s linear; + transition: background-color .1s linear; } /* Button modifiers diff --git a/lib/css/toggles.css b/lib/css/toggles.css index b1e973b..1aff911 100644 --- a/lib/css/toggles.css +++ b/lib/css/toggles.css @@ -29,7 +29,7 @@ /* Active state for toggle */ .toggle.active { background-color: #4cd964; - border: 1px solid #4cd964; + border: 2px solid #4cd964; } /* Active state for toggle handle */ diff --git a/lib/js/toggles.js b/lib/js/toggles.js index 5054de8..5fe774e 100644 --- a/lib/js/toggles.js +++ b/lib/js/toggles.js @@ -91,4 +91,4 @@ toggle = false; }); -}(); +}(); \ No newline at end of file