Commit graph

26 commits

Author SHA1 Message Date
scottjehl
091c00a9cf removed media attrs in markup. We can do this internally in the css if necessary, but in general, this css only applies to js-generated classes anyway. 2010-10-12 15:14:07 -04:00
Todd Parker
cfafc3309c updates to demos to align with new theme 2010-10-12 13:25:29 -04:00
scottjehl
13f2c96f94 added theme to an input 2010-10-11 17:27:19 -04:00
scottjehl
4b08e0fc9d enabled theming of sliders through data-theme. Fixes #152 Fixes #153 2010-10-11 16:55:10 -04:00
scottjehl
16ee84fd94 apply theming to checkboxes and radios through data-theme attr. Fixes #150 Fixes #151 2010-10-11 16:47:08 -04:00
scottjehl
35e97cc5df enabled theming of select menu buttons through data-theme attr on select el. Fixes #149 2010-10-11 16:41:30 -04:00
scottjehl
00c28aff4d demo markup cleanup 2010-10-09 08:57:57 -04:00
scottjehl
dc3ff3b67e Input sliders can now be created using type="range". No data- attr necessary, though you can also use data-role="slider" with an input type of number (and on a select element as well).
Range Inputs will degrade to type=text, along with other shoddy input types.

Fixes #106
Fixes #118
2010-10-08 23:49:41 -04:00
scottjehl
db9f34e92a removing home links - auto-back links will work in their place 2010-10-08 23:10:56 -04:00
scottjehl
de53cfb930 Made all css and JS rely upon media query support. ("only all"). We can go back to the previous system, but so far, this seems to create a better divide than our previous support tests provided. 1-person discussion here: https://github.com/jquery/jquery-mobile/issues/#issue/29 2010-10-07 15:15:59 -04:00
scottjehl
229477550d updated grid class around buttons 2010-10-06 18:18:56 -04:00
scottjehl
76cf9845ef moved datepicker demo to experiments 2010-10-06 00:16:43 -04:00
scottjehl
2fe29a1d2b refactored switch sliders - more iPhone-like in behavior and appearance now. 2010-10-05 19:17:47 -04:00
scottjehl
c5ceff175b made the single checkbox into a controlgroup. Because it looked better. 2010-10-05 18:35:21 -04:00
scottjehl
f1403fbfc4 added a checked attr 2010-10-05 17:08:45 -04:00
scottjehl
ef77c88e8d removed an extra strong tag 2010-10-05 17:01:40 -04:00
scottjehl
a08ccd6880 whitespace only 2010-10-02 11:43:32 -04:00
scottjehl
79a5c3db13 removed inline gzips 2010-10-02 11:42:50 -04:00
scottjehl
134e7024a4 updated date input label text 2010-09-28 08:59:32 -07:00
scottjehl
c2bb0f3724 included a datepicker demo 2010-09-27 16:33:46 -05: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
0b0549372b added a slider to form controls page 2010-09-21 15:26:09 -04:00
scottjehl
af250415b2 updated markup to use data-role attrs in place of classes for header/content/footer 2010-09-21 10:58:54 -04:00
scottjehl
f9f236fb8b Big update:
In starting markup, pages should now be identified with the attribute data-role="page".  This allows us to then add ui-page programatically, hiding all non-active pages, and apply ui-page-active to one page at a time to show it.

mobile.js is updated to find pages by this attribute now, instead of ui-page class.

fixes issue 32
2010-09-18 12:20:35 -04:00
scottjehl
94be57ef22 removed unnecessary theme classes from headers & footers 2010-09-16 12:21:52 -04:00
scottjehl
1d0fd4a7d8 committing all the mobiley goodness. 2010-09-10 18:23:13 -04:00