Browse Source

Fixing the toggle from jumping when active.

pull/210/head
connors 12 years ago
parent
commit
7860be2c3f
  1. 2
      lib/css/buttons.css
  2. 2
      lib/css/toggles.css
  3. 2
      lib/js/toggles.js

2
lib/css/buttons.css

@ -20,7 +20,7 @@
/* Active */ /* Active */
[class*="button"]:active { [class*="button"]:active {
background-color: #333; background-color: #333;
transition: background-color .2s linear; transition: background-color .1s linear;
} }
/* Button modifiers /* Button modifiers

2
lib/css/toggles.css

@ -29,7 +29,7 @@
/* Active state for toggle */ /* Active state for toggle */
.toggle.active { .toggle.active {
background-color: #4cd964; background-color: #4cd964;
border: 1px solid #4cd964; border: 2px solid #4cd964;
} }
/* Active state for toggle handle */ /* Active state for toggle handle */

2
lib/js/toggles.js

@ -91,4 +91,4 @@
toggle = false; toggle = false;
}); });
}(); }();
Loading…
Cancel
Save