Commit graph

191 commits

Author SHA1 Message Date
gseguin
bcd0a05982 Added .ui-corner-none 2011-08-17 12:07:05 -07:00
gseguin
dd9ae4898b Fix for issue #779
Added a ui-li-has-count class for listview items that contain a count bubble. Changed default padding-right to 25px adjusting it to 75px when count bubble is present.
2011-08-11 16:59:51 -07:00
scottjehl
1dd3f4bbb3 removed background unset from fieldcontains. No good reason to keep that in there. 2011-07-21 12:32:06 -04:00
scottjehl
b0552d79de removed some old alpha comments. Versioning covers this sort of thing. 2011-07-15 11:47:32 -04:00
scottjehl
affd609330 This ensures inner button text is visible in IE7. Fixes #2058. Yay. 2011-07-15 11:42:25 -04:00
scottjehl
815d82ba1f changed padding-box to padding for -moz-background-clip per https://developer.mozilla.org/en/CSS/background-clip#Browser_compatibility 2011-07-11 02:17:17 -04:00
scottjehl
e5e198a8db adjusted css3 prefixing for background gradients to a) increase browser support for standard prefixed gradients, and b) remove -ms filter gradients due to a rendering issue in IE9 that conflicts with border radius. Gradient support is set for IE10, however. More info on this bug and decision can be found at issue #2046. Fixes #2046. Fixes #1933. Addresses a portion of #13 as well. 2011-07-11 02:06:24 -04:00
Todd Parker
64a5786a81 Merge pull request #1941 from kpozin/patch-2
Change timing function on spin animation to linear. Thanks kpozin!
2011-07-06 19:57:36 -07:00
jacob4u2
e2a7b1a63c Fix #1999, mismatched gradient stops for .ui-btn-up-c style 2011-07-06 16:03:13 -05:00
Konstantin Pozin
e0dcf06983 Changed timing function on spin animation to linear, for a much smoother-looking spinner 2011-06-27 14:05:16 -07:00
Ghislain Seguin
9c3ebe07ea Added state class to label of checkbox/radio 2011-06-24 12:40:01 -04:00
Ghislain Seguin
3ab9665ddd Fixed icons offset 2011-06-24 12:40:00 -04:00
scottjehl
5a4b5f3206 Implemented the new design for checkboxes and radios as proposed by @toddparker. 2011-06-24 12:40:00 -04:00
scottjehl
5b147580e6 Merge branch 'issue-1338' of https://github.com/gseguin/jquery-mobile into gseguin-issue-1338 2011-06-24 12:12:33 -04:00
toddparker
685b2cd0bf Fixed swatch letter typo for E buttons - it said ui-bar-d instead of ui-bar-e. Fixes #1894. Thanks app42! 2011-06-22 13:58:33 -04:00
scottjehl
46c0946633 Disable background on hidden buttons so that they don't appear in Opera Mini. Fixes #1862 2011-06-20 12:10:14 -04:00
scottjehl
df7ac2f642 fix up the page heights during transitions, and min-heights otherwise. 2011-06-17 19:19:46 -04:00
Ghislain Seguin
00bd49a414 issue #1595: Back button gets clipped when there is no title 2011-06-16 17:25:59 -07:00
Ghislain Seguin
c3e501541a Fix for issue #1816: $(select).selectmenu('disable') causes issues on iOS for native selects 2011-06-16 15:39:09 -07:00
Todd Parker
7e40ddff4e Merge pull request #1803 from eddiemonge/combine
minor changes to combine.php
2011-06-14 11:42:40 -07:00
scottjehl
74de5b2b55 changed the opacity/native select hiding so that it works in some variants of android 2.2. Fixes #1051 2011-06-13 18:05:50 -04:00
Álvaro Lázaro
f44d3c3cef Fixed #1809 - icon images not showing in collapsible content. 2011-06-10 03:52:15 -07:00
scottjehl
e1ed42d8b9 removed height:100% on inner buttons. I think this was a carryover from the old listview markup, but in testing we found no regressions by removing this. Fixes #1507 2011-06-09 16:17:18 -04:00
Eddie Monge
d508c3da96 remove ASP style tags, closing PHP tags and short php code 2011-06-09 09:31:42 -07:00
scottjehl
f8957baec7 make sure options don't get text-indented. Fixes #1717 2011-06-08 16:37:42 -04:00
Kin Blas
9e696b8d26 Backing out commit for "fix height issue for transitioning page"
https://github.com/jquery/jquery-mobile/pull/1723
b2a534c217

It was causing a few issues including:

https://github.com/jquery/jquery-mobile/issues/1770
2011-06-03 09:29:41 -07:00
eddiemonge
b2a534c217 fix height issue for transitioning page 2011-05-26 16:43:07 -07:00
Ghislain Seguin
37a180a6c5 Issue #1338
Smaller CSS fix
2011-05-25 13:10:50 -07:00
Ghislain Seguin
e38a58ab54 Issue #1338
Fixed CSS
2011-05-25 11:00:20 -07:00
scottjehl
198ca91d7d Changed the hiding mechanism for invisible native selects so that they work in Firefox Mobile. Fixes #1626. Tested on the following platforms: Mobile Firefox on Android 2.2, Firefox 3.6 and 4.x Mac, Chrome on Mac, Internet Explorer 7 and 8 - Desktop, Windows Phone 7, Safari desktop, Android 2.2 webkit, iOS 4 iPhone, BlackBerry 5, BlackBerry 6, iOS 4 on iPad, Opera Mini & Desktop on Mac 2011-05-24 19:32:53 -04:00
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