Commit graph

161 commits

Author SHA1 Message Date
Ghislain Seguin
516c5aaa6c Merge branch 'master' of github.com:gseguin/jquery-mobile 2011-05-13 10:54:42 -07:00
Ghislain Seguin
f929e90a70 Fixed #1419: Grouped radio buttons with long labels don't ellipsis 2011-05-13 10:53:49 -07:00
toddparker
9426e82e29 Fixed the down state for theme d that was causing extra styles to be erroneously applied which make the list jump and look chunky when clicked. 2011-05-14 00:39:26 +08:00
scottjehl
f176f4a884 added margin back from media-helper based css. 2011-05-11 18:32:57 +02:00
scottjehl
3f94d4ff97 Moved our own widget css layout toggles over to using standard media queries, rather than the classes we apply to the HTML element to simulate media queries. 2011-05-11 18:00:44 +02:00
Kin Blas
1387fd457f Merge branch 'filterspeed' of https://github.com/nsaleh/jquery-mobile into pull-1475
Resolved Conflicts:
	js/jquery.mobile.navigation.js
		- Removed these changes as they are not related.
2011-05-09 12:27:44 -07:00
Nabil Saleh
4ffb0a5f33 - code cleanup
- added class-based hiding
2011-05-09 13:25:13 +02:00
Kin Blas
19c06952fd Changes to allow 3rd party transitions. Developers can now register a custom transition by adding their transition handler to the $.mobile.transitionHandlers dictionary. The name of the custom transition is used as the key within the transtionsHandlers dictionary, and should be the same name used within the @data-transtion attribute.
The expected prototype for a transitionHandler is as follows:

function handler(name, reverse, $to, $from)

The name parameter is the name of the transition as specified by @data-transition attribute, reverse is a boolean that is false for a normal transition, and true for a reverse transition. The $to param is a jQuery collection containing the page that is being transitioned "to", and $from is an optional collection that tells us what page we are transitioning "from". Because $from is optional, handler developers should take care and check $from to make sure it is not undefined before attempting to dereference it.

In addition to registering custom transition by name, developers can specify a handler to use in the case where a transition name is specified and does not exist within the $.mobile.transitionHanlders dictionary. Within jQuery Mobile, the default handler for unknown transition types is the $.mobile.css3Transition() handler. This handler always assumes that the transition name is to be used as a CSS class to be placed on the $to and $from elements. To change the default handler, simply set $.mobile.defaultTransitionHandler to you function handler:

$.mobile.defaultTransitionHandler = myTransitionHandler;

The changes to make all this necessary are as follows:

- Created $.mobile.noneTransitionHandler which is the default transitionHandler for the framework that simply adds and removes the page active class on the $from and $to pages with no animations.

- Moved class based transition code into a new plugin jquery.mobile.transition.js file. This plugin, when present, overrides the noneTransitionHandler as the defaultTranstionHandler for the framework so that CSS3 animation transitions are available.

- Removed code related to the setting/removal of the ui-mobile-viewport-perspective class. The css3TransitionHandler plugin takes care of automatically placing a "viewport-<transition name>" class on the viewport (body) element. This allows any other transition to specify properties on the viewport that are necessary to accomplish the transition.

- changed the CSS class ui-mobile-viewport-perspective to viewport-flip to match code changes. This makes it more apparent that setting -webkit-perspective is only used with the flip transition.

- Updated js/index.php, Makefile and build.xml to include the new jquery.mobile.transition.js file.
2011-04-26 14:06:10 -07:00
toddparker
164d40b711 Set loader z-index to 100 so it sits over sliders. Fixes #1371 2011-04-05 12:20:54 -04:00
toddparker
97db437373 Removed duplicate text shadow rule 2011-04-04 22:31:14 -04:00
scottjehl
799cee85bc fixed bug in CSS counter in readonly lists 2011-03-31 17:34:16 -04:00
scottjehl
f241a858b5 fixed ordered lists in readonly OL listviews. Fixes #1144 2011-03-31 17:24:09 -04:00
scottjehl
bb9921a9f4 Merge remote branch 'origin/master'
Conflicts:
	docs/pages/docs-link-scenarios.html
2011-03-28 16:37:58 -04:00
scottjehl
3b9a90ee4a fixed underline on button down state 2011-03-28 15:55:37 -04:00
scottjehl
15a052134f moved overflow hidden w/ ellips to inner anchor fixing a small listview CSS regression. 2011-03-27 14:19:00 -04:00
scottjehl
732a11089b make sure page backgrounds and general page height fills the height of the browser, particularly with dialogs. Fixes #1033 2011-03-27 12:53:22 -04:00
scottjehl
1f703625c1 css fix for split button icons. This concludes the listview markup refactor, which allows us to remove many previous workarounds that dealt with anchor elements not filling the whole list dimension (and requiring us to trigger clicks and mimic default anchor clicking when not using Ajax... ). That was bad. This is good. Fixes #652 and Fixes #596. 2011-03-27 02:21:02 -04:00
scottjehl
07333e3482 moved padding to anchor rather than inner div 2011-03-27 01:59:55 -04:00
scottjehl
84b55548d3 more updates to the listview markup, styles and scripts to allow wrapped anchors 2011-03-26 21:29:24 -04:00
scottjehl
2d6653c1d5 improved the icons at regular and retina resolutions. added check and radio to the sprite; fewer requests ftw. Fixes #844 2011-03-25 17:35:45 -04:00
toddparker
430a25884e Higher bit depth versions. 2011-03-25 13:19:37 -04:00
toddparker
31d246f685 Updated sprites to add alpha transparency 2011-03-25 13:11:08 -04:00
toddparker
8f9250ecff Merge remote branch 'origin/master' 2011-03-25 11:48:00 -04:00
toddparker
c771c36e9e New check + radio images - now a single sprite and with retina support 2011-03-25 11:47:45 -04:00
scottjehl
13a88bfd7b undid the changes in commit #a881ae79d7310e45294e 2011-03-24 01:11:45 -04:00
Louy Alakkad
a881ae79d7 giving footer buttons an absolute postition 2011-03-23 23:56:06 +08:00
Alexander Wunschik
862c0119d9 Default cursor for listview deviders. Fixes #1244 2011-03-21 22:13:11 +08:00
scottjehl
143a8df256 less padding on select menu titles. Credit goes to oiva (Oiva Eskola). Thanks! 2011-03-15 19:04:58 -04:00
hakanson
d16c46a6e9 format search filter for inset lists 2011-03-15 12:05:47 +08:00
scottjehl
6aa7db5fb5 changed the secondary icon color class name to ui-icon-alt instead of ui-icon-black. This will be best when creating custom themes that might use slightly different icon colors. 2011-03-14 23:55:41 -04:00
scottjehl
bd4e4a7eeb updated the retina sprite targeting to specifically apply to the icons in the sprite, and nothing broader. Credit for this commit goes to Adam Messinger (@adammessinger). Thanks Adam! 2011-03-14 23:47:16 -04:00
scottjehl
7f48419a29 This adds a fallback for navbars that have one item, so they simply fill 100%. Credit for this fix and idea goes to kennedyr (Richard Kennedy), but we changed the naming around a bit. Fixes #1107. Thanks Richard! 2011-03-14 20:26:20 -04:00
Dave Hulbert
11965092bb Fix for #1017 - Listview - remove hover/focus on read-only items 2011-03-15 07:52:11 +08:00
ray58750034
50c2df122e set min-height of ui-block-* class, so the grid layout still work even some block doesn't contain any content. 2011-03-15 07:27:11 +08:00
scottjehl
6bcfd6f8d8 Merge branch 'bug/1151' of https://github.com/dave1010/jquery-mobile into dave1010-bug/1151 2011-03-14 18:49:57 -04:00
scottjehl
dedb54d15f set native select with custom button to opacity 0 instead of 0.0001. Note: I thought it was 0.0001 for a reason, but this checks out fine in WP7, WebOS, Android,iOS, Chrome, Safari, Firefox 4, Firefox 3.6, Opera Desktop & Mobile, IE 7
IE 8, IE 9, Blackberry 6. Sooo... that covers it. Fixes #1216
2011-03-14 18:44:31 -04:00
scottjehl
faa01256fa Grouped buttons had extra margins. Fixes #1231 2011-03-14 11:13:47 -04:00
scottjehl
3014ab785d fixed the flip switch in Windows Phone 7. Z indexes needed tweaking to accommodate IE. 2011-03-14 00:20:25 -04:00
scottjehl
4596769b5e fixed up the dimensions and opacity for nativeMenu selects so they work in Windows Phone and IE 2011-03-14 00:20:25 -04:00
scottjehl
3ffe86bc21 fixed form button appearance in Windows Phone 7 and IE 2011-03-14 00:20:25 -04:00
scottjehl
c1f6057773 switched from inline-block to inline on the divs to get grouped Checkboxes and Radios to stack horizontally in Windows Phone. 2011-03-14 00:20:25 -04:00
scottjehl
bd1f9e1249 changing overflow to visible makes list items stack properly in IE7. This rule was only there for clearfix, so either value should be fine. Tested in iOS/iPad to make sure this did not re-introduce the icon positioning bug. Removed unnecessary zoom as well. 2011-03-14 00:20:24 -04:00
scottjehl
05c48f2c3e moved the CSS shorthand around for a better rgba fallback in IE 2011-03-14 00:20:24 -04:00
toddparker
183ec771d2 Fixed -msfilter: css rules to use the correct ms-filter: syntax. Not an issue with valencia, only the default theme. Closes #1020 2011-03-12 16:24:48 -05:00
Dave Hulbert
47b26d9628 Whitespace. Again. 2011-03-10 10:16:42 +00:00
Dave Hulbert
1926787393 Whitespace 2011-03-10 10:11:40 +00:00
Dave Hulbert
fec673dec1 Fix for regular text inputs. Props scottjehl. 2011-03-10 09:39:02 +00:00
Dave Hulbert
b4ecf585b2 Fix for #1151 - Form elements aren't full width. Needs testing. 2011-03-04 11:49:03 +00:00
scottjehl
fb9c7d03b3 Merge remote branch 'origin/master' 2011-02-04 12:45:34 -05:00
scottjehl
98842a337c critical bug fix for C-Grade support. Ensures page is not hidden on C-Grade browsers. Fixes #975 2011-02-04 12:45:26 -05:00