scottjehl
a8edc991da
small cleanup on margins and such
2010-10-05 23:06:18 -04:00
scottjehl
9a9d47e550
removed an unnecessary wrapper
2010-10-05 23:00:33 -04:00
scottjehl
71763d3dfa
pretty rough, but here's a functional attempt at rounded-corner switches
2010-10-05 22:57:13 -04:00
scottjehl
30ba455514
adjusted margins
2010-10-05 19:21:20 -04:00
scottjehl
2fe29a1d2b
refactored switch sliders - more iPhone-like in behavior and appearance now.
2010-10-05 19:17:47 -04:00
scottjehl
e5207475a9
renamed the classes to "switch". For sliders built from selects with more than 2 options, we can use the name "select". currently, only 2 options are supported for select sliders
2010-10-05 18:28:03 -04:00
scottjehl
5008c95fed
tightened up the offsets a bit
2010-10-05 17:46:00 -04:00
scottjehl
adbdf7abc6
adjustments to spacing, layout management, consistency across elements
2010-10-05 17:42:11 -04:00
scottjehl
92c49bf97e
extended slider to support simple toggle switches based on select menus.
...
The logic will actually support multi-option selects as well, but the labels are flipped in order for switch-style controls, so if we want to support regular sliders from selects, the labels will have to be in forward order and beneath the slider bar.
2010-09-23 12:51:23 -04:00
scottjehl
11db1686c2
took the width of the slider track down a tad
2010-09-21 16:09:58 -04:00
scottjehl
3b7a717e92
more updates to slider css and js. Should have itemized commits, but this thing's still in first-pass status.
2010-09-21 16:07:23 -04:00
scottjehl
e82a65871a
you're gonna need a bigger handle
2010-09-21 15:34:48 -04:00
scottjehl
4992d7b168
First pass at a simple slider plugin. Can be called on an input element with data-role="slider". Controls communicate both ways during use.
2010-09-21 15:25:23 -04:00