Commit graph

205 commits

Author SHA1 Message Date
scottjehl
8232059164 Added an optional 1.0-style loading box design, configurable via a new loadingMessageTextVisible option, which defaults to false for regular loading messages, but is true for internal error messages. In order to support this change, the show loader method was modified with 3 arguments: theme, text, and text-only. Other new core options have been added to configure the theme for default and error message boxes: loadingMessageTheme and pageLoadErrorMessageTheme. 2012-01-27 18:42:22 +07:00
Mat Marquis
e7250070d1 Added moz-prefixed transition for slider handle. 2012-01-23 17:27:32 -05:00
Ghislain Seguin
ddaab10c59 Created jquery.mobile.structure.css which contains the structure css files 2012-01-23 15:43:45 -05:00
scottjehl
c71ae9da12 z-index no longer required during transitions 2012-01-23 21:29:42 +07:00
toddparker
b0d261ebe0 Switched from line-height to text-indent to accessibly hide buttons. Fixes #1927
Was causing an vertical scroll bar to appear in FF9 if a button at the
end of the content div is disabled / enabled. Changed '''line-height:
999px''' to '''text-indent: -9999px'''. Thanks n0v1!
2012-01-19 17:34:57 -05:00
scottjehl
d6d606a212 fixed the slider z index to prevent conflicts with toolbar 2012-01-19 00:19:20 +07:00
scottjehl
f00e3a1164 added new fixedToolbar plugin (its matching css is already in from the previous messy merge). Docs page is updated to match the new preferred syntax (no changes in API, however) 2012-01-19 00:19:06 +07:00
scottjehl
a5fd5f235e removed files for previous fixed toolbars implementation 2012-01-19 00:15:27 +07:00
John Bender
f2802bdc65 reverted fixed toolbar merge, there are some issues with the branch that need to be addressed 2012-01-17 21:46:28 -08:00
scottjehl
5704f4c12a Moved a rule to fixedToolbar.css 2012-01-18 00:06:47 +07:00
scottjehl
5d30cdb50d Merge remote branch 'origin/master' 2012-01-18 00:06:18 +07:00
scottjehl
57af436ab6 Merge branch 'fixedtoolbar'
Conflicts:
	Makefile
	css/structure/index.php
	css/structure/jquery.mobile.core.css
	css/structure/jquery.mobile.forms.slider.css
	css/structure/jquery.mobile.transitions.fade.css
	css/themes/default/jquery.mobile.css
	css/themes/default/jquery.mobile.theme.css
	docs/pages/page-transitions.html
	js/jquery.mobile.core.js
	js/jquery.mobile.define.js
	js/jquery.mobile.docs.js
	js/jquery.mobile.fixHeaderFooter.js
	js/jquery.mobile.fixHeaderFooter.native.js
	js/jquery.mobile.forms.button.js
	js/jquery.mobile.forms.select.custom.js
	js/jquery.mobile.init.js
	js/jquery.mobile.js
	js/jquery.mobile.navigation.js
	js/jquery.mobile.support.js
	js/jquery.mobile.transition.flip.js
	js/jquery.mobile.transition.flow.js
	js/jquery.mobile.transition.js
	js/jquery.mobile.transition.pop.js
	js/jquery.mobile.transition.slide.js
	js/jquery.mobile.transition.slidedown.js
	js/jquery.mobile.transition.slideup.js
	js/jquery.mobile.transition.turn.js
	tests/jquery.testHelper.js
	tests/unit/listview/listview_core.js
	tests/unit/support/index.html
2012-01-18 00:05:45 +07:00
toddparker
f53ac0da7f Speedier transition timing
Also added duration to some rules to tweak timing and make them more
reliable
2012-01-16 23:41:37 -05:00
toddparker
956075cbff Faster fade in (225ms vs 300) and out (100ms vs 150) to see if this feels snappier. 2012-01-16 18:26:52 -05:00
Mat Marquis
0172ff88d7 Setting .ui-mobile/.ui-mobile to height: 99.9% prevents a vertical scrollbar on dialog pages, in Firefox. 2012-01-16 16:07:37 -05:00
scottjehl
606bfe5f8e removed all internal usage of the touch overflow support test and enabled flag. Still leaving both defined, however. 2012-01-13 20:11:52 +07:00
scottjehl
d863697773 moved a non-fixed-toolbars rule back to core 2012-01-13 19:55:08 +07:00
scottjehl
e7cc245ee1 renamed files to plugin name 2012-01-13 19:53:13 +07:00
scottjehl
4356e578a0 bring z-index down to 1, to prevent competition with fixed toolbars 2012-01-13 17:35:48 +07:00
scottjehl
d4f0a024fc combined redundant syntax 2012-01-13 17:30:51 +07:00
scottjehl
d72397daa0 added the timing durations to the transitions themselves 2012-01-13 17:30:51 +07:00
scottjehl
c97d708bec fixed some typos where webkit needed to be moz 2012-01-13 17:30:50 +07:00
scottjehl
3bb06691f1 fix up dialog presentation - headers were busted 2012-01-13 17:30:50 +07:00
Mat Marquis
b52551d9a3 Updated 3d transform test to accomodate FF10. 2012-01-13 17:30:49 +07:00
scottjehl
a9cd92a978 special case for dialogs - the theme class will apply to the page container when a dialog is shown, and that class will be removed when the dialog is hidden. This allows the transition to appear to affect only the inset window portion of the dialog page. 2012-01-13 17:29:41 +07:00
Mat Marquis
d1663f1373 Added page turning transition. 2012-01-13 17:27:56 +07:00
toddparker
89442ef551 Whitespace 2012-01-13 17:27:55 +07:00
toddparker
36632aa594 Added in drop shadow on pages in "flow" transition, adjusted timing to be longer 2012-01-13 17:27:55 +07:00
scottjehl
2520307036 pulled out the 3D madness 2012-01-13 17:27:54 +07:00
scottjehl
5e862b60ba changed up the timing and origin 2012-01-13 17:27:54 +07:00
scottjehl
43b5537d5b added an experimental 3D transition, "flow" 2012-01-13 17:27:54 +07:00
scottjehl
af02f7e589 removed rotate transition from concat files and docs 2012-01-13 17:27:54 +07:00
scottjehl
a237c5f2e1 removed the experimental rotate transition 2012-01-13 17:27:53 +07:00
scottjehl
984edf8cc7 split the slide transitions into 3 files for slide, slidedown, and slideup 2012-01-13 17:27:53 +07:00
scottjehl
dbd03bf0df removed fallback transition CSS for non-3D browsers 2012-01-13 17:27:53 +07:00
scottjehl
a0c67fa026 updated the rotate transition to move the page out of view 2012-01-13 17:27:53 +07:00
scottjehl
91709b4167 removed z-index rules, no longer needed 2012-01-13 17:27:53 +07:00
scottjehl
1f7d8ac7b6 z index not needed 2012-01-13 17:27:53 +07:00
scottjehl
34427cfb9d brought back a full flip transition for 3d supporting browsers, using 90deg pairs. Needs further testing 2012-01-13 17:27:52 +07:00
scottjehl
f5ffe7540d whitespace 2012-01-13 17:27:52 +07:00
scottjehl
5bf6728a65 removed or moved opacity rules for simpler cascade 2012-01-13 17:27:52 +07:00
scottjehl
93c1efe143 removed z-index rules, as pages no longer overlap in transitions 2012-01-13 17:27:52 +07:00
toddparker
21c53b646f Moved non-3D rules to the bottom to hide the ugliness
Rule order doesn't seem to matter because of specificity.
2012-01-13 17:27:52 +07:00
toddparker
7dcce519f7 First cut at making pop work for non-3D browsers. Still rough, but works.
I had to create a new set of basic keyframes for non-3D because we had
opacity baked into our keyframes. As an upside, I could tweak the scale
factor differently between Android (0 > 1) and 3D (0.8 > 1).
2012-01-13 17:27:52 +07:00
toddparker
33b8cb67e0 Slide transition improvements
- Switched from opacity to outline for nofade
- Re-vamped the non-3D slides to eliminate blinking
2012-01-13 17:27:52 +07:00
toddparker
c152cc16d9 A few more slide tweaks, still blinky or skips frames in unpredictable ways 2012-01-13 17:27:52 +07:00
toddparker
0675e15233 Added "nofade" transition, slide/up/down for non-3D devices
- Introduced a class (nofade) which is similar to dontmove for
overwriting the fade in/out classes. We're not scoping all classes to
with supported or not like in flip so we need to negate the fade rules
with a new animation
- Added a selector block at the top to lengthen all slide animations to
300ms to reduce blinkiness on Android. Shorter caused animations to
break out of sequence. Needs refinement on timing.
- Added rules to apply the "nofade" classes to the replace the fade
in/out animations for non-3D browsers. Had to set the duration equal to
the slide animations to keep it all in sync.
2012-01-13 17:27:52 +07:00
toddparker
7e9203bcfe Re-org file, scoped all flip rules to the 3d supported class to avoid android seeing these
Cleaned up unsupported rules, added to top of file - needed both fade
in and out rules
2012-01-13 17:27:52 +07:00
scottjehl
af7a8355dc added a rotate transition, just for fun. 2012-01-13 17:27:52 +07:00
scottjehl
d6a44fcce9 flipped the default timing for in and out - they were backwards 2012-01-13 17:27:52 +07:00