Add .ajax-wait rule for displaying a spin cursor for fields waiting Ajax updates
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/facdf5d3 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/facdf5d3 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/facdf5d3 Branch: refs/heads/5.4-js-rewrite Commit: facdf5d39907972e4380e35a7ab5c614d2bcfb35 Parents: 69a2edd Author: Howard M. Lewis Ship <[email protected]> Authored: Sun Nov 11 11:49:56 2012 -0800 Committer: Howard M. Lewis Ship <[email protected]> Committed: Sun Nov 11 11:49:56 2012 -0800 ---------------------------------------------------------------------- .../META-INF/assets/tapestry5/tapestry.css | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/facdf5d3/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css index 731d0dd..accb0b9 100644 --- a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css +++ b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css @@ -2,4 +2,13 @@ div.t-datefield-popup { position: absolute; z-index: 1000; margin-top: 2px; +} + +/* Applied to an input element to provide feedback that something is waiting on an Ajax request: + examples include server-side validation, or autocompletion. An Ajax "throbber" is displayed + on the right side of the field. */ +input.ajax-wait { + background-image: url(ajax-loader.gif); + background-repeat: no-repeat; + background-position: center right; } \ No newline at end of file
