Commit graph

247 commits

Author SHA1 Message Date
scottjehl
440be55f2b changed the name of the overflow support test and class to touchOverflow / touch-overflow 2011-09-08 12:38:50 -04:00
scottjehl
c8e676d591 applied conditional overflow scrolling to page div 2011-09-08 12:38:50 -04:00
Kin Blas
2f160e1402 Fix for issue 2346 - Flip toggle switches don't animate when tapped.
- Changed the target selector for ui-slider-handle-snapping from:

    div.ui-slider-handle-snapping

  to:

    a.ui-slider-handle-snapping

  to match the actual markup being generated.
2011-09-07 10:09:00 -04:00
gseguin
d6da6fed64 piggy back on checkbox/radio to define background-color for ui-icon-checkbox-on 2011-08-31 13:32:44 -07:00
gseguin
830663d88b Changed look and feel of custom select options to match the checkbox/radio 2011-08-31 10:43:34 -07:00
gseguin
2cc8c7ff34 Fix for issue #779
Addressing @jakeboone02's comments at dd9ae4898b (commitcomment-531858)
2011-08-24 13:54:03 -07:00
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
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
toddparker
d91d83887e Re-compressed the 18px icons to dramatically reduce bandwidth - 150k+ to 4k. Fireworks - what were you thinking last night? 2011-02-04 11:25:50 -05:00
scottjehl
bd79c32c9a Page min-height was being calculated with JS and it was far too tall. This moves the values into CSS with values that are aimed towards iPhone (as this is addressing an iPhone transitions issue with the address bar show/hide). 2011-02-03 17:22:23 -05:00
toddparker
28e1187b08 Added 1px extra padding to icon only buttons. Adjusted offset for clear button on search inputs accordingly. 2011-02-03 15:04:15 -05:00
toddparker
59b7d74026 Added new home and search icon classes. Re-named the ui-icon-search used on search inputs to ui-icon-searchinput 2011-02-03 13:37:39 -05:00
toddparker
cd14e8f3fd Added new home and search icons to sprite. 2011-02-03 13:37:06 -05:00
scottjehl
b464b1bcec added a workaround for the selectmenu plugin's nativeMenu in Opera. Opera browsers improperly support opacity on select elements, either hiding the menu button but not its text (in Mini), or hiding the text but not the button. Either way, it makes our hidden-select trick look really bad, or unusable. This workaround adds a class to the select in Opera, and makes the native menu visible. In the case of a false positive, that's not a bad outcome. Fixes #897 2011-02-02 12:04:18 -05:00
scottjehl
2061b5bc2b setting opacity to slightly greater than 0 fixes native selects in Firefox Mobile. At this point, the critical issues mentioned in 897 appear to be resolved. Fixes #897. 2011-02-02 00:36:41 -05:00
scottjehl
0648247260 further shielding of non-native actions from native menus, and styled select within a parent div rather than anchor, when native is used. 2011-02-01 21:03:41 -05:00
scottjehl
18f349bf37 make sure non-created pages are hidden. Fixes #946 2011-02-01 20:03:49 -05:00
scottjehl
4930a42873 moved over to our class-based media query 2011-02-01 10:40:18 -05:00
Jesse Streb
34260225a7 Removing height: 120% as it appears to have caused unnecessary flickering and by setting the min-height of each page creation is unnecessary. 2011-01-31 21:42:38 -05:00
adammessinger
1585f7d729 Fix for issue #890: missing -moz-linear-gradient parameters in theme CSS 2011-01-29 00:16:25 +08:00
John Bender
b1d356bfd7 Merge branch 'nativeselectmenu' 2011-01-27 09:50:40 -08:00
Jesse Streb
378fb51225 [#455] For the transitions we now have overflow: hidden in order to limit the flickering. We always scroll to the top before we start our transitions in order to make it scroll. The CSS changed to have overflow: hidden during transitions and have a height that is larger enough to keep the address bar hidden. 2011-01-27 12:28:04 -05:00