Browse Source

Fixing the toggle from jumping when active.

pull/210/head
connors 11 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 */
[class*="button"]:active {
background-color: #333;
transition: background-color .2s linear;
transition: background-color .1s linear;
}
/* Button modifiers

2
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 */

2
lib/js/toggles.js

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