compass-jquery-plugin 0.3.2.pre.2 → 0.3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.md +20 -20
- data/README.md +7 -2
- data/VERSION.yml +2 -2
- data/lib/jquery/gridify/grid.rb +1 -1
- data/lib/jquery/gridify/grid_column.rb +1 -1
- data/lib/jquery/gridify/grid_finder.rb +16 -1
- data/lib/jquery/gridify/grid_view.rb +1 -1
- data/lib/jquery/jqgrid.rb +4 -4
- data/lib/jquery/jqtouch.rb +3 -3
- data/lib/jquery/jquery.rb +431 -431
- data/lib/jquery/jquery_json_response.rb +28 -0
- data/lib/jquery/secret_sauce.rb +8 -8
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +13 -13
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +18 -18
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +5 -5
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +41 -41
- data/templates/dynatree/jquery.dynatree.js +111 -110
- data/templates/dynatree/jquery.dynatree.min.js +75 -77
- data/templates/dynatree/jquery/dynatree/aero.scss +1 -3
- data/templates/dynatree/jquery/dynatree/aqua.scss +1 -3
- data/templates/dynatree/jquery/dynatree/crystal.scss +1 -3
- data/templates/dynatree/jquery/dynatree/xp.scss +1 -3
- data/templates/emulators/emulators/iphone.landscape.png +0 -0
- data/templates/emulators/emulators/iphone.landscape.scss +4 -4
- data/templates/emulators/emulators/palm.landscape.scss +6 -6
- data/templates/emulators/emulators/palm.pre.landscape.png +0 -0
- data/templates/ical/jquery.ical.js +3202 -3197
- data/templates/ical/jquery.ical.min.js +185 -184
- data/templates/ical/jquery/ical.scss +3 -3
- data/templates/jqgrid/i18n/jqgrid/locale-ar.js +126 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ar.min.js +6 -0
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +45 -47
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +6 -6
- data/templates/jqgrid/jquery.jqGrid.js +2047 -2036
- data/templates/jqgrid/jquery.jqGrid.min.js +48 -48
- data/templates/jqgrid/manifest.rb +2 -0
- data/templates/jqtouch/jquery.jqtouch.js +122 -113
- data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
- data/templates/jquery/config/initializers/jquery.rb +4 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +23 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.min.js +2 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +23 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.min.js +2 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +23 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.min.js +2 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +23 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.min.js +2 -0
- data/templates/jquery/jquery-ui.js +354 -316
- data/templates/jquery/jquery-ui.min.js +544 -544
- data/templates/jquery/jquery.cookie.js +3 -3
- data/templates/jquery/jquery.form.js +271 -140
- data/templates/jquery/jquery.form.min.js +19 -17
- data/templates/jquery/jquery.layout.js +2435 -2437
- data/templates/jquery/jquery.layout.min.js +4 -3
- data/templates/jquery/jquery.mousewheel.js +78 -0
- data/templates/jquery/jquery.mousewheel.min.js +2 -0
- data/templates/jquery/jquery.offline.js +212 -0
- data/templates/jquery/jquery.offline.min.js +4 -0
- data/templates/jquery/jquery.tmpl.js +15 -22
- data/templates/jquery/jquery.tmpl.min.js +12 -12
- data/templates/jquery/jquery.tmplPlus.js +1 -0
- data/templates/jquery/jquery/ui/_theme.scss +27 -27
- data/templates/jquery/json.js +7 -0
- data/templates/jquery/json.min.js +7 -0
- data/templates/jquery/manifest.rb +14 -2
- data/templates/mobile/glyphish/{Read me first - license.txt → License.txt} +0 -0
- data/templates/mobile/jquery.mobile.js +1583 -1408
- data/templates/mobile/jquery.mobile.min.js +5 -5
- data/templates/mobile/jquery/mobile/_base.scss +938 -1038
- data/templates/mobile/jquery/mobile/default.scss +25 -26
- data/templates/mobile/jquery/mobile/valencia.scss +0 -1
- data/templates/mobile/manifest.rb +1 -1
- data/templates/tools/config/initializers/tools.rb +2 -0
- data/templates/tools/flowplayer.js +24 -0
- data/templates/tools/flowplayer.min.js +30 -0
- data/templates/tools/jquery.tools.js +4 -3
- data/templates/tools/jquery.tools.min.js +1 -1
- data/templates/tools/manifest.rb +4 -0
- data/templates/tools/swfobject.js +777 -0
- data/templates/tools/swfobject.min.js +19 -0
- metadata +31 -15
- data/templates/jquery/jquery.metadata.js +0 -122
- data/templates/jquery/jquery.metadata.min.js +0 -2
@@ -1,13 +1,13 @@
|
|
1
1
|
/*
|
2
|
-
* jQuery UI Widget
|
2
|
+
* jQuery UI Widget 1.8.9
|
3
3
|
*
|
4
|
-
* Copyright
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5
5
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
6
|
* http://jquery.org/license
|
7
7
|
*
|
8
8
|
* http://docs.jquery.com/UI/Widget
|
9
9
|
*/
|
10
|
-
(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f)
|
10
|
+
(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var k=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,j;e;){j=b.event.props[--e];g[j]=g.originalEvent[j]}}this.element.trigger(g,h);return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a,b){a.widget("mobile.widget",{_getCreateOptions:function(){var d=this.element,c={};a.each(this.options,function(e){var f=d.data(e.replace(/[A-Z]/g,function(g){return"-"+g.toLowerCase()}));if(f!==b){c[e]=f}});return c}})})(jQuery);(function(c,f){var e=c(window),a=c("html"),b=[320,480,768,1024];c.mobile.media=(function(){var g={},h=c("<div id='jquery-mediatest'>"),i=c("<body>").append(h);return function(l){if(!(l in g)){var j=document.createElement("style"),k="@media "+l+" { #jquery-mediatest { position:absolute; } }";j.type="text/css";if(j.styleSheet){j.styleSheet.cssText=k}else{j.appendChild(document.createTextNode(k))}a.prepend(i).prepend(j);g[l]=h.css("position")==="absolute";i.add(j).remove()}return g[l]}})();function d(){var g=e.width(),k="min-width-",i="max-width-",m=[],j=[],l="px",h;a.removeClass(k+b.join(l+" "+k)+l+" "+i+b.join(l+" "+i)+l);c.each(b,function(n,o){if(g>=o){m.push(k+o+l)}if(g<=o){j.push(i+o+l)}});if(m.length){h=m.join(" ")}if(j.length){h+=" "+j.join(" ")}a.addClass(h)}c.mobile.addResolutionBreakpoints=function(g){if(c.type(g)==="array"){b=b.concat(g)}else{b.push(g)}b.sort(function(i,h){return i-h});d()};c(document).bind("mobileinit.htmlclass",function(){e.bind("orientationchange.htmlclass resize.htmlclass",function(g){if(g.orientation){a.removeClass("portrait landscape").addClass(g.orientation);if(g.orientation==="portrait"){c(".ui-page").css("minHeight",(screen.availHeight>=screen.availWidth)?screen.availHeight:screen.availWidth)}else{c(".ui-page").css("minHeight",(screen.availHeight<=screen.availWidth)?screen.availHeight:screen.availWidth)}c.mobile.silentScroll()}d()})});c(function(){e.trigger("orientationchange.htmlclass")})})(jQuery);(function(e,c){var d=e("<body>").prependTo("html"),g=d[0].style,h=["webkit","moz","o"],i=window.palmGetResource||window.PalmServiceBridge,f=window.blackberry;function b(m){var l=m.charAt(0).toUpperCase()+m.substr(1),k=(m+" "+h.join(l+" ")+l).split(" ");for(var j in k){if(g[j]!==c){return true}}}function a(){var n=location.protocol+"//"+location.host+location.pathname+"ui-dir/",m=e("head base"),o=null,j="";if(!m.length){m=o=e("<base>",{href:n}).appendTo("head")}else{j=m.attr("href")}var l=e("<a href='testurl'></a>").prependTo(d),k=l[0].href;m[0].href=j?j:location.pathname;if(o){o.remove()}return k.indexOf(n)===0}e.extend(e.support,{orientation:"orientation" in window,touch:"ontouchend" in document,cssTransitions:"WebKitTransitionEvent" in window,pushState:!!history.pushState,mediaquery:e.mobile.media("only all"),cssPseudoElement:!!b("content"),boxShadow:!!b("boxShadow")&&!f,scrollTop:("pageXOffset" in window||"scrollTop" in document.documentElement||"scrollTop" in d[0])&&!i,dynamicBaseTag:a()});d.remove();if(!e.support.boxShadow){e("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery);(function(e,g){e.each("touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(j,h){e.fn[h]=function(i){return i?this.bind(h,i):this.trigger(h)};e.attrFn[h]=true});var d=e.support.touch,c="touchmove scroll",a=d?"touchstart":"mousedown",f=d?"touchend":"mouseup",b=d?"touchmove":"mousemove";e.event.special.scrollstart={enabled:true,setup:function(){var h=this,k=e(h),j,l;function i(n,o){j=o;var m=n.type;n.type=j?"scrollstart":"scrollstop";e.event.handle.call(h,n);n.type=m}k.bind(c,function(m){if(!e.event.special.scrollstart.enabled){return}if(!j){i(m,true)}clearTimeout(l);l=setTimeout(function(){i(m,false)},50)})}};e.event.special.tap={setup:function(){var h=this,i=e(h);i.bind("mousedown touchstart",function(j){if(j.which&&j.which!==1||i.data("prevEvent")&&i.data("prevEvent")!==j.type){return false}i.data("prevEvent",j.type);setTimeout(function(){i.removeData("prevEvent")},800);var p=false,n=true,o=j.target,q=j.originalEvent,r=j.type=="touchstart"?[q.touches[0].pageX,q.touches[0].pageY]:[j.pageX,j.pageY],l,k;function m(t){if(t.type=="scroll"){p=true;return}var s=t.type=="touchmove"?t.originalEvent.touches[0]:t;if((Math.abs(r[0]-s.pageX)>10)||(Math.abs(r[1]-s.pageY)>10)){p=true}}k=setTimeout(function(){if(n&&!p){l=j.type;j.type="taphold";e.event.handle.call(h,j);j.type=l}},750);e(window).one("scroll",m);i.bind("mousemove touchmove",m).one("mouseup touchend",function(s){i.unbind("mousemove touchmove",m);e(window).unbind("scroll",m);clearTimeout(k);n=false;if(!p&&(o==s.target)){l=s.type;s.type="tap";e.event.handle.call(h,s);s.type=l}})})}};e.event.special.swipe={setup:function(){var h=this,i=e(h);i.bind(a,function(k){var m=k.originalEvent.touches?k.originalEvent.touches[0]:k,n={time:(new Date).getTime(),coords:[m.pageX,m.pageY],origin:e(k.target)},j;function l(o){if(!n){return}var p=o.originalEvent.touches?o.originalEvent.touches[0]:o;j={time:(new Date).getTime(),coords:[p.pageX,p.pageY]};if(Math.abs(n.coords[0]-j.coords[0])>10){o.preventDefault()}}i.bind(b,l).one(f,function(o){i.unbind(b,l);if(n&&j){if(j.time-n.time<1000&&Math.abs(n.coords[0]-j.coords[0])>30&&Math.abs(n.coords[1]-j.coords[1])<75){n.origin.trigger("swipe").trigger(n.coords[0]>j.coords[0]?"swipeleft":"swiperight")}}n=j=g})})}};(function(l){var m=l(window),h,k,j;l.event.special.orientationchange=h={setup:function(){if(l.support.orientation){return false}j=k();m.bind("resize",i)},teardown:function(){if(l.support.orientation){return false}m.unbind("resize",i)},add:function(n){var o=n.handler;n.handler=function(p){p.orientation=k();return o.apply(this,arguments)}}};function i(){var n=k();if(n!==j){j=n;m.trigger("orientationchange")}}h.orientation=k=function(){var n=document.documentElement;return n&&n.clientWidth/n.clientHeight<1.1?"portrait":"landscape"}})(jQuery);e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(i,h){e.event.special[i]={setup:function(){e(this).bind(h,e.noop)}}})})(jQuery);
|
11
11
|
/*
|
12
12
|
* jQuery hashchange event - v1.3 - 7/21/2010
|
13
13
|
* http://benalman.com/projects/jquery-hashchange-plugin/
|
@@ -16,7 +16,7 @@
|
|
16
16
|
* Dual licensed under the MIT and GPL licenses.
|
17
17
|
* http://benalman.com/about/license/
|
18
18
|
*/
|
19
|
-
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);
|
19
|
+
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(a,b){a.widget("mobile.page",a.mobile.widget,{options:{backBtnText:"Back",addBackBtn:true,degradeInputs:{color:false,date:false,datetime:false,"datetime-local":false,email:false,month:false,number:false,range:"number",search:true,tel:false,time:false,url:false,week:false},keepNative:null},_create:function(){var c=this.element,e=this.options;this.keepNative="[data-role='none'], [data-role='nojs']"+(e.keepNative?", "+e.keepNative:"");if(this._trigger("beforeCreate")===false){return}if(a("html").hasClass("portrait")){c.css("minHeight",(screen.availHeight>=screen.availWidth)?screen.availHeight:screen.availWidth)}else{c.css("minHeight",(screen.availHeight<=screen.availWidth)?screen.availHeight:screen.availWidth)}c.find("[data-role='page'], [data-role='content']").andSelf().each(function(){a(this).addClass("ui-"+a(this).data("role"))});c.find("[data-role='nojs']").addClass("ui-nojs");var d=c.find("[data-role]").andSelf().each(function(){var j=a(this),k=j.data("role"),i=j.data("theme");if(k==="header"||k==="footer"){j.addClass("ui-bar-"+(i||j.parent("[data-role=page]").data("theme")||"a"));j.attr("role",k==="header"?"banner":"contentinfo");var f=j.children("a"),g=f.hasClass("ui-btn-left"),h=f.hasClass("ui-btn-right");if(!g){g=f.eq(0).not(".ui-btn-right").addClass("ui-btn-left").length}if(!h){h=f.eq(1).addClass("ui-btn-right").length}if(e.addBackBtn&&k==="header"&&a.mobile.urlHistory.stack.length>0&&!g&&j.data("backbtn")!==false){a("<a href='#' class='ui-btn-left' data-rel='back' data-icon='arrow-l'>"+e.backBtnText+"</a>").prependTo(j)}j.children("h1, h2, h3, h4, h5, h6").addClass("ui-title").attr({tabindex:"0",role:"heading","aria-level":"1"})}else{if(k==="content"){if(i){j.addClass("ui-body-"+i)}j.attr("role","main")}else{if(k==="page"){j.addClass("ui-body-"+(i||"c"))}}}switch(k){case"header":case"footer":case"page":case"content":j.addClass("ui-"+k);break;case"collapsible":case"fieldcontain":case"navbar":case"listview":case"dialog":j[k]();break}});this._enhanceControls();c.find("[data-role='button'], .ui-bar > a, .ui-header > a, .ui-footer > a").not(".ui-btn").not(this.keepNative).buttonMarkup();c.find("[data-role='controlgroup']").controlgroup();c.find("a:not(.ui-btn):not(.ui-link-inherit)").not(this.keepNative).addClass("ui-link");c.fixHeaderFooter()},_enhanceControls:function(){var d=this.options;this.element.find("input").not(this.keepNative).each(function(){var h=this.getAttribute("type"),g=d.degradeInputs[h]||"text";if(d.degradeInputs[h]){a(this).replaceWith(a("<div>").html(a(this).clone()).html().replace(/type="([a-zA-Z]+)"/,"type="+g+" data-type='$1'"))}});var f=this.element.find("input, textarea, select, button"),c=f.not(this.keepNative);var e=f.filter("input[type=text]");if(e.length&&typeof e[0].autocorrect!=="undefined"){e.each(function(){this.setAttribute("autocorrect","off");this.setAttribute("autocomplete","off")})}c.filter("[type='radio'], [type='checkbox']").checkboxradio();c.filter("button, [type='button'], [type='submit'], [type='reset'], [type='image']").button();c.filter("input, textarea").not("[type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset'], [type='image'], [type='hidden']").textinput();c.filter("input, select").filter("[data-role='slider'], [data-type='range']").slider();c.filter("select:not([data-role='slider'])").selectmenu()}})})(jQuery);
|
20
20
|
/*
|
21
21
|
* jQuery Mobile v@VERSION
|
22
22
|
* http://jquerymobile.com/
|
@@ -25,4 +25,4 @@
|
|
25
25
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
26
26
|
* http://jquery.org/license
|
27
27
|
*/
|
28
|
-
(function(e,d,g){e.extend(e.mobile,{subPageUrlKey:"ui-page",nonHistorySelectors:"dialog",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",ajaxLinksEnabled:true,ajaxFormsEnabled:true,defaultTransition:"slide",loadingMessage:"loading",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",gradeA:function(){return e.support.mediaquery},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});e(d.document).trigger("mobileinit");if(!e.mobile.gradeA()){return}var f=e(d),b=e("html"),a=e("head"),c=e.mobile.loadingMessage?e('<div class="ui-loader ui-body-a ui-corner-all"><span class="ui-icon ui-icon-loading spin"></span><h1>'+e.mobile.loadingMessage+"</h1></div>"):g;b.addClass("ui-mobile ui-mobile-rendering");e.mobile.metaViewportContent?e("<meta>",{name:"viewport",content:e.mobile.metaViewportContent}).prependTo(a):g;e.extend(e.mobile,{pageLoading:function(h){if(h){b.removeClass("ui-loading")}else{if(e.mobile.loadingMessage){c.appendTo(e.mobile.pageContainer).css({top:e(d).scrollTop()+75})}b.addClass("ui-loading")}},silentScroll:function(h){e.event.special.scrollstart.enabled=false;setTimeout(function(){d.scrollTo(0,h||0)},20);setTimeout(function(){e.event.special.scrollstart.enabled=true},150)}});e(function(){var h=e("[data-role='page']");h.each(function(){e(this).attr("data-url",e(this).attr("id"))});e.mobile.startPage=e.mobile.activePage=h.first();e.mobile.pageContainer=e.mobile.startPage.parent().addClass("ui-mobile-viewport");e.mobile.pageLoading();h.page();f.trigger("hashchange",[true]);b.removeClass("ui-mobile-rendering")});f.load(e.mobile.silentScroll)})(jQuery,this);(function(h,f){var d=h(window),g=h("html"),k=h("head"),n={get:function(p){if(p==f){p=location.hash}p=p.replace(/#/,"").split("/");if(p.length){var o=p[p.length-1];if(o.indexOf(".")>-1||o==""){p.pop()}}return p.join("/")+(p.length?"/":"")},getFilePath:function(p){var o="&"+h.mobile.subPageUrlKey;return p&&p.indexOf(o)>-1?p.split(o)[0]:p},set:function(o,p){if(p){m=false}location.hash=o},origin:"",setOrigin:function(){n.origin=n.get(location.protocol+"//"+location.host+location.pathname)}},b=h.support.dynamicBaseTag?{element:h("<base>",{href:n.origin}).prependTo(k),set:function(o){b.element.attr("href",n.origin+n.get(o))},reset:function(){b.element.attr("href",n.origin)}}:f,e=null,i=[{url:location.hash.replace(/^#/,""),transition:f}],l="[tabindex],a,button:visible,select:visible,input",c=null,m=true;n.setOrigin();function j(p){var o=p.find(".ui-title:eq(0)");if(o.length){o.focus()}else{p.find(l).eq(0).focus()}}function a(o){if(!!e&&(!e.closest(".ui-page-active").length||o)){e.removeClass(h.mobile.activeBtnClass)}e=null}h.fn.animationComplete=function(o){if(h.support.cssTransitions){return h(this).one("webkitAnimationEnd",o)}else{o()}};h.mobile.updateHash=n.set;h.mobile.urlStack=i;h.mobile.changePage=function(B,y,t,z){var x=h.type(B)==="array",C=x?B[0]:h.mobile.activePage,B=x?B[1]:B,p=fileUrl=h.type(B)==="string"?B.replace(/^#/,""):null,s=f,A="get",q=false,o=null,t=(t!==f)?t:(i.length>1&&i[i.length-2].url===p);if(i.length>1&&p===i[i.length-1].url&&!x){return}if(h.type(B)==="object"&&B.url){p=B.url,s=B.data,A=B.type,q=true;if(s&&A=="get"){p+="?"+s;s=f}}if(b){b.reset()}h(window.document.activeElement).add(":focus").blur();function E(){if(y===f){y=h.mobile.defaultTransition}}if(t){var D=i.pop();if(D&&!y){y=D.transition}E()}else{E();i.push({url:p,transition:y})}function r(){var G=d.scrollTop(),K=["flip"],H=[];C.data("lastScroll",G);C.data("page")._trigger("beforehide",{nextPage:B});B.data("page")._trigger("beforeshow",{prevPage:C});function F(){h.mobile.pageLoading(true);j(B);if(z!==false&&p){n.set(p,(t!==true))}a();if(o!=null){o.remove()}h.mobile.silentScroll(B.data("lastScroll"));C.data("page")._trigger("hide",null,{nextPage:B});if(B.data("page")._trigger("show",null,{prevPage:C})!==false){h.mobile.activePage=B}}function J(L){h.mobile.pageContainer.addClass(L);H.push(L)}function I(){h.mobile.pageContainer.removeClass(H.join(" "));H=[]}if(y&&(y!=="none")){if(K.indexOf(y)>=0){J("ui-mobile-viewport-perspective")}J("ui-mobile-viewport-transitioning");C.addClass(y+" out "+(t?"reverse":""));B.addClass(h.mobile.activePageClass+" "+y+" in "+(t?"reverse":""));B.animationComplete(function(){C.add(B).removeClass("out in reverse "+y);C.removeClass(h.mobile.activePageClass);F();I()})}else{C.removeClass(h.mobile.activePageClass);B.addClass(h.mobile.activePageClass);F()}}function w(){if(c||B.data("role")=="dialog"){z=false;if(c){B.attr("data-role",c);c=null}}B.page()}if(p){B=h("[data-url='"+p+"']");fileUrl=n.getFilePath(p)}else{var u=B.attr("data-url"),v=n.getFilePath(u);if(u!=v){fileUrl=v}}if(B.length&&!q){if(fileUrl&&b){b.set(fileUrl)}w();r()}else{if(B.length){o=B}h.mobile.pageLoading();h.ajax({url:fileUrl,type:A,data:s,success:function(F){if(b){b.set(fileUrl)}var G=h("<div></div>");G.get(0).innerHTML=F;B=G.find('[data-role="page"], [data-role="dialog"]').first();if(!h.support.dynamicBaseTag){var H=n.get(fileUrl);B.find("[src],link[href]").each(function(){var J=h(this).is("[href]")?"href":"src",I=h(this).attr(J);I.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(I)){h(this).attr(J,H+I)}})}B.attr("data-url",fileUrl).appendTo(h.mobile.pageContainer);w();r()},error:function(){h.mobile.pageLoading(true);a(true);b.set(n.get());h("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</h1></div>").css({display:"block",opacity:0.96,top:h(window).scrollTop()+100}).appendTo(h.mobile.pageContainer).delay(800).fadeOut(400,function(){h(this).remove()})}})}};h("form").live("submit",function(q){if(!h.mobile.ajaxFormsEnabled){return}var p=h(this).attr("method"),o=h(this).attr("action").replace(location.protocol+"//"+location.host,"");if(/^(:?\w+:)/.test(o)){return}if(o.indexOf("/")&&o.indexOf("#")!==0){o=n.get()+o}h.mobile.changePage({url:o,type:p,data:h(this).serialize()},f,f,true);q.preventDefault()});h("a").live("click",function(q){if(!h.mobile.ajaxLinksEnabled){return}var s=h(this),p=s.attr("href").replace(location.protocol+"//"+location.host,""),r=s.is("[target]"),u=r||/^(:?\w+:)/.test(p)||s.is("[rel=external]");if(p==="#"){return false}e=s.closest(".ui-btn").addClass(h.mobile.activeBtnClass);if(u||!h.mobile.ajaxLinksEnabled){a(true);if(r){window.open(p)}else{location.href=p}}else{var t=s.data("transition"),o=s.data("back");c=s.attr("data-rel");if(p.indexOf("/")&&p.indexOf("#")!==0){p=n.get()+p}p.replace(/^#/,"");h.mobile.changePage(p,t,o)}q.preventDefault()});d.bind("hashchange",function(p,o){if(!m){m=true;return}if(h(".ui-page-active").is("[data-role="+h.mobile.nonHistorySelectors+"]")){return}var r=location.hash,q=o?false:f;if(r){h.mobile.changePage(r,q,f,false)}else{if(h.mobile.activePage.length&&h.mobile.startPage[0]!==h.mobile.activePage[0]&&!o){h.mobile.changePage(h.mobile.startPage,q,true,false)}else{h.mobile.startPage.trigger("pagebeforeshow",{prevPage:h("")});h.mobile.startPage.addClass(h.mobile.activePageClass);h.mobile.pageLoading(true);if(h.mobile.startPage.trigger("pageshow",{prevPage:h("")})!==false){j(h.mobile.startPage)}}}})})(jQuery);(function(a,b){a.widget("mobile.page",a.mobile.widget,{options:{backBtnText:"Back",addBackBtn:true,degradeInputs:{color:false,date:false,datetime:false,"datetime-local":false,email:false,month:false,number:false,range:"number",search:true,tel:false,time:false,url:false,week:false},keepNative:null},_create:function(){var c=this.element,e=this.options;this.keepNative="[data-role='none'], [data-role='nojs']"+(e.keepNative?", "+e.keepNative:"");if(this._trigger("beforeCreate")===false){return}c.find("[data-role='page'], [data-role='content']").andSelf().each(function(){a(this).addClass("ui-"+a(this).data("role"))});c.find("[data-role='nojs']").addClass("ui-nojs");var d=c.find("[data-role]").andSelf().each(function(){var j=a(this),k=j.data("role"),i=j.data("theme");if(k==="header"||k==="footer"){j.addClass("ui-bar-"+(i||j.parent("[data-role=page]").data("theme")||"a"));j.attr("role",k==="header"?"banner":"contentinfo");var f=j.children("a"),g=f.hasClass("ui-btn-left"),h=f.hasClass("ui-btn-right");if(!g){g=f.eq(0).not(".ui-btn-right").addClass("ui-btn-left").length}if(!h){h=f.eq(1).addClass("ui-btn-right").length}if(e.addBackBtn&&k==="header"&&(a.mobile.urlStack.length>1||a(".ui-page").length>1)&&!g&&!j.data("noBackBtn")){a("<a href='#' class='ui-btn-left' data-icon='arrow-l'>"+e.backBtnText+"</a>").click(function(){history.back();return false}).prependTo(j)}j.children("h1, h2, h3, h4, h5, h6").addClass("ui-title").attr({tabindex:"0",role:"heading","aria-level":"1"})}else{if(k==="content"){if(i){j.addClass("ui-body-"+i)}j.attr("role","main")}else{if(k==="page"){j.addClass("ui-body-"+(i||"c"))}}}switch(k){case"header":case"footer":case"page":case"content":j.addClass("ui-"+k);break;case"collapsible":case"fieldcontain":case"navbar":case"listview":case"dialog":j[k]();break}});this._enhanceControls();c.find("[data-role='button'], .ui-bar > a, .ui-header > a, .ui-footer > a").not(".ui-btn").not(this.keepNative).buttonMarkup();c.find("[data-role='controlgroup']").controlgroup();c.find("a:not(.ui-btn):not(.ui-link-inherit)").not(this.keepNative).addClass("ui-link");c.fixHeaderFooter()},_enhanceControls:function(){var c=this.options;this.element.find("input").not(this.keepNative).each(function(){var e=this.getAttribute("type"),d=c.degradeInputs[e]||"text";if(c.degradeInputs[e]){a(this).replaceWith(a("<div>").html(a(this).clone()).html().replace(/type="([a-zA-Z]+)"/,"type="+d+" data-type='$1'"))}});this.element.find("[type='radio'], [type='checkbox']").not(this.keepNative).checkboxradio();this.element.find("button, [type='button'], [type='submit'], [type='reset'], [type='image']").not(this.keepNative).button();this.element.find("input, textarea").not("[type='radio'], [type='checkbox'], button, [type='button'], [type='submit'], [type='reset'], [type='image']").not(this.keepNative).textinput();this.element.find("input, select").not(this.keepNative).filter("[data-role='slider'], [data-type='range']").slider();this.element.find("select:not([data-role='slider'])").not(this.keepNative).selectmenu()}})})(jQuery);(function(f,g){f.ui=f.ui||{};var d=/left|center|right/,e=/top|center|bottom/,a="center",b=f.fn.position,c=f.fn.offset;f.fn.position=function(i){if(!i||!i.of){return b.apply(this,arguments)}i=f.extend({},i);var m=f(i.of),l=m[0],o=(i.collision||"flip").split(" "),n=i.offset?i.offset.split(" "):[0,0],k,h,j;if(l.nodeType===9){k=m.width();h=m.height();j={top:0,left:0}}else{if(l.setTimeout){k=m.width();h=m.height();j={top:m.scrollTop(),left:m.scrollLeft()}}else{if(l.preventDefault){i.at="left top";k=h=0;j={top:i.of.pageY,left:i.of.pageX}}else{k=m.outerWidth();h=m.outerHeight();j=m.offset()}}}f.each(["my","at"],function(){var p=(i[this]||"").split(" ");if(p.length===1){p=d.test(p[0])?p.concat([a]):e.test(p[0])?[a].concat(p):[a,a]}p[0]=d.test(p[0])?p[0]:a;p[1]=e.test(p[1])?p[1]:a;i[this]=p});if(o.length===1){o[1]=o[0]}n[0]=parseInt(n[0],10)||0;if(n.length===1){n[1]=n[0]}n[1]=parseInt(n[1],10)||0;if(i.at[0]==="right"){j.left+=k}else{if(i.at[0]===a){j.left+=k/2}}if(i.at[1]==="bottom"){j.top+=h}else{if(i.at[1]===a){j.top+=h/2}}j.left+=n[0];j.top+=n[1];return this.each(function(){var s=f(this),u=s.outerWidth(),r=s.outerHeight(),t=parseInt(f.curCSS(this,"marginLeft",true))||0,q=parseInt(f.curCSS(this,"marginTop",true))||0,w=u+t+parseInt(f.curCSS(this,"marginRight",true))||0,x=r+q+parseInt(f.curCSS(this,"marginBottom",true))||0,v=f.extend({},j),p;if(i.my[0]==="right"){v.left-=u}else{if(i.my[0]===a){v.left-=u/2}}if(i.my[1]==="bottom"){v.top-=r}else{if(i.my[1]===a){v.top-=r/2}}v.left=parseInt(v.left);v.top=parseInt(v.top);p={left:v.left-t,top:v.top-q};f.each(["left","top"],function(z,y){if(f.ui.position[o[z]]){f.ui.position[o[z]][y](v,{targetWidth:k,targetHeight:h,elemWidth:u,elemHeight:r,collisionPosition:p,collisionWidth:w,collisionHeight:x,offset:n,my:i.my,at:i.at})}});if(f.fn.bgiframe){s.bgiframe()}s.offset(f.extend(v,{using:i.using}))})};f.ui.position={fit:{left:function(h,i){var k=f(window),j=i.collisionPosition.left+i.collisionWidth-k.width()-k.scrollLeft();h.left=j>0?h.left-j:Math.max(h.left-i.collisionPosition.left,h.left)},top:function(h,i){var k=f(window),j=i.collisionPosition.top+i.collisionHeight-k.height()-k.scrollTop();h.top=j>0?h.top-j:Math.max(h.top-i.collisionPosition.top,h.top)}},flip:{left:function(i,k){if(k.at[0]===a){return}var m=f(window),l=k.collisionPosition.left+k.collisionWidth-m.width()-m.scrollLeft(),h=k.my[0]==="left"?-k.elemWidth:k.my[0]==="right"?k.elemWidth:0,j=k.at[0]==="left"?k.targetWidth:-k.targetWidth,n=-2*k.offset[0];i.left+=k.collisionPosition.left<0?h+j+n:l>0?h+j+n:0},top:function(i,k){if(k.at[1]===a){return}var m=f(window),l=k.collisionPosition.top+k.collisionHeight-m.height()-m.scrollTop(),h=k.my[1]==="top"?-k.elemHeight:k.my[1]==="bottom"?k.elemHeight:0,j=k.at[1]==="top"?k.targetHeight:-k.targetHeight,n=-2*k.offset[1];i.top+=k.collisionPosition.top<0?h+j+n:l>0?h+j+n:0}}};if(!f.offset.setOffset){f.offset.setOffset=function(l,i){if(/static/.test(f.curCSS(l,"position"))){l.style.position="relative"}var k=f(l),n=k.offset(),h=parseInt(f.curCSS(l,"top",true),10)||0,m=parseInt(f.curCSS(l,"left",true),10)||0,j={top:(i.top-n.top)+h,left:(i.left-n.left)+m};if("using" in i){i.using.call(l,j)}else{k.css(j)}};f.fn.offset=function(h){var i=this[0];if(!i||!i.ownerDocument){return null}if(h){return this.each(function(){f.offset.setOffset(this,h)})}return c.call(this)}}}(jQuery));(function(a,b){a.fn.fixHeaderFooter=function(c){if(!a.support.scrollTop){return a(this)}return a(this).each(function(){if(a(this).data("fullscreen")){a(this).addClass("ui-page-fullscreen")}a(this).find('.ui-header[data-position="fixed"]').addClass("ui-header-fixed ui-fixed-inline fade");a(this).find('.ui-footer[data-position="fixed"]').addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var e="inline",d,l="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",m=".ui-header-fixed:first, .ui-footer-fixed:not(.ui-footer-duplicate):last",k,g=a.support.touch,n=g?"touchstart":"mousedown",i=g?"touchend":"mouseup",f=null,h=false,c=true;a(function(){a(document).bind(n,function(p){if(c){if(a(p.target).closest(l).length){return}f=e}}).bind("scrollstart",function(p){if(a(p.target).closest(l).length){return}h=true;if(f==null){f=e}if(f=="overlay"){a.fixedToolbars.hide(true)}}).bind(i,function(p){if(c){if(a(p.target).closest(l).length){return}if(!h){a.fixedToolbars.toggle(f);f=null}}}).bind("scrollstop",function(p){if(a(p.target).closest(l).length){return}h=false;if(f=="overlay"){a.fixedToolbars.show()}f=null})});a(".ui-page").live("pagebeforeshow",function(p,r){var q=a(p.target);var t=q.find('[data-role="footer"]:not(.ui-sticky-footer)');var s=t.data("id");if(s){k=a('.ui-footer[data-id="'+s+'"].ui-sticky-footer');if(k.length==0){k=t;t=k.clone();k.addClass("ui-sticky-footer").before(t)}t.addClass("ui-footer-duplicate");k.appendTo(a.pageContainer).css("top",0);o(k)}});a(".ui-page").live("pageshow",function(p,q){if(k&&k.length){k.appendTo(p.target).css("top",0)}a.fixedToolbars.show(true,this)});function j(q){var r=0;if(q){var s=q.offsetParent,p=document.body;r=q.offsetTop;while(q&&q!=p){r+=q.scrollTop||0;if(q==s){r+=s.offsetTop;s=q.offsetParent}q=q.parentNode}}return r}function o(t){var p=a(window).scrollTop(),u=j(t[0]),s=t.css("top")=="auto"?0:parseFloat(t.css("top")),w=window.innerHeight,v=t.outerHeight(),r=t.parents(".ui-page:not(.ui-page-fullscreen)").length,q;if(t.is(".ui-header-fixed")){q=p-u+s;if(q<u){q=0}return t.css("top",(r)?q:p)}else{q=p+w-v-(u-s);return t.css("top",(r)?q:p+w-v)}}return{show:function(p,r){e="overlay";var q=r?a(r):(a.mobile.activePage?a.mobile.activePage:a(".ui-page-active"));return q.children(m).each(function(){var u=a(this),s=a(window).scrollTop(),v=j(u[0]),x=window.innerHeight,w=u.outerHeight(),t=(u.is(".ui-header-fixed")&&s<=v+w)||(u.is(".ui-footer-fixed")&&v<=s+x);u.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!t&&!p){u.animationComplete(function(){u.removeClass("in")}).addClass("in")}o(u)})},hide:function(p){e="inline";var q=a.mobile.activePage?a.mobile.activePage:a(".ui-page-active");return q.children(m).each(function(){var t=a(this);var s=t.css("top");s=s=="auto"?0:parseFloat(s);t.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(s<0||(t.is(".ui-header-fixed")&&s!=0)){if(p){t.css("top",0)}else{if(t.css("top")!=="auto"&&parseFloat(t.css("top"))!==0){var r="out reverse";t.animationComplete(function(){t.removeClass(r);t.css("top",0)}).addClass(r)}}}})},hideAfterDelay:function(){d=setTimeout(function(){a.fixedToolbars.hide()},3000)},toggle:function(p){if(p){e=p}return(e=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()},setTouchToggleEnabled:function(p){c=p}}})()})(jQuery);(function(a,b){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:null},_create:function(){var c=this.element,e=a("label[for='"+c.attr("id")+"']"),g=c.attr("type"),f="ui-icon-"+g+"-on",d="ui-icon-"+g+"-off";if(g!="checkbox"&&g!="radio"){return}if(!this.options.theme){this.options.theme=this.element.data("theme")}e.buttonMarkup({theme:this.options.theme,icon:this.element.parents("[data-type='horizontal']").length?b:d,shadow:false});c.add(e).wrapAll("<div class='ui-"+g+"'></div>");e.bind({mouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},mousedown:function(){if(a(this).parent().is(".ui-disabled")){return false}e.data("state",c.attr("checked"))},click:function(){setTimeout(function(){if(c.attr("checked")===e.data("state")){c.trigger("click")}},1)}});c.bind({click:function(){a("input[name='"+c.attr("name")+"'][type='"+g+"']").checkboxradio("refresh")},focus:function(){e.addClass("ui-focus")},blur:function(){e.removeClass("ui-focus")}});this.refresh()},refresh:function(){var c=this.element,e=a("label[for='"+c.attr("id")+"']"),h=c.attr("type"),g=e.find(".ui-icon"),f="ui-icon-"+h+"-on",d="ui-icon-"+h+"-off";if(c[0].checked){e.addClass("ui-btn-active");g.addClass(f);g.removeClass(d)}else{e.removeClass("ui-btn-active");g.removeClass(f);g.addClass(d)}if(c.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.textinput",a.mobile.widget,{options:{theme:null},_create:function(){var k=this.element,e=this.options,h=e.theme,n;if(!h){var f=this.element.closest("[class*='ui-bar-'],[class*='ui-body-']");h=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}n=" ui-body-"+h;a("label[for="+k.attr("id")+"]").addClass("ui-input-text");k.addClass("ui-input-text ui-body-"+e.theme);var i=k;if(k.is('[type="search"],[data-type="search"]')){i=k.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-search'+n+'"></div>').parent();var l=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').click(function(){k.val("").focus();k.trigger("change");l.addClass("ui-input-clear-hidden");return false}).appendTo(i).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function d(){if(k.val()==""){l.addClass("ui-input-clear-hidden")}else{l.removeClass("ui-input-clear-hidden")}}d();k.keyup(d)}else{k.addClass("ui-corner-all ui-shadow-inset"+n)}k.focus(function(){i.addClass("ui-focus")}).blur(function(){i.removeClass("ui-focus")});if(k.is("textarea")){var g=15,j=100,c=function(){var p=k[0].scrollHeight,o=k[0].clientHeight;if(o<p){k.css({height:(p+g)})}},m;k.keyup(function(){clearTimeout(m);m=setTimeout(c,j)})}},disable:function(){(this.element.attr("disabled",true).is('[type="search"],[data-type="search"]')?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is('[type="search"],[data-type="search"]')?this.element.parent():this.element).removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.selectmenu",a.mobile.widget,{options:{theme:null,disabled:false,icon:"arrow-d",iconpos:"right",inline:null,corners:true,shadow:true,iconshadow:true,menuPageTheme:"b",overlayTheme:"a",hidePlaceholderMenuItems:true,closeText:"Close"},_create:function(){var q=this,t=this.options,s=this.element.attr("tabindex","-1").wrap("<div class='ui-select'>"),w=s.attr("id"),j=q.isMultiple=s[0].multiple,h=s.find("option"),m=a("label[for="+w+"]").addClass("ui-select"),l=w+"-button",n=w+"-menu",c=s.closest(".ui-page"),d=a("<a>",{href:"#",role:"button",id:l,"aria-haspopup":"true","aria-owns":n}).text(a(s[0].options.item(s[0].selectedIndex)).text()).insertBefore(s).buttonMarkup({theme:t.theme,icon:t.icon,iconpos:t.iconpos,inline:t.inline,corners:t.corners,shadow:t.shadow,iconshadow:t.iconshadow}),y=/ui-btn-up-([a-z])/.exec(d.attr("class"))[1],r=a("<div data-role='dialog' data-theme='"+t.menuPageTheme+"'><div data-role='header'><div class='ui-title'>"+m.text()+"</div></div><div data-role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),i=r.find(".ui-content"),g=r.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),e=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+t.overlayTheme}).insertAfter(f),x=a("<ul>",{"class":"ui-selectmenu-list",id:n,role:"listbox","aria-labelledby":l,"data-theme":y}).appendTo(e),v=a("<div>",{"data-role":"header","data-nobackbtn":true}).prependTo(e),u=a("<h1>").appendTo(v),k=a("<a>",{"data-iconpos":"notext","data-icon":"delete",text:t.closeText,href:"#"}).appendTo(v),p;if(j){q.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(d)}a.extend(q,{select:s,selectID:w,label:m,buttonId:l,menuId:n,thisPage:c,button:d,menuPage:r,menuPageContent:i,screen:f,listbox:e,list:x,menuType:p,header:v,headerClose:k,headerTitle:u,placeholder:""});q.refresh();if(t.disabled){this.disable()}s.change(function(){q.refresh()}).focus(function(){a(this).blur();d.focus()});d.bind(a.support.touch?"touchstart":"click",function(o){q.open();o.preventDefault()});x.delegate("li:not(.ui-disabled, .ui-li-divider)","click",function(A){if(!a(A.target).is("a")){return}var o=x.find("li:not(.ui-li-divider)").index(this),z=h.eq(o)[0];z.selected=j?!z.selected:true;if(j){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",z.selected).toggleClass("ui-icon-checkbox-off",!z.selected)}s.trigger("change");if(!j){q.close()}A.preventDefault()});f.add(k).add(g).click(function(o){q.close();o.preventDefault();if(a.contains(g[0],o.target)){o.stopImmediatePropagation()}})},_buildList:function(){var d=this,c=[],f=this.options,e=this.placeholder;d.list.empty().filter(".ui-listview").listview("destroy");d.select.find("option").each(function(j){var m=a(this),l=m.parent(),n=m.text();if(l.is("optgroup")){var h=l.attr("label");if(a.inArray(h,c)===-1){a("<li>",{"data-role":"list-divider",text:h}).appendTo(d.list);c.push(h)}}var g=a("<a>",{role:"",href:"#",text:n}),k=a("<li>",{"data-icon":false});if(!this.getAttribute("value")||n.length==0||m.data("placeholder")){if(f.hidePlaceholderMenuItems){k.addClass("ui-selectmenu-placeholder")}e=d.placeholder=n}if(d.isMultiple){k.data("icon","checkbox-off")}if(this.disabled){k.addClass("ui-disabled").attr("aria-disabled",true)}k.append(g).appendTo(d.list)});if(!this.isMultiple){this.headerClose.hide()}if(!this.isMultiple&&!e.length){this.header.hide()}else{this.headerTitle.text(this.placeholder)}d.list.listview()},refresh:function(g){var d=this,c=this.element,h=this.isMultiple,e=c.find("option"),f=e.filter(":selected"),i=f.map(function(){return e.index(this)}).get();if(g||c[0].options.length>d.list.find("li").length){d._buildList()}d.button.find(".ui-btn-text").text(function(){if(!h){return f.text()}return f.length?f.map(function(){return a(this).text()}).get().join(", "):d.placeholder});if(h){d.buttonCount[f.length>1?"show":"hide"]().text(f.length)}d.list.find("li:not(.ui-li-divider)").removeClass(a.mobile.activeBtnClass).attr("aria-selected",false).each(function(j){if(a.inArray(j,i)>-1){var k=a(this).addClass(a.mobile.activeBtnClass);k.find("a").attr("aria-selected",true);if(h){k.find(".ui-icon").removeClass("ui-icon-checkbox-off").addClass("ui-icon-checkbox-on")}}})},open:function(){if(this.options.disabled){return}var d=this,j=d.list.outerHeight(),f=d.list.outerWidth(),g=a(window).scrollTop(),i=d.button.offset().top,h=window.innerHeight,e=window.innerWidth;d.button.addClass(a.mobile.activeBtnClass);function c(){d.list.find(".ui-btn-active").focus()}if(j>h-80||!a.support.scrollTop){if(g==0&&i>h){d.thisPage.one("pagehide",function(){a(this).data("lastScroll",i)})}d.menuPage.one("pageshow",c);d.menuType="page";d.menuPageContent.append(d.list);a.mobile.changePage(d.menuPage,"pop",false,false)}else{d.menuType="overlay";d.screen.height(a(document).height()).removeClass("ui-screen-hidden");d.listbox.append(d.list).removeClass("ui-selectmenu-hidden").position({my:"center center",at:"center center",of:d.button,collision:"fit"}).addClass("in");c()}},close:function(){if(this.options.disabled){return}var c=this;function d(){setTimeout(function(){c.button.focus();c.button.removeClass(a.mobile.activeBtnClass)},40);c.listbox.removeAttr("style").append(c.list)}if(c.menuType=="page"){a.mobile.changePage([c.menuPage,c.thisPage],"pop",true,false);c.menuPage.one("pagehide",d)}else{c.screen.addClass("ui-screen-hidden");c.listbox.addClass("ui-selectmenu-hidden").removeAttr("style").removeClass("in");d()}},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)}})})(jQuery);(function(b,c){b.fn.buttonMarkup=function(d){return this.each(function(){var j=b(this),k=b.extend({},b.fn.buttonMarkup.defaults,j.data(),d),f,h="ui-btn-inner",e;if(a){a()}if(!k.theme){var g=j.closest("[class*='ui-bar-'],[class*='ui-body-']");k.theme=g.length?/ui-(bar|body)-([a-z])/.exec(g.attr("class"))[2]:"c"}f="ui-btn ui-btn-up-"+k.theme;if(k.inline){f+=" ui-btn-inline"}if(k.icon){k.icon="ui-icon-"+k.icon;k.iconpos=k.iconpos||"left";e="ui-icon "+k.icon;if(k.shadow){e+=" ui-icon-shadow"}}if(k.iconpos){f+=" ui-btn-icon-"+k.iconpos;if(k.iconpos=="notext"&&!j.attr("title")){j.attr("title",j.text())}}if(k.corners){f+=" ui-btn-corner-all";h+=" ui-btn-corner-all"}if(k.shadow){f+=" ui-shadow"}j.attr("data-theme",k.theme).addClass(f);var i=("<D class='"+h+"'><D class='ui-btn-text'></D>"+(k.icon?"<span class='"+e+"'></span>":"")+"</D>").replace(/D/g,k.wrapperEls);j.wrapInner(i)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};var a=function(){b(".ui-btn:not(.ui-disabled)").live({mousedown:function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-down-"+d)},mouseup:function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-down-"+d).addClass("ui-btn-up-"+d)},"mouseover focus":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-hover-"+d)},"mouseout blur":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-hover-"+d).addClass("ui-btn-up-"+d)}});a=null}})(jQuery);(function(a,b){a.widget("mobile.button",a.mobile.widget,{options:{theme:null,icon:null,iconpos:null,inline:null,corners:true,shadow:true,iconshadow:true},_create:function(){var c=this.element,d=this.options;this.button=a("<div></div>").text(c.text()||c.val()).buttonMarkup({theme:d.theme,icon:d.icon,iconpos:d.iconpos,inline:d.inline,corners:d.corners,shadow:d.shadow,iconshadow:d.iconshadow}).insertBefore(c).append(c.addClass("ui-btn-hidden"));if(c.attr("type")!=="reset"){c.click(function(){var e=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){e.remove()})})}},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.slider",a.mobile.widget,{options:{theme:null,trackTheme:null,disabled:false},_create:function(){var j=this,g=this.element,n=g.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),n=n.length?n.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c",r=this.options.theme?this.options.theme:n,k=this.options.trackTheme?this.options.trackTheme:n,h=g[0].nodeName.toLowerCase(),p=(h=="select")?"ui-slider-switch":"",d=g.attr("id"),i=d+"-label",f=a("[for="+d+"]").attr("id",i),t=(h=="input")?parseFloat(g.val()):g[0].selectedIndex,m=(h=="input")?parseFloat(g.attr("min")):0,o=(h=="input")?parseFloat(g.attr("max")):g.find("option").length-1,e=window.parseFloat(g.attr("data-step")||1),l=a('<div class="ui-slider '+p+" ui-btn-down-"+k+' ui-btn-corner-all" role="application"></div>'),q=a('<a href="#" class="ui-slider-handle"></a>').appendTo(l).buttonMarkup({corners:true,theme:r,shadow:true}).attr({role:"slider","aria-valuemin":m,"aria-valuemax":o,"aria-valuenow":t,"aria-valuetext":t,title:t,"aria-labelledby":i}),s={off:0,on:1};a.extend(this,{slider:l,handle:q,dragging:false,beforeStart:null});if(h=="select"){l.wrapInner('<div class="ui-slider-inneroffset"></div>');var c=g.find("option");g.find("option").each(function(w){var v=(w==0)?"b":"a",u=(w==0)?"right":"left",x=(w==0)?" ui-btn-down-"+k:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+v+x+" ui-btn-corner-"+u+'"></div>').prependTo(l);a('<span class="ui-slider-label ui-slider-label-'+v+x+" ui-btn-corner-"+u+'" role="img">'+a(this).text()+"</span>").prependTo(q)})}f.addClass("ui-slider");g.addClass((h=="input")?"ui-slider-input":"ui-slider-switch").keyup(function(){j.refresh(a(this).val())});a(document).bind(a.support.touch?"touchmove":"mousemove",function(u){if(j.dragging){j.refresh(u);return false}});l.bind(a.support.touch?"touchstart":"mousedown",function(u){j.dragging=true;if(h==="select"){j.beforeStart=g[0].selectedIndex}j.refresh(u);return false});l.add(document).bind(a.support.touch?"touchend":"mouseup",function(){if(j.dragging){j.dragging=false;if(h==="select"){if(j.beforeStart===g[0].selectedIndex){j.refresh(j.beforeStart===0?1:0)}var v=(h==="input")?parseFloat(g.val()):g[0].selectedIndex;var u=Math.round(v/(o-m)*100);q.addClass("ui-slider-handle-snapping").css("left",u+"%").animationComplete(function(){q.removeClass("ui-slider-handle-snapping")})}return false}});l.insertAfter(g);this.handle.bind(a.support.touch?"touchstart":"mousedown",function(){a(this).focus()});this.handle.bind("keydown",function(v){var w=a(this).attr("aria-valuenow"),u;if(j.options.disabled){return}if(w.match(/off|on/)){w=s[w]}u=window.parseFloat(w,10);switch(v.keyCode){case a.mobile.keyCode.HOME:case a.mobile.keyCode.END:case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:v.preventDefault();if(!j._keySliding){j._keySliding=true;a(this).addClass("ui-state-active")}break}switch(v.keyCode){case a.mobile.keyCode.HOME:j.refresh(m);break;case a.mobile.keyCode.END:j.refresh(o);break;case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:j.refresh(u+e);break;case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:j.refresh(u-e);break}}).keyup(function(u){if(j._keySliding){j._keySliding=false;a(this).removeClass("ui-state-active")}});this.refresh()},refresh:function(d){if(this.options.disabled){return}var f=this.element,i,h=f[0].nodeName.toLowerCase(),e=(h==="input")?parseFloat(f.attr("min")):0,j=(h==="input")?parseFloat(f.attr("max")):f.find("option").length-1;if(typeof d==="object"){var g=d.originalEvent.touches?d.originalEvent.touches[0]:d,k=8;if(!this.dragging||g.pageX<this.slider.offset().left-k||g.pageX>this.slider.offset().left+this.slider.width()+k){return}i=Math.round(((g.pageX-this.slider.offset().left)/this.slider.width())*100)}else{if(d==null){d=(h==="input")?parseFloat(f.val()):f[0].selectedIndex}i=(parseFloat(d)-e)/(j-e)*100}if(isNaN(i)){return}if(i<0){i=0}if(i>100){i=100}var c=Math.round((i/100)*(j-e))+e;if(c<e){c=e}if(c>j){c=j}if(i>60&&h==="select"){}this.handle.css("left",i+"%");this.handle.attr({"aria-valuenow":(h==="input")?c:f.find("option").eq(c).attr("value"),"aria-valuetext":(h==="input")?c:f.find("option").eq(c).text(),title:c});if(h==="select"){if(c===0){this.slider.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{this.slider.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}if(h==="input"){f.val(c)}else{f[0].selectedIndex=c}f.trigger("change")},enable:function(){this.element.attr("disabled",false);this.slider.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.slider.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.collapsible",a.mobile.widget,{options:{expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:false,heading:">:header,>legend",theme:null,iconTheme:"d"},_create:function(){var e=this.element,f=this.options,c=e.addClass("ui-collapsible-contain"),d=e.find(f.heading).eq(0),i=c.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),h=e.closest('[data-role="collapsible-set"]').addClass("ui-collapsible-set");if(d.is("legend")){d=a('<div role="heading">'+d.html()+"</div>").insertBefore(d);d.next().remove()}d.insertBefore(i);d.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!h.length,corners:false,iconPos:"left",icon:"plus",theme:f.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:f.iconTheme});if(!h.length){d.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}c.bind("collapse",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.expandCueText);d.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");i.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.collapseCueText);d.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");i.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.data("collapsiblebound")){h.data("collapsiblebound",true).bind("expand",function(j){a(this).find(".ui-collapsible-contain").not(a(j.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var g=h.find("[data-role=collapsible]");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().data("collapsible-last",true)}d.bind(a.support.touch?"touchstart":"click",function(){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return a(this).each(function(){var g=a.extend({direction:a(this).data("type")||"vertical",shadow:false},c);var h=a(this).find(">legend"),d=g.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],e=a(this).find("input:eq(0)").attr("type");if(h.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+h.html()+"</div>").insertBefore(a(this).children(0));h.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+g.direction);function f(i){i.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(d[0]).end().filter(":last").addClass(d[1]).addClass("ui-controlgroup-last")}f(a(this).find(".ui-btn"));f(a(this).find(".ui-btn-inner"));if(g.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a,b){a.fn.fieldcontain=function(c){return a(this).addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a,b){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var c=this.element,d=this.options;c.addClass("ui-listview").attr("role","listbox");if(d.inset){c.addClass("ui-listview-inset ui-corner-all ui-shadow")}c.delegate(".ui-li","focusin",function(){a(this).attr("tabindex","0")});this._itemApply(c,c);this.refresh(true);c.keydown(function(k){var j=a(k.target),f=j.closest("li");switch(k.keyCode){case 38:var i=f.prev();if(i.length){j.blur().attr("tabindex","-1");i.find("a").first().focus()}return false;break;case 40:var h=f.next();if(h.length){j.blur().attr("tabindex","-1");h.find("a").first().focus()}return false;break;case 39:var g=f.find("a.ui-li-link-alt");if(g.length){j.blur();g.first().focus()}return false;break;case 37:var g=f.find("a.ui-link-inherit");if(g.length){j.blur();g.first().focus()}return false;break;case 13:case 32:j.trigger("click");return false;break}});c.delegate("li","click",function(e){if(!a(e.target).closest("a").length){a(this).find("a").first().trigger("click");return false}})},_itemApply:function(d,e){e.find(".ui-li-count").addClass("ui-btn-up-"+(d.data("counttheme")||this.options.countTheme)+" ui-btn-corner-all");e.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");e.find("p, dl").addClass("ui-li-desc");e.find("img").addClass("ui-li-thumb").each(function(){a(this).closest("li").addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});var c=e.find(".ui-li-aside");if(c.length){c.each(function(f,g){a(g).prependTo(a(g).parent())})}if(a.support.cssPseudoElement||!a.nodeName(e[0],"ol")){return}},_removeCorners:function(c){c.add(c.find(".ui-btn-inner, .ui-li-link-alt, .ui-li-thumb")).removeClass("ui-corner-top ui-corner-bottom ui-corner-br ui-corner-bl ui-corner-tr ui-corner-tl")},refresh:function(g){this._createSubPages();var i=this.options,f=this.element,e=this,h=f.data("dividertheme")||i.dividerTheme,c=f.children("li"),d=a.support.cssPseudoElement||!a.nodeName(f[0],"ol")?0:1;if(d){f.find(".ui-li-dec").remove()}c.attr({role:"option",tabindex:"-1"});c.first().attr("tabindex","0");c.each(function(p){var n=a(this),o="ui-li";if(!g&&n.hasClass("ui-li")){return}var j=n.find("a");if(j.length){var l=n.data("icon");n.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:j.length>1||l===false?false:l||"arrow-r",theme:i.theme});j.first().addClass("ui-link-inherit");if(j.length>1){o+=" ui-li-has-alt";var m=j.last(),k=f.data("splittheme")||m.data("theme")||i.splitTheme;m.attr("title",m.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:i.theme,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:k,iconpos:"notext",icon:f.data("spliticon")||m.data("icon")||i.splitIcon}))}}else{if(n.data("role")==="list-divider"){o+=" ui-li-divider ui-btn ui-bar-"+h;n.attr("role","heading");if(d){d=1}}else{o+=" ui-li-static ui-btn-up-"+i.theme}}if(i.inset){if(p===0){o+=" ui-corner-top";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(n.next().next().length){e._removeCorners(n.next())}}else{if(p===c.length-1){o+=" ui-corner-bottom";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(n.prev().prev().length){e._removeCorners(n.prev())}}}}if(d&&o.indexOf("ui-li-divider")<0){n.find(".ui-link-inherit").first().addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(d++)+". </span>")}n.addClass(o);if(!g){e._itemApply(f,n)}})},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var d=this.element,c=d.closest(".ui-page"),h=c.data("url"),g=this.options,e=this,f=c.find("[data-role='footer']").data("id");a(d.find("ul, ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),q=a.trim(r.contents()[0].nodeValue.split("\n")[0])||r.find("a:first").text(),j=h+"&"+a.mobile.subPageUrlKey+"="+e._idStringEscape(q+" "+o),n=p.data("theme")||g.theme,k=p.data("counttheme")||d.data("counttheme")||g.countTheme,l=p.wrap("<div data-role='page'><div data-role='content'></div></div>").parent().before("<div data-role='header' data-theme='"+g.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(f?a("<div>",{"data-role":"footer","data-id":f,"class":"ui-footer-duplicate"}):"").parent().attr({"data-url":j,"data-theme":n,"data-count-theme":k}).appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a></a>").html(q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a("[data-role='listview']").live("listviewcreate",function(){var e=a(this),d=e.data("listview");if(!d.options.filter){return}var f=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),c=a("<input>",{placeholder:"Filter results...","data-type":"search"}).bind("keyup change",function(){var g=this.value.toLowerCase();e.children().show();if(g){e.children().filter(function(){return a(this).text().toLowerCase().indexOf(g)===-1}).hide()}}).appendTo(f).textinput();f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{},_create:function(){var d=this,e=d.element,c=a.mobile.activePage,f=a('<a href="#" data-icon="delete" data-iconpos="notext">Close</a>');e.delegate("a, form","click submit",function(g){if(g.type=="click"&&(a(g.target).closest("[data-back]")[0]||this==f[0])){d.close();return false}a.mobile.activePage=d.element});this.element.bind("pageshow",function(){return false}).attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find("[data-role=header]").addClass("ui-corner-top ui-overlay-shadow").prepend(f).end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,[data-role=footer]").last().addClass("ui-corner-bottom ui-overlay-shadow");a(window).bind("hashchange",function(){if(e.is(".ui-page-active")){d.close();e.bind("pagehide",function(){a.mobile.updateHash(c.attr("data-url"),true)})}})},close:function(){a.mobile.changePage([this.element,a.mobile.activePage],b,true,true)}})})(jQuery);(function(a,b){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top",grid:null},_create:function(){var e=this.element,c=e.find("a"),d=c.filter("[data-icon]").length?this.options.iconpos:b;e.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:this.options.grid});if(!d){e.addClass("ui-navbar-noicons")}c.buttonMarkup({corners:false,shadow:false,iconpos:d});e.delegate("a","click",function(f){c.removeClass("ui-btn-active")})}})})(jQuery);(function(a,b){a.fn.grid=function(c){return a(this).each(function(){var h=a.extend({grid:null},c);var i=a(this).children(),f={a:2,b:3,c:4,d:5},d=h.grid,e;if(!d){if(i.length<=5){for(var g in f){if(f[g]==i.length){d=g}}}else{d="a"}}e=f[d];a(this).addClass("ui-grid-"+d);i.filter(":nth-child("+e+"n+1)").addClass("ui-block-a");i.filter(":nth-child("+e+"n+2)").addClass("ui-block-b");if(e>2){i.filter(":nth-child(3n+3)").addClass("ui-block-c")}if(e>3){i.filter(":nth-child(4n+4)").addClass("ui-block-d")}if(e>4){i.filter(":nth-child(5n+5)").addClass("ui-block-e")}})}})(jQuery);(function(a){a.themeswitcher=function(){if(a("[data-url=themeswitcher]").length){return}var c="/stylesheets/compiled/jquery/mobile/",b=["default","valencia"],d=a.mobile.activePage,e=a("<div data-url=\"themeswitcher\" data-role='dialog' data-theme='a'><div data-role='header' data-theme='b'><div class='ui-title'>Switch Theme:</div></div><div data-role='content' data-theme='c'><ul data-role='listview' data-inset='true'></ul></div></div>").appendTo(a.mobile.pageContainer),g=e.find("ul");a.each(b,function(h){a("<li><a href='#'>"+b[h].charAt(0).toUpperCase()+b[h].substr(1)+"</a></li>").click(function(){f(b[h]);e.dialog("close")}).appendTo(g)});function f(h){a("head").append("<link rel='stylesheet' href='"+c+h+".css' />")}e.page()}})(jQuery);
|
28
|
+
(function(e,d,g){e.extend(e.mobile,{subPageUrlKey:"ui-page",nonHistorySelectors:"dialog",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",ajaxEnabled:true,ajaxLinksEnabled:true,ajaxFormsEnabled:true,defaultTransition:"slide",loadingMessage:"loading",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",nativeSelectMenus:false,gradeA:function(){return e.support.mediaquery},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});e(d.document).trigger("mobileinit");if(!e.mobile.gradeA()){return}var f=e(d),b=e("html"),a=e("head"),c=e.mobile.loadingMessage?e('<div class="ui-loader ui-body-a ui-corner-all"><span class="ui-icon ui-icon-loading spin"></span><h1>'+e.mobile.loadingMessage+"</h1></div>"):g;b.addClass("ui-mobile ui-mobile-rendering");e.mobile.metaViewportContent?e("<meta>",{name:"viewport",content:e.mobile.metaViewportContent}).prependTo(a):g;e.extend(e.mobile,{pageLoading:function(h){if(h){b.removeClass("ui-loading")}else{if(e.mobile.loadingMessage){var j=e("."+e.mobile.activeBtnClass).eq(0),i=j.length?j.offset().top:e(d).scrollTop()+75;c.appendTo(e.mobile.pageContainer).css({top:i})}b.addClass("ui-loading")}},silentScroll:function(h){h=h||0;e.event.special.scrollstart.enabled=false;setTimeout(function(){d.scrollTo(0,h);e(document).trigger("silentscroll",{x:0,y:h})},20);setTimeout(function(){e.event.special.scrollstart.enabled=true},150)}});e(function(){var h=e("[data-role='page']");e("[data-role='page'], [data-role='dialog']").each(function(){e(this).attr("data-url",e(this).attr("id"))});e.mobile.startPage=e.mobile.activePage=h.first();e.mobile.pageContainer=e.mobile.startPage.parent().addClass("ui-mobile-viewport");e.mobile.pageLoading();h.page();f.trigger("hashchange",[true]);b.removeClass("ui-mobile-rendering")});f.load(e.mobile.silentScroll)})(jQuery,this);(function(c,e){var j=c(window),l=c("html"),i=c("head"),k={get:function(s){if(s==e){s=location.hash}return k.stripHash(s).replace(/[^\/]*\.[^\/*]+$/,"")},getFilePath:function(t){var s="&"+c.mobile.subPageUrlKey;return t&&t.split(s)[0].split(q)[0]},set:function(s){location.hash=s},origin:"",setOrigin:function(){k.origin=k.get(location.protocol+"//"+location.host+location.pathname)},makeAbsolute:function(s){return k.get()+s},clean:function(s){return s.replace(location.protocol+"//"+location.host,"")},stripHash:function(s){return s.replace(/^#/,"")},isExternal:function(s){return k.hasProtocol(k.clean(s))},hasProtocol:function(s){return/^(:?\w+:)/.test(s)},isRelative:function(s){return/^[^\/|#]/.test(s)&&!k.hasProtocol(s)}},r=null,b={stack:[],activeIndex:0,getActive:function(){return b.stack[b.activeIndex]},getPrev:function(){return b.stack[b.activeIndex-1]},getNext:function(){return b.stack[b.activeIndex+1]},addNew:function(s,t){if(b.getNext()){b.clearForward()}b.stack.push({url:s,transition:t});b.activeIndex=b.stack.length-1},clearForward:function(){b.stack=b.stack.slice(0,b.activeIndex+1)},listeningEnabled:true},m="[tabindex],a,button:visible,select:visible,input",a=null,q="&ui-state=dialog";var h=i.children("base"),p=location.protocol+"//"+location.host,f=k.get(p+location.pathname),d=f;if(h.length){var n=h.attr("href");if(n){if(n.search(/^[^:/]+:\/\/[^/]+\/?/)==-1){if(n.charAt(0)=="/"){d=p+n}else{d=f+n}}else{d=n}}d=d+(d.charAt(d.length-1)=="/"?" ":"/")}base=c.support.dynamicBaseTag?{element:(h.length?h:c("<base>",{href:d}).prependTo(i)),set:function(s){base.element.attr("href",d+k.get(s))},reset:function(){base.element.attr("href",d)}}:e;k.setOrigin();function g(t){var s=t.find(".ui-title:eq(0)");if(s.length){s.focus()}else{t.find(m).eq(0).focus()}}function o(s){if(!!r&&(!r.closest(".ui-page-active").length||s)){r.removeClass(c.mobile.activeBtnClass)}r=null}c.fn.animationComplete=function(s){if(c.support.cssTransitions){return c(this).one("webkitAnimationEnd",s)}else{s()}};c.mobile.updateHash=k.set;c.mobile.path=k;c.mobile.base=base;c.mobile.urlstack=b.stack;c.mobile.urlHistory=b;c.mobile.changePage=function(t,K,A,C,u){var w=c.type(t)==="array",J=c.type(t)==="object",H=w?t[0]:c.mobile.activePage,t=w?t[1]:t,x=fileUrl=c.type(t)==="string"?k.stripHash(t):"",M=e,v="get",D=false,z=null,F=b.getActive(),E=false,B=false;if(F&&b.stack.length>1&&F.url===x&&!w&&!J){return}if(u){c.each(b.stack,function(N){if(this.url==x){urlIndex=N;E=N<b.activeIndex;B=!E;b.activeIndex=N}});if(E){A=true;K=K||F.transition}else{if(B){K=K||b.getActive().transition}}}if(J&&t.url){x=t.url,M=t.data,v=t.type,D=true;if(M&&v=="get"){if(c.type(M)=="object"){M=c.param(M)}x+="?"+M;M=e}}if(base){base.reset()}c(window.document.activeElement).add(":focus").blur();function y(){if(K===e){K=c.mobile.defaultTransition}}function I(){c.mobile.silentScroll();var O=j.scrollTop(),S=["flip"],P=[];if(x.indexOf("&"+c.mobile.subPageUrlKey)>-1){t=c("[data-url='"+x+"']")}H.data("lastScroll",O);H.data("page")._trigger("beforehide",{nextPage:t});t.data("page")._trigger("beforeshow",{prevPage:H});function N(){if(C!==false&&x){if(!E){b.listeningEnabled=false}k.set(x);b.listeningEnabled=true}if(!E&&!B){b.addNew(x,K)}o();c.mobile.silentScroll(t.data("lastScroll"));g(t);H.data("page")._trigger("hide",null,{nextPage:t});if(t.data("page")._trigger("show",null,{prevPage:H})!==false){c.mobile.activePage=t}if(z!=null){z.remove()}}function R(T){c.mobile.pageContainer.addClass(T);P.push(T)}function Q(){c.mobile.pageContainer.removeClass(P.join(" "));P=[]}if(K&&(K!=="none")){c.mobile.pageLoading(true);if(c.inArray(K,S)>=0){R("ui-mobile-viewport-perspective")}R("ui-mobile-viewport-transitioning");setTimeout(function(){H.addClass(K+" out "+(A?"reverse":""));t.addClass(c.mobile.activePageClass+" "+K+" in "+(A?"reverse":""))},0);t.animationComplete(function(){H.add(t).removeClass("out in reverse "+K);H.removeClass(c.mobile.activePageClass);N();Q()})}else{c.mobile.pageLoading(true);H.removeClass(c.mobile.activePageClass);t.addClass(c.mobile.activePageClass);N()}}function G(){if(a||t.data("role")=="dialog"){x=b.getActive().url+q;if(a){t.attr("data-role",a);a=null}}t.page()}if(x){t=c("[data-url='"+x+"']");fileUrl=k.getFilePath(x)}else{var s=t.attr("data-url"),L=k.getFilePath(s);if(s!=L){fileUrl=L}}y();if(t.length&&!D){if(fileUrl&&base){base.set(fileUrl)}G();I()}else{if(t.length){z=t}c.mobile.pageLoading();c.ajax({url:fileUrl,type:v,data:M,success:function(O){var N=/ data-url="(.*)"/.test(O)&&RegExp.$1;if(N){if(base){base.set(N)}x=fileUrl=k.makeAbsolute(k.getFilePath(N))}else{if(base){base.set(fileUrl)}}var P=c("<div></div>");P.get(0).innerHTML=O;t=P.find('[data-role="page"], [data-role="dialog"]').first();if(!c.support.dynamicBaseTag){var Q=k.get(fileUrl);t.find("[src],link[href]").each(function(){var S=c(this).is("[href]")?"href":"src",R=c(this).attr(S);R.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(R)){c(this).attr(S,Q+R)}})}t.attr("data-url",fileUrl).appendTo(c.mobile.pageContainer);G();I()},error:function(){c.mobile.pageLoading(true);o(true);base.set(k.get());c("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</h1></div>").css({display:"block",opacity:0.96,top:c(window).scrollTop()+100}).appendTo(c.mobile.pageContainer).delay(800).fadeOut(400,function(){c(this).remove()})}})}};c("form[data-ajax!='false']").live("submit",function(u){if(!c.mobile.ajaxEnabled||!c.mobile.ajaxFormsEnabled){return}var t=c(this).attr("method"),s=k.clean(c(this).attr("action"));if(k.isExternal(s)){return}if(k.isRelative(s)){s=k.makeAbsolute(s)}c.mobile.changePage({url:s,type:t,data:c(this).serialize()},e,e,true);u.preventDefault()});c("a").live("click",function(w){var y=c(this),u=k.clean(y.attr("href")),v=k.isExternal(u)||y.is("[rel='external']"),t=y.is("[target]");if(y.is("[data-rel='back']")){window.history.back();return false}if(u==="#"){return false}r=y.closest(".ui-btn").addClass(c.mobile.activeBtnClass);if(v||t||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled){o(true);if(t){window.open(u)}else{location.href=u}}else{var z=y.data("transition"),x=y.data("direction"),s=x&&x=="reverse"||y.data("back");a=y.attr("data-rel");if(k.isRelative(u)){u=k.makeAbsolute(u)}u=k.stripHash(u);c.mobile.changePage(u,z,s)}w.preventDefault()});j.bind("hashchange",function(t,s){if(!s&&(!b.listeningEnabled||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled)){return}var v=k.stripHash(location.hash),u=s?false:e;if(b.stack.length>1&&v.indexOf(q)>-1&&!c.mobile.activePage.is(".ui-dialog")){return}if(v){c.mobile.changePage(v,u,e,false,true)}else{if(c.mobile.activePage.length&&c.mobile.startPage[0]!==c.mobile.activePage[0]&&!s){c.mobile.changePage(c.mobile.startPage,u,true,false,true)}else{b.addNew("");c.mobile.startPage.trigger("pagebeforeshow",{prevPage:c("")});c.mobile.startPage.addClass(c.mobile.activePageClass);c.mobile.pageLoading(true);if(c.mobile.startPage.trigger("pageshow",{prevPage:c("")})!==false){g(c.mobile.startPage)}}}})})(jQuery);(function(b,c){b.fn.buttonMarkup=function(d){return this.each(function(){var j=b(this),k=b.extend({},b.fn.buttonMarkup.defaults,j.data(),d),f,h="ui-btn-inner",e;if(a){a()}if(!k.theme){var g=j.closest("[class*='ui-bar-'],[class*='ui-body-']");k.theme=g.length?/ui-(bar|body)-([a-z])/.exec(g.attr("class"))[2]:"c"}f="ui-btn ui-btn-up-"+k.theme;if(k.inline){f+=" ui-btn-inline"}if(k.icon){k.icon="ui-icon-"+k.icon;k.iconpos=k.iconpos||"left";e="ui-icon "+k.icon;if(k.shadow){e+=" ui-icon-shadow"}}if(k.iconpos){f+=" ui-btn-icon-"+k.iconpos;if(k.iconpos=="notext"&&!j.attr("title")){j.attr("title",j.text())}}if(k.corners){f+=" ui-btn-corner-all";h+=" ui-btn-corner-all"}if(k.shadow){f+=" ui-shadow"}j.attr("data-theme",k.theme).addClass(f);var i=("<D class='"+h+"'><D class='ui-btn-text'></D>"+(k.icon?"<span class='"+e+"'></span>":"")+"</D>").replace(/D/g,k.wrapperEls);j.wrapInner(i)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};var a=function(){b(".ui-btn:not(.ui-disabled)").live({mousedown:function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-down-"+d)},mouseup:function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-down-"+d).addClass("ui-btn-up-"+d)},"mouseover focus":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-hover-"+d)},"mouseout blur":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-hover-"+d).addClass("ui-btn-up-"+d)}});a=null}})(jQuery);(function(a,b){a.widget("mobile.collapsible",a.mobile.widget,{options:{expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:false,heading:">:header,>legend",theme:null,iconTheme:"d"},_create:function(){var e=this.element,f=this.options,c=e.addClass("ui-collapsible-contain"),d=e.find(f.heading).eq(0),i=c.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),h=e.closest('[data-role="collapsible-set"]').addClass("ui-collapsible-set");if(d.is("legend")){d=a('<div role="heading">'+d.html()+"</div>").insertBefore(d);d.next().remove()}d.insertBefore(i);d.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!h.length,corners:false,iconPos:"left",icon:"plus",theme:f.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:f.iconTheme});if(!h.length){d.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}c.bind("collapse",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.expandCueText);d.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");i.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.collapseCueText);d.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");i.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.data("collapsiblebound")){h.data("collapsiblebound",true).bind("expand",function(j){a(this).find(".ui-collapsible-contain").not(a(j.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var g=h.find("[data-role=collapsible]");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().data("collapsible-last",true)}d.bind(a.support.touch?"touchstart":"click",function(){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return this.each(function(){var g=a.extend({direction:a(this).data("type")||"vertical",shadow:false},c);var h=a(this).find(">legend"),d=g.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],e=a(this).find("input:eq(0)").attr("type");if(h.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+h.html()+"</div>").insertBefore(a(this).children(0));h.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+g.direction);function f(i){i.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(d[0]).end().filter(":last").addClass(d[1]).addClass("ui-controlgroup-last")}f(a(this).find(".ui-btn"));f(a(this).find(".ui-btn-inner"));if(g.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{},_create:function(){var c=this,d=c.element;this.element.attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find("[data-role=header]").addClass("ui-corner-top ui-overlay-shadow").prepend('<a href="#" data-icon="delete" data-rel="back" data-iconpos="notext">Close</a>').end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,[data-role=footer]").last().addClass("ui-corner-bottom ui-overlay-shadow");this.element.bind("click submit",function(g){var f;if(g.type=="click"){f=a(g.target).closest("a")}else{f=a(g.target).closest("form")}if(f.length&&!f.data("transition")){f.attr("data-transition",a.mobile.urlHistory.getActive().transition).attr("data-direction","reverse")}})},close:function(){window.history.back()}})})(jQuery);(function(a,b){a.fn.fieldcontain=function(c){return this.addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a,b){a.fn.fixHeaderFooter=function(c){if(!a.support.scrollTop){return this}return this.each(function(){var d=a(this);if(d.data("fullscreen")){d.addClass("ui-page-fullscreen")}d.find('.ui-header[data-position="fixed"]').addClass("ui-header-fixed ui-fixed-inline fade");d.find('.ui-footer[data-position="fixed"]').addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var g="inline",o=false,d=100,e,n="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",p=".ui-header-fixed:first, .ui-footer-fixed:not(.ui-footer-duplicate):last",m,i=a.support.touch,q=i?"touchstart":"mousedown",k=i?"touchend":"mouseup",h=null,j=false,c=true;function f(s){if(!o&&g=="overlay"){if(!e){a.fixedToolbars.hide(true)}a.fixedToolbars.startShowTimer()}}a(function(){a(document).bind(q,function(s){if(c){if(a(s.target).closest(n).length){return}h=g}}).bind(k,function(s){if(c){if(a(s.target).closest(n).length){return}if(!j){a.fixedToolbars.toggle(h);h=null}}}).bind("scrollstart",function(t){if(a(t.target).closest(n).length){return}j=true;if(h==null){h=g}var s=h=="overlay";o=s||!!e;if(o){a.fixedToolbars.clearShowTimer();if(s){a.fixedToolbars.hide(true)}}}).bind("scrollstop",function(s){if(a(s.target).closest(n).length){return}j=false;if(o){o=false;a.fixedToolbars.startShowTimer()}h=null}).bind("silentscroll",f);a(window).bind("resize",f)});a(".ui-page").live("pagebeforeshow",function(s,u){var t=a(s.target),w=t.find('[data-role="footer"]:not(.ui-sticky-footer)'),v=w.data("id");m=null;if(v){m=a('.ui-footer[data-id="'+v+'"].ui-sticky-footer');if(m.length==0){m=w;w=m.clone();m.addClass("ui-sticky-footer").before(w)}w.addClass("ui-footer-duplicate");m.appendTo(a.pageContainer).css("top",0);r(m)}});a(".ui-page").live("pageshow",function(s,t){if(m&&m.length){m.appendTo(s.target).css("top",0)}a.fixedToolbars.show(true,this)});function l(t){var u=0;if(t){var v=t.offsetParent,s=document.body;u=t.offsetTop;while(t&&t!=s){u+=t.scrollTop||0;if(t==v){u+=v.offsetTop;v=t.offsetParent}t=t.parentNode}}return u}function r(w){var s=a(window).scrollTop(),x=l(w[0]),v=w.css("top")=="auto"?0:parseFloat(w.css("top")),z=window.innerHeight,y=w.outerHeight(),u=w.parents(".ui-page:not(.ui-page-fullscreen)").length,t;if(w.is(".ui-header-fixed")){t=s-x+v;if(t<x){t=0}return w.css("top",(u)?t:s)}else{t=s+z-y-(x-v);return w.css("top",(u)?t:s+z-y)}}return{show:function(s,u){a.fixedToolbars.clearShowTimer();g="overlay";var t=u?a(u):(a.mobile.activePage?a.mobile.activePage:a(".ui-page-active"));return t.children(p).each(function(){var x=a(this),v=a(window).scrollTop(),y=l(x[0]),A=window.innerHeight,z=x.outerHeight(),w=(x.is(".ui-header-fixed")&&v<=y+z)||(x.is(".ui-footer-fixed")&&y<=v+A);x.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!w&&!s){x.animationComplete(function(){x.removeClass("in")}).addClass("in")}r(x)})},hide:function(s){g="inline";var t=a.mobile.activePage?a.mobile.activePage:a(".ui-page-active");return t.children(p).each(function(){var w=a(this);var v=w.css("top");v=v=="auto"?0:parseFloat(v);w.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(v<0||(w.is(".ui-header-fixed")&&v!=0)){if(s){w.css("top",0)}else{if(w.css("top")!=="auto"&&parseFloat(w.css("top"))!==0){var u="out reverse";w.animationComplete(function(){w.removeClass(u);w.css("top",0)}).addClass(u)}}}})},startShowTimer:function(){a.fixedToolbars.clearShowTimer();var s=a.makeArray(arguments);e=setTimeout(function(){e=b;a.fixedToolbars.show.apply(null,s)},d)},clearShowTimer:function(){if(e){clearTimeout(e)}e=b},toggle:function(s){if(s){g=s}return(g=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()},setTouchToggleEnabled:function(s){c=s}}})()})(jQuery);(function(a,b){a.widget("mobile.button",a.mobile.widget,{options:{theme:null,icon:null,iconpos:null,inline:null,corners:true,shadow:true,iconshadow:true},_create:function(){var c=this.element,d=this.options;this.button=a("<div></div>").text(c.text()||c.val()).buttonMarkup({theme:d.theme,icon:d.icon,iconpos:d.iconpos,inline:d.inline,corners:d.corners,shadow:d.shadow,iconshadow:d.iconshadow}).insertBefore(c).append(c.addClass("ui-btn-hidden"));if(c.attr("type")!=="reset"){c.click(function(){var e=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){e.remove()})})}},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:null},_create:function(){var d=this,c=this.element,f=c.closest("form,fieldset,[data-role='page']").find("label[for='"+c.attr("id")+"']"),h=c.attr("type"),g="ui-icon-"+h+"-on",e="ui-icon-"+h+"-off";if(h!="checkbox"&&h!="radio"){return}if(!this.options.theme){this.options.theme=this.element.data("theme")}f.buttonMarkup({theme:this.options.theme,icon:this.element.parents("[data-type='horizontal']").length?b:e,shadow:false});c.add(f).wrapAll("<div class='ui-"+h+"'></div>");f.bind({mouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},tap:function(i){d._cacheVals();c.attr("checked",h==="radio"&&true||!c.is(":checked"));d._updateAll();i.preventDefault()},click:false});c.bind({mousedown:function(){this._cacheVals()},click:function(){d._updateAll()},focus:function(){f.addClass("ui-focus")},blur:function(){f.removeClass("ui-focus")}});this.refresh()},_cacheVals:function(){this._getInputSet().each(function(){a(this).data("cacheVal",a(this).is(":checked"))})},_getInputSet:function(){return this.element.closest("form,fieldset,[data-role='page']").find("input[name='"+this.element.attr("name")+"'][type='"+this.element.attr("type")+"']")},_updateAll:function(){this._getInputSet().each(function(){var c=a(this).data("cacheVal");if(c&&c!==a(this).is(":checked")||a(this).is("[type='checkbox']")){a(this).trigger("change")}}).checkboxradio("refresh")},refresh:function(){var c=this.element,e=c.closest("form,fieldset,[data-role='page']").find("label[for='"+c.attr("id")+"']"),h=c.attr("type"),g=e.find(".ui-icon"),f="ui-icon-"+h+"-on",d="ui-icon-"+h+"-off";if(c[0].checked){e.addClass("ui-btn-active");g.addClass(f);g.removeClass(d)}else{e.removeClass("ui-btn-active");g.removeClass(f);g.addClass(d)}if(c.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.selectmenu",a.mobile.widget,{options:{theme:null,disabled:false,icon:"arrow-d",iconpos:"right",inline:null,corners:true,shadow:true,iconshadow:true,menuPageTheme:"b",overlayTheme:"a",hidePlaceholderMenuItems:true,closeText:"Close",useNativeMenu:false},_create:function(){var q=this,t=this.options,s=this.element.wrap("<div class='ui-select'>"),w=s.attr("id"),j=q.isMultiple=s[0].multiple,h=s.find("option"),m=a("label[for="+w+"]").addClass("ui-select"),l=w+"-button",n=w+"-menu",c=s.closest(".ui-page"),d=a("<a>",{href:"#",role:"button",id:l,"aria-haspopup":"true","aria-owns":n}).text(a(s[0].options.item(s[0].selectedIndex)).text()).insertBefore(s).buttonMarkup({theme:t.theme,icon:t.icon,iconpos:t.iconpos,inline:t.inline,corners:t.corners,shadow:t.shadow,iconshadow:t.iconshadow}),y=/ui-btn-up-([a-z])/.exec(d.attr("class"))[1],r=a("<div data-role='dialog' data-theme='"+t.menuPageTheme+"'><div data-role='header'><div class='ui-title'>"+m.text()+"</div></div><div data-role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),i=r.find(".ui-content"),g=r.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),e=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+t.overlayTheme}).insertAfter(f),x=a("<ul>",{"class":"ui-selectmenu-list",id:n,role:"listbox","aria-labelledby":l,"data-theme":y}).appendTo(e),v=a("<div>",{"class":"ui-header ui-bar-"+y}).prependTo(e),u=a("<h1>",{"class":"ui-title"}).appendTo(v),k=a("<a>",{"data-iconpos":"notext","data-icon":"delete",text:t.closeText,href:"#","class":"ui-btn-left"}).appendTo(v).buttonMarkup(),p;t.useNativeMenu=a.mobile.nativeSelectMenus||s.is("[data-native]");if(j){q.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(d)}a.extend(q,{select:s,optionElems:h,selectID:w,label:m,buttonId:l,menuId:n,thisPage:c,button:d,menuPage:r,menuPageContent:i,screen:f,listbox:e,list:x,menuType:p,header:v,headerClose:k,headerTitle:u,placeholder:""});q.refresh();if(t.disabled){this.disable()}s.change(function(){q.refresh()});if(t.useNativeMenu){s.appendTo(d).bind("touchstart mousedown",function(o){d.addClass(a.mobile.activeBtnClass);o.stopPropagation()}).bind("focus mouseover",function(){d.trigger("mouseover")}).bind("blur mouseout",function(){d.trigger("mouseout").removeClass(a.mobile.activeBtnClass)});d.attr("tabindex","-1")}else{s.attr("tabindex","-1").focus(function(){a(this).blur();d.focus()});d.bind("touchstart",function(o){a(this).data("startTouches",a.extend({},o.originalEvent.touches[0]))}).bind(a.support.touch?"touchend":"mouseup",function(o){if(a(this).data("moved")){a(this).removeData("moved")}else{q.open()}o.preventDefault()}).bind("touchmove",function(A){var C=A.originalEvent.touches[0],B=a(this).data("startTouches"),z=Math.abs(C.pageX-B.pageX),o=Math.abs(C.pageY-B.pageY);if(z>10||o>10){a(this).data("moved",true)}})}x.delegate("li:not(.ui-disabled, .ui-li-divider)","click",function(A){if(!a(A.target).is("a")){return}var o=x.find("li:not(.ui-li-divider)").index(this),z=q.optionElems.eq(o)[0];z.selected=j?!z.selected:true;if(j){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",z.selected).toggleClass("ui-icon-checkbox-off",!z.selected)}s.trigger("change");if(!j){q.close()}A.preventDefault()});f.add(k).add(g).bind("click",function(o){q.close();o.preventDefault();if(a.contains(g[0],o.target)){o.stopImmediatePropagation()}})},_buildList:function(){var d=this,c=[],f=this.options,e=this.placeholder;d.list.empty().filter(".ui-listview").listview("destroy");d.select.find("option").each(function(j){var m=a(this),l=m.parent(),n=m.text();if(l.is("optgroup")){var h=l.attr("label");if(a.inArray(h,c)===-1){a("<li>",{"data-role":"list-divider",text:h}).appendTo(d.list);c.push(h)}}var g=a("<a>",{role:"",href:"#",text:n}),k=a("<li>",{"data-icon":false});if(!this.getAttribute("value")||n.length==0||m.data("placeholder")){if(f.hidePlaceholderMenuItems){k.addClass("ui-selectmenu-placeholder")}e=d.placeholder=n}if(d.isMultiple){k.data("icon","checkbox-off")}if(this.disabled){k.addClass("ui-disabled").attr("aria-disabled",true)}k.append(g).appendTo(d.list)});if(!this.isMultiple){this.headerClose.hide()}if(!this.isMultiple&&!e.length){this.header.hide()}else{this.headerTitle.text(this.placeholder)}d.list.listview()},refresh:function(g){var d=this,c=this.element,h=this.isMultiple,e=this.optionElems=c.find("option"),f=e.filter(":selected"),i=f.map(function(){return e.index(this)}).get();if(g||c[0].options.length>d.list.find("li").length){d._buildList()}d.button.find(".ui-btn-text").text(function(){if(!h){return f.text()}return f.length?f.map(function(){return a(this).text()}).get().join(", "):d.placeholder});if(h){d.buttonCount[f.length>1?"show":"hide"]().text(f.length)}d.list.find("li:not(.ui-li-divider)").removeClass(a.mobile.activeBtnClass).attr("aria-selected",false).each(function(j){if(a.inArray(j,i)>-1){var k=a(this).addClass(a.mobile.activeBtnClass);k.find("a").attr("aria-selected",true);if(h){k.find(".ui-icon").removeClass("ui-icon-checkbox-off").addClass("ui-icon-checkbox-on")}}})},open:function(){if(this.options.disabled){return}var p=this,g=p.list.outerHeight(),l=p.list.outerWidth(),f=a(window).scrollTop(),o=p.button.offset().top,d=window.innerHeight,c=window.innerWidth,e=p.list.parents(".ui-dialog").length;p.button.addClass(a.mobile.activeBtnClass);function h(){p.list.find(".ui-btn-active").focus()}if(e||g>d-80||!a.support.scrollTop){if(f==0&&o>d){p.thisPage.one("pagehide",function(){a(this).data("lastScroll",o)})}p.menuPage.one("pageshow",h);p.menuType="page";p.menuPageContent.append(p.list);a.mobile.changePage(p.menuPage,"pop",false,false)}else{p.menuType="overlay";p.screen.height(a(document).height()).removeClass("ui-screen-hidden");var k=o-f,i=f+d-o,n=g/2,m,j;if(k>g/2&&i>g/2){m=o+(p.button.outerHeight()/2)-n}else{m=k>i?f+d-g-30:f+30}j=p.button.offset().left+p.button.outerWidth()/2-l/2;p.listbox.append(p.list).removeClass("ui-selectmenu-hidden").css({top:m,left:j}).addClass("in");h()}setTimeout(function(){p.isOpen=true},400)},close:function(){if(this.options.disabled||!this.isOpen){return}var c=this;function d(){setTimeout(function(){c.button.focus();c.button.removeClass(a.mobile.activeBtnClass)},40);c.listbox.removeAttr("style").append(c.list)}if(c.menuType=="page"){a.mobile.changePage([c.menuPage,c.thisPage],"pop",true,false);c.menuPage.one("pagehide",d)}else{c.screen.addClass("ui-screen-hidden");c.listbox.addClass("ui-selectmenu-hidden").removeAttr("style").removeClass("in");d()}this.isOpen=false},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)}})})(jQuery);(function(a,b){a.widget("mobile.slider",a.mobile.widget,{options:{theme:null,trackTheme:null,disabled:false},_create:function(){var r=this,j=this.element,f=j.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),f=f.length?f.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c",k=this.options.theme?this.options.theme:f,g=this.options.trackTheme?this.options.trackTheme:f,l=j[0].nodeName.toLowerCase(),n=(l=="select")?"ui-slider-switch":"",h=j.attr("id"),m=h+"-label",q=a("[for="+h+"]").attr("id",m),e=function(){return(l=="input")?parseFloat(j.val()):j[0].selectedIndex},i=(l=="input")?parseFloat(j.attr("min")):0,p=(l=="input")?parseFloat(j.attr("max")):j.find("option").length-1,d=window.parseFloat(j.attr("data-step")||1),c=a('<div class="ui-slider '+n+" ui-btn-down-"+g+' ui-btn-corner-all" role="application"></div>'),o=a('<a href="#" class="ui-slider-handle"></a>').appendTo(c).buttonMarkup({corners:true,theme:k,shadow:true}).attr({role:"slider","aria-valuemin":i,"aria-valuemax":p,"aria-valuenow":e(),"aria-valuetext":e(),title:e(),"aria-labelledby":m});a.extend(this,{slider:c,handle:o,dragging:false,beforeStart:null});if(l=="select"){c.wrapInner('<div class="ui-slider-inneroffset"></div>');var s=j.find("option");j.find("option").each(function(v){var u=(v==0)?"b":"a",t=(v==0)?"right":"left",w=(v==0)?" ui-btn-down-"+g:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+u+w+" ui-btn-corner-"+t+'"></div>').prependTo(c);a('<span class="ui-slider-label ui-slider-label-'+u+w+" ui-btn-corner-"+t+'" role="img">'+a(this).text()+"</span>").prependTo(o)})}q.addClass("ui-slider");j.addClass((l=="input")?"ui-slider-input":"ui-slider-switch").change(function(){r.refresh(e(),true)}).keyup(function(){r.refresh(e(),true,true)}).blur(function(){r.refresh(e(),true)});a(document).bind("touchmove mousemove",function(t){if(r.dragging){r.refresh(t);return false}});c.bind("touchstart mousedown",function(t){r.dragging=true;if(l==="select"){r.beforeStart=j[0].selectedIndex}r.refresh(t);return false});c.add(document).bind("touchend mouseup",function(){if(r.dragging){r.dragging=false;if(l==="select"){if(r.beforeStart===j[0].selectedIndex){r.refresh(r.beforeStart===0?1:0)}var u=e();var t=Math.round(u/(p-i)*100);o.addClass("ui-slider-handle-snapping").css("left",t+"%").animationComplete(function(){o.removeClass("ui-slider-handle-snapping")})}return false}});c.insertAfter(j);this.handle.bind("touchstart mousedown",function(){a(this).focus()});this.handle.bind("keydown",function(u){var t=e();if(r.options.disabled){return}switch(u.keyCode){case a.mobile.keyCode.HOME:case a.mobile.keyCode.END:case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:u.preventDefault();if(!r._keySliding){r._keySliding=true;a(this).addClass("ui-state-active")}break}switch(u.keyCode){case a.mobile.keyCode.HOME:r.refresh(i);break;case a.mobile.keyCode.END:r.refresh(p);break;case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:r.refresh(t+d);break;case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:r.refresh(t-d);break}}).keyup(function(t){if(r._keySliding){r._keySliding=false;a(this).removeClass("ui-state-active")}});this.refresh()},refresh:function(e,c,m){if(this.options.disabled){return}var h=this.element,j,i=h[0].nodeName.toLowerCase(),f=(i==="input")?parseFloat(h.attr("min")):0,k=(i==="input")?parseFloat(h.attr("max")):h.find("option").length-1;if(typeof e==="object"){var g=e.originalEvent.touches?e.originalEvent.touches[0]:e,l=8;if(!this.dragging||g.pageX<this.slider.offset().left-l||g.pageX>this.slider.offset().left+this.slider.width()+l){return}j=Math.round(((g.pageX-this.slider.offset().left)/this.slider.width())*100)}else{if(e==null){e=(i==="input")?parseFloat(h.val()):h[0].selectedIndex}j=(parseFloat(e)-f)/(k-f)*100}if(isNaN(j)){return}if(j<0){j=0}if(j>100){j=100}var d=Math.round((j/100)*(k-f))+f;if(d<f){d=f}if(d>k){d=k}if(j>60&&i==="select"){}this.handle.css("left",j+"%");this.handle.attr({"aria-valuenow":(i==="input")?d:h.find("option").eq(d).attr("value"),"aria-valuetext":(i==="input")?d:h.find("option").eq(d).text(),title:d});if(i==="select"){if(d===0){this.slider.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{this.slider.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}if(!m){if(i==="input"){h.val(d)}else{h[0].selectedIndex=d}if(!c){h.trigger("change")}}},enable:function(){this.element.attr("disabled",false);this.slider.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.slider.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.textinput",a.mobile.widget,{options:{theme:null},_create:function(){var k=this.element,e=this.options,h=e.theme,n;if(!h){var f=this.element.closest("[class*='ui-bar-'],[class*='ui-body-']");h=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}n=" ui-body-"+h;a("label[for="+k.attr("id")+"]").addClass("ui-input-text");k.addClass("ui-input-text ui-body-"+e.theme);var i=k;if(k.is('[type="search"],[data-type="search"]')){i=k.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-search'+n+'"></div>').parent();var l=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').tap(function(o){k.val("").focus();k.trigger("change");l.addClass("ui-input-clear-hidden");o.preventDefault()}).appendTo(i).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function d(){if(k.val()==""){l.addClass("ui-input-clear-hidden")}else{l.removeClass("ui-input-clear-hidden")}}d();k.keyup(d)}else{k.addClass("ui-corner-all ui-shadow-inset"+n)}k.focus(function(){i.addClass("ui-focus")}).blur(function(){i.removeClass("ui-focus")});if(k.is("textarea")){var g=15,j=100,c=function(){var p=k[0].scrollHeight,o=k[0].clientHeight;if(o<p){k.css({height:(p+g)})}},m;k.keyup(function(){clearTimeout(m);m=setTimeout(c,j)})}},disable:function(){(this.element.attr("disabled",true).is('[type="search"],[data-type="search"]')?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is('[type="search"],[data-type="search"]')?this.element.parent():this.element).removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.fn.grid=function(c){return this.each(function(){var h=a.extend({grid:null},c);var i=a(this).children(),f={a:2,b:3,c:4,d:5},d=h.grid,e;if(!d){if(i.length<=5){for(var g in f){if(f[g]==i.length){d=g}}}else{d="a"}}e=f[d];a(this).addClass("ui-grid-"+d);i.filter(":nth-child("+e+"n+1)").addClass("ui-block-a");i.filter(":nth-child("+e+"n+2)").addClass("ui-block-b");if(e>2){i.filter(":nth-child(3n+3)").addClass("ui-block-c")}if(e>3){i.filter(":nth-child(4n+4)").addClass("ui-block-d")}if(e>4){i.filter(":nth-child(5n+5)").addClass("ui-block-e")}})}})(jQuery);(function(a,b){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var c=this.element,d=this.options;c.addClass("ui-listview").attr("role","listbox");if(d.inset){c.addClass("ui-listview-inset ui-corner-all ui-shadow")}c.delegate(".ui-li","focusin",function(){a(this).attr("tabindex","0")});this._itemApply(c,c);this.refresh(true);c.keydown(function(k){var j=a(k.target),f=j.closest("li");switch(k.keyCode){case 38:var i=f.prev();if(i.length){j.blur().attr("tabindex","-1");i.find("a").first().focus()}return false;break;case 40:var h=f.next();if(h.length){j.blur().attr("tabindex","-1");h.find("a").first().focus()}return false;break;case 39:var g=f.find("a.ui-li-link-alt");if(g.length){j.blur();g.first().focus()}return false;break;case 37:var g=f.find("a.ui-link-inherit");if(g.length){j.blur();g.first().focus()}return false;break;case 13:case 32:j.trigger("click");return false;break}});c.delegate("li","click",function(e){if(!a(e.target).closest("a").length){a(this).find("a").first().trigger("click");return false}})},_itemApply:function(d,e){e.find(".ui-li-count").addClass("ui-btn-up-"+(d.data("counttheme")||this.options.countTheme)+" ui-btn-corner-all");e.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");e.find("p, dl").addClass("ui-li-desc");e.find("li").find("img:eq(0)").addClass("ui-li-thumb").each(function(){a(this).closest("li").addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});var c=e.find(".ui-li-aside");if(c.length){c.each(function(f,g){a(g).prependTo(a(g).parent())})}if(a.support.cssPseudoElement||!a.nodeName(e[0],"ol")){return}},_removeCorners:function(c){c.add(c.find(".ui-btn-inner, .ui-li-link-alt, .ui-li-thumb")).removeClass("ui-corner-top ui-corner-bottom ui-corner-br ui-corner-bl ui-corner-tr ui-corner-tl")},refresh:function(g){this._createSubPages();var i=this.options,f=this.element,e=this,h=f.data("dividertheme")||i.dividerTheme,c=f.children("li"),d=a.support.cssPseudoElement||!a.nodeName(f[0],"ol")?0:1;if(d){f.find(".ui-li-dec").remove()}c.attr({role:"option",tabindex:"-1"});c.first().attr("tabindex","0");c.each(function(p){var n=a(this),o="ui-li";if(!g&&n.hasClass("ui-li")){return}var j=n.find("a");if(j.length){var l=n.data("icon");n.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:j.length>1||l===false?false:l||"arrow-r",theme:i.theme});j.first().addClass("ui-link-inherit");if(j.length>1){o+=" ui-li-has-alt";var m=j.last(),k=f.data("splittheme")||m.data("theme")||i.splitTheme;m.attr("title",m.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:i.theme,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:k,iconpos:"notext",icon:f.data("spliticon")||m.data("icon")||i.splitIcon}))}}else{if(n.data("role")==="list-divider"){o+=" ui-li-divider ui-btn ui-bar-"+h;n.attr("role","heading");if(d){d=1}}else{o+=" ui-li-static ui-btn-up-"+i.theme}}if(i.inset){if(p===0){o+=" ui-corner-top";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(n.next().next().length){e._removeCorners(n.next())}}else{if(p===c.length-1){o+=" ui-corner-bottom";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(n.prev().prev().length){e._removeCorners(n.prev())}}}}if(d&&o.indexOf("ui-li-divider")<0){n.find(".ui-link-inherit").first().addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(d++)+". </span>")}n.addClass(o);if(!g){e._itemApply(f,n)}})},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var d=this.element,c=d.closest(".ui-page"),h=c.data("url"),g=this.options,e=this,f=c.find("[data-role='footer']").data("id");a(d.find("ul, ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),q=a.trim(r.contents()[0].nodeValue)||r.find("a:first").text(),j=h+"&"+a.mobile.subPageUrlKey+"="+e._idStringEscape(q+" "+o),n=p.data("theme")||g.theme,k=p.data("counttheme")||d.data("counttheme")||g.countTheme,l=p.wrap("<div data-role='page'><div data-role='content'></div></div>").parent().before("<div data-role='header' data-theme='"+g.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(f?a("<div>",{"data-role":"footer","data-id":f,"class":"ui-footer-duplicate"}):"").parent().attr({"data-url":j,"data-theme":n,"data-count-theme":k}).appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a></a>").html(q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a("[data-role='listview']").live("listviewcreate",function(){var e=a(this),d=e.data("listview");if(!d.options.filter){return}var f=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),c=a("<input>",{placeholder:"Filter results...","data-type":"search"}).bind("keyup change",function(){var g=this.value.toLowerCase();e.children().show();if(g){e.children().filter(function(){return a(this).text().toLowerCase().indexOf(g)===-1}).hide()}}).appendTo(f).textinput();f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top",grid:null},_create:function(){var e=this.element,c=e.find("a"),d=c.filter("[data-icon]").length?this.options.iconpos:b;e.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:this.options.grid});if(!d){e.addClass("ui-navbar-noicons")}c.buttonMarkup({corners:false,shadow:false,iconpos:d});e.delegate("a","click",function(f){c.removeClass("ui-btn-active");a(this).addClass("ui-btn-active")})}})})(jQuery);(function(a){a.themeswitcher=function(){if(a("[data-url=themeswitcher]").length){return}var c="/stylesheets/compiled/jquery/mobile/",b=["default","valencia"],d=a.mobile.activePage,e=a("<div data-url=\"themeswitcher\" data-role='dialog' data-theme='a'><div data-role='header' data-theme='b'><div class='ui-title'>Switch Theme:</div></div><div data-role='content' data-theme='c'><ul data-role='listview' data-inset='true'></ul></div></div>").appendTo(a.mobile.pageContainer),g=e.find("ul");a.each(b,function(h){a('<li><a href="#" data-rel="back">'+b[h].charAt(0).toUpperCase()+b[h].substr(1)+"</a></li>").click(function(){f(b[h]);return false}).appendTo(g)});function f(h){a("head").append("<link rel='stylesheet' href='"+c+h+".css' />")}e.page()}})(jQuery);
|
@@ -1,4 +1,239 @@
|
|
1
1
|
// Generated by compass-jquery-plugin/gem-tasks/mobile.rake
|
2
|
+
/*
|
3
|
+
* jQuery Mobile Framework
|
4
|
+
* Copyright (c) jQuery Project
|
5
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
6
|
+
*/
|
7
|
+
|
8
|
+
.ui-btn {
|
9
|
+
display: block;
|
10
|
+
text-align: center;
|
11
|
+
cursor: pointer;
|
12
|
+
position: relative;
|
13
|
+
margin: .5em 5px;
|
14
|
+
padding: 0;
|
15
|
+
&:focus, &:active {
|
16
|
+
outline: none; } }
|
17
|
+
|
18
|
+
.ui-header .ui-btn, .ui-footer .ui-btn, .ui-bar .ui-btn {
|
19
|
+
display: inline-block;
|
20
|
+
font-size: 13px;
|
21
|
+
margin: 0; }
|
22
|
+
|
23
|
+
.ui-btn-inline {
|
24
|
+
display: inline-block; }
|
25
|
+
|
26
|
+
.ui-btn-inner {
|
27
|
+
padding: .6em 25px;
|
28
|
+
display: block;
|
29
|
+
height: 100%;
|
30
|
+
text-overflow: ellipsis;
|
31
|
+
overflow: hidden;
|
32
|
+
white-space: nowrap;
|
33
|
+
position: relative; }
|
34
|
+
|
35
|
+
.ui-header .ui-btn-inner, .ui-footer .ui-btn-inner, .ui-bar .ui-btn-inner {
|
36
|
+
padding: .4em 8px .5em; }
|
37
|
+
|
38
|
+
.ui-btn-icon-notext {
|
39
|
+
display: inline-block;
|
40
|
+
width: 20px;
|
41
|
+
height: 20px;
|
42
|
+
padding: 1px 0px 1px 2px;
|
43
|
+
text-indent: -9999px;
|
44
|
+
.ui-btn-inner {
|
45
|
+
padding: 0; }
|
46
|
+
.ui-btn-text {
|
47
|
+
position: absolute;
|
48
|
+
left: -999px; } }
|
49
|
+
|
50
|
+
.ui-btn-icon-left .ui-btn-inner {
|
51
|
+
padding-left: 33px; }
|
52
|
+
|
53
|
+
.ui-header .ui-btn-icon-left .ui-btn-inner, .ui-footer .ui-btn-icon-left .ui-btn-inner, .ui-bar .ui-btn-icon-left .ui-btn-inner {
|
54
|
+
padding-left: 27px; }
|
55
|
+
|
56
|
+
.ui-btn-icon-right .ui-btn-inner {
|
57
|
+
padding-right: 33px; }
|
58
|
+
|
59
|
+
.ui-header .ui-btn-icon-right .ui-btn-inner, .ui-footer .ui-btn-icon-right .ui-btn-inner, .ui-bar .ui-btn-icon-right .ui-btn-inner {
|
60
|
+
padding-right: 27px; }
|
61
|
+
|
62
|
+
.ui-btn-icon-top .ui-btn-inner {
|
63
|
+
padding-top: 33px; }
|
64
|
+
|
65
|
+
.ui-header .ui-btn-icon-top .ui-btn-inner, .ui-footer .ui-btn-icon-top .ui-btn-inner, .ui-bar .ui-btn-icon-top .ui-btn-inner {
|
66
|
+
padding-top: 27px; }
|
67
|
+
|
68
|
+
.ui-btn-icon-bottom .ui-btn-inner {
|
69
|
+
padding-bottom: 33px; }
|
70
|
+
|
71
|
+
.ui-header .ui-btn-icon-bottom .ui-btn-inner, .ui-footer .ui-btn-icon-bottom .ui-btn-inner, .ui-bar .ui-btn-icon-bottom .ui-btn-inner {
|
72
|
+
padding-bottom: 27px; }
|
73
|
+
|
74
|
+
/*btn icon positioning*/
|
75
|
+
|
76
|
+
.ui-btn-icon-notext .ui-icon {
|
77
|
+
display: block; }
|
78
|
+
|
79
|
+
.ui-btn-icon-left .ui-icon, .ui-btn-icon-right .ui-icon {
|
80
|
+
position: absolute;
|
81
|
+
top: 50%;
|
82
|
+
margin-top: -9px; }
|
83
|
+
|
84
|
+
.ui-btn-icon-top .ui-icon, .ui-btn-icon-bottom .ui-icon {
|
85
|
+
position: absolute;
|
86
|
+
left: 50%;
|
87
|
+
margin-left: -9px; }
|
88
|
+
|
89
|
+
.ui-btn-icon-left .ui-icon {
|
90
|
+
left: 10px; }
|
91
|
+
|
92
|
+
.ui-btn-icon-right .ui-icon {
|
93
|
+
right: 10px; }
|
94
|
+
|
95
|
+
.ui-header .ui-btn-icon-left .ui-icon, .ui-footer .ui-btn-icon-left .ui-icon, .ui-bar .ui-btn-icon-left .ui-icon {
|
96
|
+
left: 4px; }
|
97
|
+
|
98
|
+
.ui-header .ui-btn-icon-right .ui-icon, .ui-footer .ui-btn-icon-right .ui-icon, .ui-bar .ui-btn-icon-right .ui-icon {
|
99
|
+
right: 4px; }
|
100
|
+
|
101
|
+
.ui-header .ui-btn-icon-top .ui-icon, .ui-footer .ui-btn-icon-top .ui-icon, .ui-bar .ui-btn-icon-top .ui-icon {
|
102
|
+
top: 4px; }
|
103
|
+
|
104
|
+
.ui-header .ui-btn-icon-bottom .ui-icon, .ui-footer .ui-btn-icon-bottom .ui-icon, .ui-bar .ui-btn-icon-bottom .ui-icon {
|
105
|
+
bottom: 4px; }
|
106
|
+
|
107
|
+
.ui-btn-icon-top .ui-icon {
|
108
|
+
top: 5px; }
|
109
|
+
|
110
|
+
.ui-btn-icon-bottom .ui-icon {
|
111
|
+
bottom: 5px; }
|
112
|
+
|
113
|
+
/*hiding native button,inputs */
|
114
|
+
|
115
|
+
.ui-btn-hidden {
|
116
|
+
position: absolute;
|
117
|
+
top: 0;
|
118
|
+
left: 0;
|
119
|
+
width: 100%;
|
120
|
+
height: 100%;
|
121
|
+
-webkit-appearance: button;
|
122
|
+
opacity: 0;
|
123
|
+
cursor: pointer; }
|
124
|
+
|
125
|
+
/*
|
126
|
+
* jQuery Mobile Framework
|
127
|
+
* Copyright (c) jQuery Project
|
128
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
129
|
+
*/
|
130
|
+
|
131
|
+
.ui-collapsible-contain {
|
132
|
+
margin: .5em 0; }
|
133
|
+
|
134
|
+
.ui-collapsible-heading {
|
135
|
+
font-size: 16px;
|
136
|
+
display: block;
|
137
|
+
margin: 0 -8px;
|
138
|
+
padding: 0;
|
139
|
+
border-width: 0 0 1px 0;
|
140
|
+
position: relative;
|
141
|
+
a {
|
142
|
+
text-align: left;
|
143
|
+
margin: 0;
|
144
|
+
.ui-btn-inner {
|
145
|
+
padding-left: 40px; }
|
146
|
+
span.ui-btn {
|
147
|
+
position: absolute;
|
148
|
+
left: 6px;
|
149
|
+
top: 50%;
|
150
|
+
margin: -12px 0 0 0;
|
151
|
+
width: 20px;
|
152
|
+
height: 20px;
|
153
|
+
padding: 1px 0px 1px 2px;
|
154
|
+
text-indent: -9999px;
|
155
|
+
.ui-btn-inner {
|
156
|
+
padding: 0; }
|
157
|
+
.ui-icon {
|
158
|
+
left: 0;
|
159
|
+
margin-top: -10px; } } } }
|
160
|
+
|
161
|
+
.ui-collapsible-heading-status {
|
162
|
+
position: absolute;
|
163
|
+
left: -9999px; }
|
164
|
+
|
165
|
+
.ui-collapsible-content {
|
166
|
+
display: block;
|
167
|
+
padding: 10px 0 10px 8px; }
|
168
|
+
|
169
|
+
.ui-collapsible-content-collapsed {
|
170
|
+
display: none; }
|
171
|
+
|
172
|
+
.ui-collapsible-set {
|
173
|
+
margin: .5em 0;
|
174
|
+
.ui-collapsible-contain {
|
175
|
+
margin: -1px 0 0; } }
|
176
|
+
|
177
|
+
/*
|
178
|
+
* jQuery Mobile Framework
|
179
|
+
* Copyright (c) jQuery Project
|
180
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
181
|
+
*/
|
182
|
+
|
183
|
+
.ui-controlgroup, fieldset.ui-controlgroup {
|
184
|
+
padding: 0;
|
185
|
+
margin: .5em 0 1em; }
|
186
|
+
|
187
|
+
.ui-bar .ui-controlgroup {
|
188
|
+
margin: 0 .3em; }
|
189
|
+
|
190
|
+
.ui-controlgroup-label {
|
191
|
+
font-size: 16px;
|
192
|
+
line-height: 1.4;
|
193
|
+
font-weight: normal;
|
194
|
+
margin: 0 0 .3em; }
|
195
|
+
|
196
|
+
.ui-controlgroup-controls {
|
197
|
+
display: block;
|
198
|
+
width: 95%; }
|
199
|
+
|
200
|
+
.ui-controlgroup li {
|
201
|
+
list-style: none; }
|
202
|
+
|
203
|
+
.ui-controlgroup-vertical {
|
204
|
+
.ui-btn, .ui-checkbox, .ui-radio {
|
205
|
+
margin: 0;
|
206
|
+
border-bottom-width: 0; }
|
207
|
+
.ui-controlgroup-last {
|
208
|
+
border-bottom-width: 1px; } }
|
209
|
+
|
210
|
+
.ui-controlgroup-horizontal {
|
211
|
+
padding: 0;
|
212
|
+
.ui-btn, .ui-checkbox, .ui-radio {
|
213
|
+
margin: 0 -5px 0 0;
|
214
|
+
display: inline-block; }
|
215
|
+
.ui-checkbox .ui-btn, .ui-radio .ui-btn, .ui-checkbox:last-child, .ui-radio:last-child, .ui-controlgroup-last {
|
216
|
+
margin-right: 0; } }
|
217
|
+
|
218
|
+
.ui-controlgroup {
|
219
|
+
.ui-checkbox label, .ui-radio label {
|
220
|
+
font-size: 16px; } }
|
221
|
+
|
222
|
+
/* conflicts with listview..
|
223
|
+
.ui-controlgroup .ui-btn-icon-notext { width: 30px; height: 30px; text-indent: -9999px; }
|
224
|
+
.ui-controlgroup .ui-btn-icon-notext .ui-btn-inner { padding: 5px 6px 5px 5px; }
|
225
|
+
*/
|
226
|
+
|
227
|
+
.min-width-480px {
|
228
|
+
.ui-controlgroup-label {
|
229
|
+
vertical-align: top;
|
230
|
+
display: inline-block;
|
231
|
+
width: 20%;
|
232
|
+
margin: 0 2% 0 0; }
|
233
|
+
.ui-controlgroup-controls {
|
234
|
+
width: 60%;
|
235
|
+
display: inline-block; } }
|
236
|
+
|
2
237
|
/*
|
3
238
|
* jQuery Mobile Framework
|
4
239
|
* Copyright (c) jQuery Project
|
@@ -60,11 +295,11 @@
|
|
60
295
|
position: absolute;
|
61
296
|
opacity: .85;
|
62
297
|
z-index: 10;
|
63
|
-
top: 75px;
|
64
298
|
left: 50%;
|
65
299
|
width: 200px;
|
66
300
|
margin-left: -130px;
|
67
|
-
|
301
|
+
margin-top: -35px;
|
302
|
+
padding: 10px 30px;
|
68
303
|
h1 {
|
69
304
|
font-size: 15px;
|
70
305
|
text-align: center; }
|
@@ -173,260 +408,345 @@
|
|
173
408
|
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
174
409
|
*/
|
175
410
|
|
176
|
-
.
|
177
|
-
-
|
178
|
-
|
179
|
-
|
180
|
-
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
-
|
185
|
-
to {
|
186
|
-
-webkit-transform: rotate(360deg); } }
|
187
|
-
|
411
|
+
.ui-dialog {
|
412
|
+
.ui-header, .ui-content, .ui-footer {
|
413
|
+
margin: 15px;
|
414
|
+
position: relative; }
|
415
|
+
.ui-header, .ui-footer {
|
416
|
+
z-index: 10;
|
417
|
+
width: auto; }
|
418
|
+
.ui-content, .ui-footer {
|
419
|
+
margin-top: -15px; } }
|
188
420
|
|
189
|
-
/*
|
190
|
-
|
421
|
+
/*
|
422
|
+
* jQuery Mobile Framework
|
423
|
+
* Copyright (c) jQuery Project
|
424
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
191
425
|
*/
|
192
426
|
|
193
|
-
.
|
194
|
-
|
195
|
-
|
427
|
+
.ui-checkbox, .ui-radio {
|
428
|
+
position: relative;
|
429
|
+
margin: .2em 0 .5em;
|
430
|
+
z-index: 1; }
|
196
431
|
|
197
|
-
.
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
&.out {
|
202
|
-
-webkit-transform: translateX(-100%);
|
203
|
-
-webkit-animation-name: slideouttoleft; }
|
204
|
-
&.in.reverse {
|
205
|
-
-webkit-transform: translateX(0);
|
206
|
-
-webkit-animation-name: slideinfromleft; }
|
207
|
-
&.out.reverse {
|
208
|
-
-webkit-transform: translateX(100%);
|
209
|
-
-webkit-animation-name: slideouttoright; } }
|
432
|
+
.ui-checkbox .ui-btn, .ui-radio .ui-btn {
|
433
|
+
margin: 0;
|
434
|
+
text-align: left;
|
435
|
+
z-index: 2; }
|
210
436
|
|
211
|
-
.
|
212
|
-
|
213
|
-
-webkit-transform: translateY(0);
|
214
|
-
-webkit-animation-name: slideinfrombottom;
|
215
|
-
z-index: 10; }
|
216
|
-
&.out {
|
217
|
-
-webkit-animation-name: dontmove;
|
218
|
-
z-index: 0;
|
219
|
-
&.reverse {
|
220
|
-
-webkit-transform: translateY(100%);
|
221
|
-
z-index: 10;
|
222
|
-
-webkit-animation-name: slideouttobottom; } }
|
223
|
-
&.in.reverse {
|
224
|
-
z-index: 0;
|
225
|
-
-webkit-animation-name: dontmove; } }
|
437
|
+
.ui-checkbox .ui-btn-icon-left .ui-btn-inner, .ui-radio .ui-btn-icon-left .ui-btn-inner {
|
438
|
+
padding-left: 45px; }
|
226
439
|
|
227
|
-
.
|
228
|
-
|
229
|
-
-webkit-transform: translateY(0);
|
230
|
-
-webkit-animation-name: slideinfromtop;
|
231
|
-
z-index: 10; }
|
232
|
-
&.out {
|
233
|
-
-webkit-animation-name: dontmove;
|
234
|
-
z-index: 0;
|
235
|
-
&.reverse {
|
236
|
-
-webkit-transform: translateY(-100%);
|
237
|
-
z-index: 10;
|
238
|
-
-webkit-animation-name: slideouttotop; } }
|
239
|
-
&.in.reverse {
|
240
|
-
z-index: 0;
|
241
|
-
-webkit-animation-name: dontmove; } }
|
440
|
+
.ui-checkbox .ui-btn-icon-right .ui-btn-inner, .ui-radio .ui-btn-icon-right .ui-btn-inner {
|
441
|
+
padding-right: 45px; }
|
242
442
|
|
243
|
-
|
244
|
-
|
245
|
-
-webkit-transform: translateX(100%); }
|
246
|
-
to {
|
247
|
-
-webkit-transform: translateX(0); } }
|
443
|
+
.ui-checkbox .ui-btn-icon-left .ui-icon, .ui-radio .ui-btn-icon-left .ui-icon {
|
444
|
+
left: 15px; }
|
248
445
|
|
446
|
+
.ui-checkbox .ui-btn-icon-right .ui-icon, .ui-radio .ui-btn-icon-right .ui-icon {
|
447
|
+
right: 15px; }
|
249
448
|
|
250
|
-
|
251
|
-
from {
|
252
|
-
-webkit-transform: translateX(-100%); }
|
253
|
-
to {
|
254
|
-
-webkit-transform: translateX(0); } }
|
449
|
+
/* input, label positioning */
|
255
450
|
|
451
|
+
.ui-checkbox input, .ui-radio input {
|
452
|
+
position: absolute;
|
453
|
+
left: 20px;
|
454
|
+
top: 50%;
|
455
|
+
width: 10px;
|
456
|
+
height: 10px;
|
457
|
+
margin: -5px 0 0 0;
|
458
|
+
outline: 0 !important;
|
459
|
+
z-index: 1; }
|
256
460
|
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
461
|
+
/*
|
462
|
+
* jQuery Mobile Framework
|
463
|
+
* Copyright (c) jQuery Project
|
464
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
465
|
+
*/
|
262
466
|
|
467
|
+
.ui-field-contain {
|
468
|
+
background: none;
|
469
|
+
padding: 1.5em 0;
|
470
|
+
margin: 0;
|
471
|
+
border-bottom-width: 1px;
|
472
|
+
overflow: visible;
|
473
|
+
&:first-child {
|
474
|
+
border-top-width: 0; } }
|
263
475
|
|
264
|
-
|
265
|
-
|
266
|
-
-
|
267
|
-
|
268
|
-
|
476
|
+
@media screen and (max-width: 480px) {
|
477
|
+
.ui-field-contain {
|
478
|
+
border-width: 0;
|
479
|
+
padding: 0;
|
480
|
+
margin: 1em 0; } }
|
269
481
|
|
482
|
+
/*
|
483
|
+
* jQuery Mobile Framework
|
484
|
+
* Copyright (c) jQuery Project
|
485
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
486
|
+
*/
|
270
487
|
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
488
|
+
.ui-select {
|
489
|
+
display: block;
|
490
|
+
position: relative;
|
491
|
+
select {
|
492
|
+
position: absolute;
|
493
|
+
left: -9999px;
|
494
|
+
top: -9999px; }
|
495
|
+
a select {
|
496
|
+
cursor: pointer;
|
497
|
+
-webkit-appearance: button;
|
498
|
+
left: 0;
|
499
|
+
top: 0;
|
500
|
+
width: 100%;
|
501
|
+
height: 100%;
|
502
|
+
opacity: 0; }
|
503
|
+
.ui-btn-icon-right {
|
504
|
+
.ui-btn-inner {
|
505
|
+
padding-right: 45px; }
|
506
|
+
.ui-icon {
|
507
|
+
right: 15px; } } }
|
276
508
|
|
509
|
+
/* labels */
|
277
510
|
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
511
|
+
label.ui-select {
|
512
|
+
font-size: 16px;
|
513
|
+
line-height: 1.4;
|
514
|
+
font-weight: normal;
|
515
|
+
margin: 0 0 .3em;
|
516
|
+
display: block; }
|
283
517
|
|
518
|
+
/*listbox*/
|
284
519
|
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
to {
|
289
|
-
-webkit-transform: translateY(100%); } }
|
520
|
+
.ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text {
|
521
|
+
display: inline-block;
|
522
|
+
min-height: 1em; }
|
290
523
|
|
524
|
+
.ui-select .ui-btn-text {
|
525
|
+
text-overflow: ellipsis;
|
526
|
+
overflow: hidden;
|
527
|
+
width: 85%; }
|
291
528
|
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
529
|
+
.ui-selectmenu {
|
530
|
+
position: absolute;
|
531
|
+
padding: 0;
|
532
|
+
z-index: 100 !important;
|
533
|
+
width: 80%;
|
534
|
+
max-width: 350px;
|
535
|
+
padding: 6px;
|
536
|
+
.ui-listview {
|
537
|
+
margin: 0; }
|
538
|
+
.ui-btn.ui-li-divider {
|
539
|
+
cursor: default; } }
|
297
540
|
|
541
|
+
.ui-selectmenu-hidden {
|
542
|
+
top: -9999px;
|
543
|
+
left: -9999px; }
|
298
544
|
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
545
|
+
.ui-selectmenu-screen {
|
546
|
+
position: absolute;
|
547
|
+
top: 0;
|
548
|
+
left: 0;
|
549
|
+
width: 100%;
|
550
|
+
height: 100%;
|
551
|
+
z-index: 99; }
|
304
552
|
|
553
|
+
.ui-screen-hidden {
|
554
|
+
display: none; }
|
305
555
|
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
to {
|
310
|
-
opacity: 0; } }
|
556
|
+
.ui-selectmenu-list .ui-li .ui-icon {
|
557
|
+
display: none;
|
558
|
+
display: block; }
|
311
559
|
|
560
|
+
.ui-li.ui-selectmenu-placeholder {
|
561
|
+
display: none; }
|
312
562
|
|
313
|
-
.
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
563
|
+
.min-width-480px {
|
564
|
+
label.ui-select {
|
565
|
+
display: inline-block;
|
566
|
+
width: 20%;
|
567
|
+
margin: 0 2% 0 0; }
|
568
|
+
.ui-select {
|
569
|
+
width: 60%;
|
570
|
+
display: inline-block; } }
|
321
571
|
|
322
|
-
/*
|
323
|
-
* We need specify the perspective to create a projection matrix. This will add
|
324
|
-
* some depth as the element flips. The depth number represents the distance of
|
325
|
-
* the viewer from the z-plane. According to the CSS3 spec, 1000 is a moderate
|
326
|
-
* value.
|
327
|
-
*/
|
572
|
+
/* when no placeholder is defined in a multiple select, the header height doesn't even extend past the close button. this shim's content in there */
|
328
573
|
|
329
|
-
.ui-
|
330
|
-
|
331
|
-
|
574
|
+
.ui-selectmenu .ui-header h1:after {
|
575
|
+
content: '.';
|
576
|
+
visibility: hidden; }
|
332
577
|
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
width: 100%;
|
339
|
-
height: 100%;
|
340
|
-
overflow: hidden; } }
|
578
|
+
/*
|
579
|
+
* jQuery Mobile Framework
|
580
|
+
* Copyright (c) jQuery Project
|
581
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
582
|
+
*/
|
341
583
|
|
342
|
-
.
|
343
|
-
|
344
|
-
-webkit-backface-visibility: hidden;
|
345
|
-
-webkit-transform: translateX(0);
|
346
|
-
/* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
|
347
|
-
&.in {
|
348
|
-
-webkit-transform: rotateY(0) scale(1);
|
349
|
-
-webkit-animation-name: flipinfromleft; }
|
350
|
-
&.out {
|
351
|
-
-webkit-transform: rotateY(-180deg) scale(0.8);
|
352
|
-
-webkit-animation-name: flipouttoleft; }
|
353
|
-
&.in.reverse {
|
354
|
-
-webkit-transform: rotateY(0) scale(1);
|
355
|
-
-webkit-animation-name: flipinfromright; }
|
356
|
-
&.out.reverse {
|
357
|
-
-webkit-transform: rotateY(180deg) scale(0.8);
|
358
|
-
-webkit-animation-name: flipouttoright; } }
|
584
|
+
label.ui-slider {
|
585
|
+
display: block; }
|
359
586
|
|
360
|
-
|
587
|
+
input.ui-slider-input, .min-width-480px input.ui-slider-input {
|
588
|
+
display: inline-block;
|
589
|
+
width: 50px; }
|
361
590
|
|
362
|
-
|
363
|
-
|
364
|
-
-webkit-transform: rotateY(-180deg) scale(0.8); }
|
365
|
-
to {
|
366
|
-
-webkit-transform: rotateY(0) scale(1); } }
|
591
|
+
select.ui-slider-switch {
|
592
|
+
display: none; }
|
367
593
|
|
594
|
+
div.ui-slider {
|
595
|
+
position: relative;
|
596
|
+
display: inline-block;
|
597
|
+
overflow: visible;
|
598
|
+
height: 15px;
|
599
|
+
padding: 0;
|
600
|
+
margin: 0 2% 0 20px;
|
601
|
+
top: 4px;
|
602
|
+
width: 66%; }
|
368
603
|
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
604
|
+
a.ui-slider-handle {
|
605
|
+
position: absolute;
|
606
|
+
z-index: 10;
|
607
|
+
top: 50%;
|
608
|
+
width: 28px;
|
609
|
+
height: 28px;
|
610
|
+
margin-top: -15px;
|
611
|
+
margin-left: -15px;
|
612
|
+
.ui-btn-inner {
|
613
|
+
padding-left: 0;
|
614
|
+
padding-right: 0; } }
|
374
615
|
|
616
|
+
.min-width-480px {
|
617
|
+
label.ui-slider {
|
618
|
+
display: inline-block;
|
619
|
+
width: 20%;
|
620
|
+
margin: 0 2% 0 0; }
|
621
|
+
div.ui-slider {
|
622
|
+
width: 45%; } }
|
375
623
|
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
-
|
624
|
+
div {
|
625
|
+
&.ui-slider-switch {
|
626
|
+
height: 32px;
|
627
|
+
overflow: hidden;
|
628
|
+
margin-left: 0; }
|
629
|
+
&.ui-slider-inneroffset {
|
630
|
+
margin-left: 50%;
|
631
|
+
position: absolute;
|
632
|
+
top: 1px;
|
633
|
+
height: 100%;
|
634
|
+
width: 50%; }
|
635
|
+
&.ui-slider-handle-snapping {
|
636
|
+
-webkit-transition: left 100ms linear; }
|
637
|
+
&.ui-slider-labelbg {
|
638
|
+
position: absolute;
|
639
|
+
top: 0;
|
640
|
+
margin: 0;
|
641
|
+
border-width: 0; }
|
642
|
+
&.ui-slider-switch div {
|
643
|
+
&.ui-slider-labelbg-a {
|
644
|
+
width: 60%;
|
645
|
+
height: 100%;
|
646
|
+
left: 0; }
|
647
|
+
&.ui-slider-labelbg-b {
|
648
|
+
width: 60%;
|
649
|
+
height: 100%;
|
650
|
+
right: 0; } } }
|
381
651
|
|
652
|
+
.ui-slider-switch-a div.ui-slider-labelbg-a, .ui-slider-switch-b div.ui-slider-labelbg-b {
|
653
|
+
z-index: 1; }
|
382
654
|
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
655
|
+
.ui-slider-switch-a div.ui-slider-labelbg-b, .ui-slider-switch-b div.ui-slider-labelbg-a {
|
656
|
+
z-index: 10; }
|
657
|
+
|
658
|
+
div.ui-slider-switch a.ui-slider-handle {
|
659
|
+
z-index: 20;
|
660
|
+
width: 101%;
|
661
|
+
height: 32px;
|
662
|
+
margin-top: -18px;
|
663
|
+
margin-left: -101%; }
|
388
664
|
|
665
|
+
span {
|
666
|
+
&.ui-slider-label {
|
667
|
+
width: 100%;
|
668
|
+
position: absolute;
|
669
|
+
height: 32px;
|
670
|
+
font-size: 16px;
|
671
|
+
text-align: center;
|
672
|
+
line-height: 2;
|
673
|
+
background: none;
|
674
|
+
border-color: transparent; }
|
675
|
+
&.ui-slider-label-a {
|
676
|
+
left: -100%;
|
677
|
+
margin-right: -1px; }
|
678
|
+
&.ui-slider-label-b {
|
679
|
+
right: -100%;
|
680
|
+
margin-left: -1px; } }
|
389
681
|
|
390
|
-
/*
|
682
|
+
/*
|
683
|
+
* jQuery Mobile Framework
|
684
|
+
* Copyright (c) jQuery Project
|
685
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
686
|
+
*/
|
391
687
|
|
392
|
-
|
393
|
-
|
394
|
-
|
688
|
+
label.ui-input-text {
|
689
|
+
font-size: 16px;
|
690
|
+
line-height: 1.4;
|
691
|
+
display: block;
|
692
|
+
font-weight: normal;
|
693
|
+
margin: 0 0 .3em; }
|
395
694
|
|
695
|
+
input.ui-input-text, textarea.ui-input-text {
|
696
|
+
background-image: none;
|
697
|
+
padding: .4em;
|
698
|
+
line-height: 1.4;
|
699
|
+
font-size: 16px;
|
700
|
+
display: block;
|
701
|
+
width: 95%; }
|
396
702
|
|
397
|
-
.
|
398
|
-
-webkit-
|
399
|
-
&.in {
|
400
|
-
-webkit-transform: scale(1);
|
401
|
-
opacity: 1;
|
402
|
-
-webkit-animation-name: popin;
|
403
|
-
z-index: 10; }
|
404
|
-
&.out.reverse {
|
405
|
-
-webkit-transform: scale(0.2);
|
406
|
-
opacity: 0;
|
407
|
-
-webkit-animation-name: popout;
|
408
|
-
z-index: 10; }
|
409
|
-
&.in.reverse {
|
410
|
-
z-index: 0;
|
411
|
-
-webkit-animation-name: dontmove; } }
|
703
|
+
input.ui-input-text {
|
704
|
+
-webkit-appearance: none; }
|
412
705
|
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
opacity: 1; } }
|
706
|
+
textarea.ui-input-text {
|
707
|
+
height: 50px;
|
708
|
+
-webkit-transition: height 200ms linear;
|
709
|
+
-moz-transition: height 200ms linear;
|
710
|
+
-o-transition: height 200ms linear;
|
711
|
+
transition: height 200ms linear; }
|
420
712
|
|
713
|
+
.ui-input-search {
|
714
|
+
padding: 0 30px;
|
715
|
+
width: 77%;
|
716
|
+
background-position: 8px 50%;
|
717
|
+
background-repeat: no-repeat;
|
718
|
+
position: relative;
|
719
|
+
input.ui-input-text {
|
720
|
+
border: none;
|
721
|
+
width: 98%;
|
722
|
+
padding: .4em 0;
|
723
|
+
margin: 0;
|
724
|
+
display: block;
|
725
|
+
background: transparent none;
|
726
|
+
outline: 0 !important; }
|
727
|
+
.ui-input-clear {
|
728
|
+
position: absolute;
|
729
|
+
right: 2px;
|
730
|
+
top: 50%;
|
731
|
+
margin-top: -12px; }
|
732
|
+
.ui-input-clear-hidden {
|
733
|
+
display: none; } }
|
421
734
|
|
422
|
-
|
423
|
-
from {
|
424
|
-
-webkit-transform: scale(1);
|
425
|
-
opacity: 1; }
|
426
|
-
to {
|
427
|
-
-webkit-transform: scale(0.2);
|
428
|
-
opacity: 0; } }
|
735
|
+
/* orientation adjustments - incomplete!*/
|
429
736
|
|
737
|
+
.min-width-480px {
|
738
|
+
label.ui-input-text {
|
739
|
+
vertical-align: top;
|
740
|
+
display: inline-block;
|
741
|
+
width: 20%;
|
742
|
+
margin: 0 2% 0 0; }
|
743
|
+
input.ui-input-text, textarea.ui-input-text {
|
744
|
+
width: 60%;
|
745
|
+
display: inline-block; }
|
746
|
+
.ui-input-search {
|
747
|
+
width: 60%;
|
748
|
+
display: inline-block;
|
749
|
+
width: 50%; } }
|
430
750
|
|
431
751
|
/*
|
432
752
|
* jQuery Mobile Framework
|
@@ -519,52 +839,231 @@ Built by David Kaneda and maintained by Jonathan Stark.
|
|
519
839
|
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
520
840
|
*/
|
521
841
|
|
522
|
-
.ui-
|
523
|
-
|
524
|
-
|
525
|
-
list-style: none;
|
526
|
-
padding: 0;
|
527
|
-
margin: 0;
|
528
|
-
position: relative;
|
529
|
-
display: block;
|
530
|
-
border: 0; } }
|
842
|
+
.ui-listview {
|
843
|
+
margin: 0;
|
844
|
+
counter-reset: listnumbering; }
|
531
845
|
|
532
|
-
.ui-
|
846
|
+
.ui-content {
|
847
|
+
.ui-listview {
|
848
|
+
margin: -15px; }
|
849
|
+
.ui-listview-inset {
|
850
|
+
margin: 1em 0; } }
|
851
|
+
|
852
|
+
.ui-listview {
|
853
|
+
list-style: none;
|
854
|
+
padding: 0;
|
855
|
+
zoom: 1; }
|
856
|
+
|
857
|
+
.ui-li {
|
533
858
|
list-style: none;
|
534
859
|
padding: 0;
|
860
|
+
zoom: 1;
|
861
|
+
display: block;
|
535
862
|
margin: 0;
|
536
863
|
position: relative;
|
537
|
-
|
538
|
-
|
864
|
+
overflow: hidden;
|
865
|
+
text-align: left;
|
866
|
+
border-width: 0;
|
867
|
+
border-top-width: 1px;
|
868
|
+
.ui-btn-text {
|
869
|
+
text-overflow: ellipsis;
|
870
|
+
overflow: hidden;
|
871
|
+
white-space: nowrap; } }
|
539
872
|
|
540
|
-
.ui-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
873
|
+
.ui-li-divider, .ui-li-static {
|
874
|
+
padding: .5em 15px;
|
875
|
+
font-size: 14px;
|
876
|
+
font-weight: bold;
|
877
|
+
counter-reset: listnumbering; }
|
878
|
+
|
879
|
+
ol.ui-listview .ui-link-inherit:before, .ui-li-dec {
|
880
|
+
font-size: .8em;
|
881
|
+
display: inline-block;
|
882
|
+
padding-right: .3em;
|
883
|
+
font-weight: normal;
|
884
|
+
counter-increment: listnumbering;
|
885
|
+
content: counter(listnumbering) ". "; }
|
886
|
+
|
887
|
+
ol.ui-listview .ui-li-jsnumbering:before {
|
888
|
+
content: "" !important; }
|
889
|
+
|
890
|
+
/* to avoid chance of duplication */
|
891
|
+
|
892
|
+
.ui-listview-inset .ui-li {
|
893
|
+
border-right-width: 1px;
|
894
|
+
border-left-width: 1px; }
|
895
|
+
|
896
|
+
.ui-li {
|
897
|
+
&:last-child {
|
898
|
+
border-bottom-width: 1px; }
|
899
|
+
.ui-btn-inner {
|
900
|
+
display: block;
|
901
|
+
position: relative;
|
902
|
+
padding: .7em 75px .7em 15px; } }
|
903
|
+
|
904
|
+
.ui-li-has-thumb .ui-btn-inner {
|
905
|
+
min-height: 60px;
|
906
|
+
padding-left: 100px; }
|
907
|
+
|
908
|
+
.ui-li-has-icon .ui-btn-inner {
|
909
|
+
min-height: 20px;
|
910
|
+
padding-left: 40px; }
|
911
|
+
|
912
|
+
.ui-li-heading {
|
913
|
+
font-size: 16px;
|
914
|
+
font-weight: bold;
|
915
|
+
display: block;
|
916
|
+
margin: .6em 0;
|
917
|
+
text-overflow: ellipsis;
|
918
|
+
overflow: hidden;
|
919
|
+
white-space: nowrap; }
|
920
|
+
|
921
|
+
.ui-li-desc {
|
922
|
+
font-size: 12px;
|
923
|
+
font-weight: normal;
|
924
|
+
display: block;
|
925
|
+
margin: -0.5em 0 0.6em;
|
926
|
+
text-overflow: ellipsis;
|
927
|
+
overflow: hidden;
|
928
|
+
white-space: nowrap; }
|
929
|
+
|
930
|
+
.ui-li-thumb {
|
931
|
+
position: absolute;
|
932
|
+
left: 1px;
|
933
|
+
top: 0;
|
934
|
+
max-height: 80px;
|
935
|
+
max-width: 80px; }
|
936
|
+
|
937
|
+
.ui-li-icon {
|
938
|
+
position: absolute;
|
939
|
+
left: 1px;
|
940
|
+
top: 0;
|
941
|
+
max-height: 80px;
|
942
|
+
max-width: 80px;
|
943
|
+
max-height: 40px;
|
944
|
+
max-width: 40px;
|
945
|
+
left: 10px;
|
946
|
+
top: .9em; }
|
947
|
+
|
948
|
+
.ui-li-thumb, .ui-li-icon, .ui-li-content {
|
949
|
+
float: left;
|
950
|
+
margin-right: 10px; }
|
951
|
+
|
952
|
+
.ui-li-aside {
|
953
|
+
float: right;
|
954
|
+
width: 50%;
|
955
|
+
text-align: right;
|
956
|
+
margin: .3em 0; }
|
957
|
+
|
958
|
+
.min-width-480px .ui-li-aside {
|
959
|
+
width: 45%; }
|
960
|
+
|
961
|
+
.ui-li-has-alt .ui-btn-inner {
|
962
|
+
padding-right: 95px; }
|
963
|
+
|
964
|
+
.ui-li-count {
|
965
|
+
position: absolute;
|
966
|
+
font-size: 11px;
|
967
|
+
font-weight: bold;
|
968
|
+
padding: .2em .5em;
|
969
|
+
top: 50%;
|
970
|
+
margin-top: -0.9em;
|
971
|
+
right: 38px; }
|
972
|
+
|
973
|
+
.ui-li-divider .ui-li-count {
|
974
|
+
right: 10px; }
|
975
|
+
|
976
|
+
.ui-li-has-alt .ui-li-count {
|
977
|
+
right: 55px; }
|
978
|
+
|
979
|
+
.ui-li-link-alt {
|
980
|
+
position: absolute;
|
981
|
+
width: 40px;
|
982
|
+
height: 100%;
|
983
|
+
border-width: 0;
|
984
|
+
border-left-width: 1px;
|
985
|
+
top: 0;
|
986
|
+
right: 0;
|
987
|
+
margin: 0;
|
988
|
+
padding: 0;
|
989
|
+
.ui-btn {
|
990
|
+
overflow: hidden;
|
991
|
+
position: absolute;
|
992
|
+
right: 8px;
|
993
|
+
top: 50%;
|
994
|
+
margin: -11px 0 0 0;
|
995
|
+
border-bottom-width: 1px; }
|
996
|
+
.ui-btn-inner {
|
997
|
+
padding: 0;
|
998
|
+
position: static; }
|
999
|
+
.ui-btn .ui-icon {
|
1000
|
+
right: 50%;
|
1001
|
+
margin-right: -9px; } }
|
1002
|
+
|
1003
|
+
.ui-listview-filter {
|
1004
|
+
border-width: 0;
|
1005
|
+
overflow: hidden;
|
1006
|
+
margin: -15px -15px 15px -15px;
|
1007
|
+
.ui-input-search {
|
1008
|
+
margin: 5px;
|
1009
|
+
width: auto;
|
1010
|
+
display: block; } }
|
1011
|
+
|
1012
|
+
/* Odd iPad positioning issue. */
|
1013
|
+
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
1014
|
+
.ui-li .ui-btn-text {
|
1015
|
+
overflow: visible; } }
|
1016
|
+
|
1017
|
+
/*
|
1018
|
+
* jQuery Mobile Framework
|
1019
|
+
* Copyright (c) jQuery Project
|
1020
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
1021
|
+
*/
|
1022
|
+
|
1023
|
+
.ui-navbar {
|
1024
|
+
overflow: hidden;
|
1025
|
+
ul {
|
1026
|
+
list-style: none;
|
1027
|
+
padding: 0;
|
1028
|
+
margin: 0;
|
1029
|
+
position: relative;
|
1030
|
+
display: block;
|
1031
|
+
border: 0; } }
|
1032
|
+
|
1033
|
+
.ui-navbar-expanded ul {
|
1034
|
+
list-style: none;
|
1035
|
+
padding: 0;
|
1036
|
+
margin: 0;
|
1037
|
+
position: relative;
|
1038
|
+
display: block;
|
1039
|
+
border: 0; }
|
1040
|
+
|
1041
|
+
.ui-navbar-collapsed {
|
1042
|
+
ul {
|
1043
|
+
float: left;
|
1044
|
+
width: 75%;
|
1045
|
+
margin-right: -2px; }
|
1046
|
+
.ui-navbar-toggle {
|
1047
|
+
float: left;
|
1048
|
+
width: 25%; } }
|
548
1049
|
|
549
1050
|
.ui-navbar {
|
550
1051
|
li {
|
551
1052
|
&.ui-navbar-truncate {
|
552
1053
|
position: absolute;
|
553
|
-
left: -
|
554
|
-
top: -
|
1054
|
+
left: -9999px;
|
1055
|
+
top: -9999px; }
|
555
1056
|
.ui-btn {
|
556
1057
|
display: block;
|
557
1058
|
font-size: 12px;
|
558
1059
|
text-align: center;
|
559
1060
|
margin: 0;
|
560
|
-
outline: none;
|
561
1061
|
border-right-width: 0; } }
|
562
1062
|
.ui-navbar-toggle .ui-btn {
|
563
1063
|
display: block;
|
564
1064
|
font-size: 12px;
|
565
1065
|
text-align: center;
|
566
1066
|
margin: 0;
|
567
|
-
outline: none;
|
568
1067
|
border-right-width: 0; }
|
569
1068
|
li .ui-btn {
|
570
1069
|
margin-right: -1px;
|
@@ -623,857 +1122,258 @@ Built by David Kaneda and maintained by Jonathan Stark.
|
|
623
1122
|
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
624
1123
|
*/
|
625
1124
|
|
626
|
-
.
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
margin: .5em 5px;
|
632
|
-
padding: 0;
|
633
|
-
&:focus, a:focus {
|
634
|
-
outline: none; }
|
635
|
-
&:visited {
|
636
|
-
color: #fff; } }
|
1125
|
+
.spin {
|
1126
|
+
-webkit-transform: rotate(360deg);
|
1127
|
+
-webkit-animation-name: spin;
|
1128
|
+
-webkit-animation-duration: 1s;
|
1129
|
+
-webkit-animation-iteration-count: infinite; }
|
637
1130
|
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
1131
|
+
@-webkit-keyframes spin {
|
1132
|
+
from {
|
1133
|
+
-webkit-transform: rotate(0deg); }
|
1134
|
+
to {
|
1135
|
+
-webkit-transform: rotate(360deg); } }
|
642
1136
|
|
643
|
-
.ui-btn-inline {
|
644
|
-
display: inline-block; }
|
645
1137
|
|
646
|
-
.
|
647
|
-
|
648
|
-
|
649
|
-
height: 100%;
|
650
|
-
text-overflow: ellipsis;
|
651
|
-
overflow: hidden;
|
652
|
-
white-space: nowrap;
|
653
|
-
position: relative; }
|
1138
|
+
/* Transitions from jQtouch (with small modifications): http://www.jqtouch.com/
|
1139
|
+
Built by David Kaneda and maintained by Jonathan Stark.
|
1140
|
+
*/
|
654
1141
|
|
655
|
-
.
|
656
|
-
|
1142
|
+
.in, .out {
|
1143
|
+
-webkit-animation-timing-function: ease-in-out;
|
1144
|
+
-webkit-animation-duration: 350ms; }
|
657
1145
|
|
658
|
-
.
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
1146
|
+
.slide {
|
1147
|
+
&.in {
|
1148
|
+
-webkit-transform: translateX(0);
|
1149
|
+
-webkit-animation-name: slideinfromright; }
|
1150
|
+
&.out {
|
1151
|
+
-webkit-transform: translateX(-100%);
|
1152
|
+
-webkit-animation-name: slideouttoleft; }
|
1153
|
+
&.in.reverse {
|
1154
|
+
-webkit-transform: translateX(0);
|
1155
|
+
-webkit-animation-name: slideinfromleft; }
|
1156
|
+
&.out.reverse {
|
1157
|
+
-webkit-transform: translateX(100%);
|
1158
|
+
-webkit-animation-name: slideouttoright; } }
|
669
1159
|
|
670
|
-
.
|
671
|
-
|
1160
|
+
.slideup {
|
1161
|
+
&.in {
|
1162
|
+
-webkit-transform: translateY(0);
|
1163
|
+
-webkit-animation-name: slideinfrombottom;
|
1164
|
+
z-index: 10; }
|
1165
|
+
&.out {
|
1166
|
+
-webkit-animation-name: dontmove;
|
1167
|
+
z-index: 0;
|
1168
|
+
&.reverse {
|
1169
|
+
-webkit-transform: translateY(100%);
|
1170
|
+
z-index: 10;
|
1171
|
+
-webkit-animation-name: slideouttobottom; } }
|
1172
|
+
&.in.reverse {
|
1173
|
+
z-index: 0;
|
1174
|
+
-webkit-animation-name: dontmove; } }
|
672
1175
|
|
673
|
-
.
|
674
|
-
|
1176
|
+
.slidedown {
|
1177
|
+
&.in {
|
1178
|
+
-webkit-transform: translateY(0);
|
1179
|
+
-webkit-animation-name: slideinfromtop;
|
1180
|
+
z-index: 10; }
|
1181
|
+
&.out {
|
1182
|
+
-webkit-animation-name: dontmove;
|
1183
|
+
z-index: 0;
|
1184
|
+
&.reverse {
|
1185
|
+
-webkit-transform: translateY(-100%);
|
1186
|
+
z-index: 10;
|
1187
|
+
-webkit-animation-name: slideouttotop; } }
|
1188
|
+
&.in.reverse {
|
1189
|
+
z-index: 0;
|
1190
|
+
-webkit-animation-name: dontmove; } }
|
675
1191
|
|
676
|
-
|
677
|
-
|
1192
|
+
@-webkit-keyframes slideinfromright {
|
1193
|
+
from {
|
1194
|
+
-webkit-transform: translateX(100%); }
|
1195
|
+
to {
|
1196
|
+
-webkit-transform: translateX(0); } }
|
678
1197
|
|
679
|
-
.ui-header .ui-btn-icon-right .ui-btn-inner, .ui-footer .ui-btn-icon-right .ui-btn-inner, .ui-bar .ui-btn-icon-right .ui-btn-inner {
|
680
|
-
padding-right: 27px; }
|
681
1198
|
|
682
|
-
|
683
|
-
|
1199
|
+
@-webkit-keyframes slideinfromleft {
|
1200
|
+
from {
|
1201
|
+
-webkit-transform: translateX(-100%); }
|
1202
|
+
to {
|
1203
|
+
-webkit-transform: translateX(0); } }
|
684
1204
|
|
685
|
-
.ui-header .ui-btn-icon-top .ui-btn-inner, .ui-footer .ui-btn-icon-top .ui-btn-inner, .ui-bar .ui-btn-icon-top .ui-btn-inner {
|
686
|
-
padding-top: 27px; }
|
687
1205
|
|
688
|
-
|
689
|
-
|
1206
|
+
@-webkit-keyframes slideouttoleft {
|
1207
|
+
from {
|
1208
|
+
-webkit-transform: translateX(0); }
|
1209
|
+
to {
|
1210
|
+
-webkit-transform: translateX(-100%); } }
|
690
1211
|
|
691
|
-
.ui-header .ui-btn-icon-bottom .ui-btn-inner, .ui-footer .ui-btn-icon-bottom .ui-btn-inner, .ui-bar .ui-btn-icon-bottom .ui-btn-inner {
|
692
|
-
padding-bottom: 27px; }
|
693
1212
|
|
694
|
-
|
1213
|
+
@-webkit-keyframes slideouttoright {
|
1214
|
+
from {
|
1215
|
+
-webkit-transform: translateX(0); }
|
1216
|
+
to {
|
1217
|
+
-webkit-transform: translateX(100%); } }
|
695
1218
|
|
696
|
-
.ui-btn-icon-notext .ui-icon {
|
697
|
-
display: block; }
|
698
1219
|
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
1220
|
+
@-webkit-keyframes slideinfromtop {
|
1221
|
+
from {
|
1222
|
+
-webkit-transform: translateY(-100%); }
|
1223
|
+
to {
|
1224
|
+
-webkit-transform: translateY(0); } }
|
703
1225
|
|
704
|
-
.ui-btn-icon-top .ui-icon, .ui-btn-icon-bottom .ui-icon {
|
705
|
-
position: absolute;
|
706
|
-
left: 50%;
|
707
|
-
margin-left: -9px; }
|
708
1226
|
|
709
|
-
|
710
|
-
|
1227
|
+
@-webkit-keyframes slideinfrombottom {
|
1228
|
+
from {
|
1229
|
+
-webkit-transform: translateY(100%); }
|
1230
|
+
to {
|
1231
|
+
-webkit-transform: translateY(0); } }
|
711
1232
|
|
712
|
-
.ui-btn-icon-right .ui-icon {
|
713
|
-
right: 10px; }
|
714
1233
|
|
715
|
-
|
716
|
-
|
1234
|
+
@-webkit-keyframes slideouttobottom {
|
1235
|
+
from {
|
1236
|
+
-webkit-transform: translateY(0); }
|
1237
|
+
to {
|
1238
|
+
-webkit-transform: translateY(100%); } }
|
717
1239
|
|
718
|
-
.ui-header .ui-btn-icon-right .ui-icon, .ui-footer .ui-btn-icon-right .ui-icon, .ui-bar .ui-btn-icon-right .ui-icon {
|
719
|
-
right: 4px; }
|
720
1240
|
|
721
|
-
|
722
|
-
|
1241
|
+
@-webkit-keyframes slideouttotop {
|
1242
|
+
from {
|
1243
|
+
-webkit-transform: translateY(0); }
|
1244
|
+
to {
|
1245
|
+
-webkit-transform: translateY(-100%); } }
|
723
1246
|
|
724
|
-
.ui-header .ui-btn-icon-bottom .ui-icon, .ui-footer .ui-btn-icon-bottom .ui-icon, .ui-bar .ui-btn-icon-bottom .ui-icon {
|
725
|
-
bottom: 4px; }
|
726
1247
|
|
727
|
-
|
728
|
-
|
1248
|
+
@-webkit-keyframes fadein {
|
1249
|
+
from {
|
1250
|
+
opacity: 0; }
|
1251
|
+
to {
|
1252
|
+
opacity: 1; } }
|
729
1253
|
|
730
|
-
.ui-btn-icon-bottom .ui-icon {
|
731
|
-
bottom: 5px; }
|
732
1254
|
|
733
|
-
|
1255
|
+
@-webkit-keyframes fadeout {
|
1256
|
+
from {
|
1257
|
+
opacity: 1; }
|
1258
|
+
to {
|
1259
|
+
opacity: 0; } }
|
734
1260
|
|
735
|
-
.ui-btn-hidden {
|
736
|
-
position: absolute;
|
737
|
-
top: 0;
|
738
|
-
left: 0;
|
739
|
-
width: 100%;
|
740
|
-
height: 100%;
|
741
|
-
-webkit-appearance: button;
|
742
|
-
opacity: 0;
|
743
|
-
cursor: pointer; }
|
744
1261
|
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
1262
|
+
.fade {
|
1263
|
+
&.in {
|
1264
|
+
opacity: 1;
|
1265
|
+
z-index: 10;
|
1266
|
+
-webkit-animation-name: fadein; }
|
1267
|
+
&.out {
|
1268
|
+
z-index: 0;
|
1269
|
+
-webkit-animation-name: fadeout; } }
|
750
1270
|
|
751
|
-
.
|
752
|
-
|
1271
|
+
/* The properties in this body rule are only necessary for the 'flip' transition.
|
1272
|
+
* We need specify the perspective to create a projection matrix. This will add
|
1273
|
+
* some depth as the element flips. The depth number represents the distance of
|
1274
|
+
* the viewer from the z-plane. According to the CSS3 spec, 1000 is a moderate
|
1275
|
+
* value.
|
1276
|
+
*/
|
753
1277
|
|
754
|
-
.ui-
|
755
|
-
|
756
|
-
|
757
|
-
margin: 0 -8px;
|
758
|
-
padding: 0;
|
759
|
-
border-width: 0 0 1px 0;
|
760
|
-
position: relative;
|
761
|
-
a {
|
762
|
-
text-align: left;
|
763
|
-
margin: 0;
|
764
|
-
.ui-btn-inner {
|
765
|
-
padding-left: 40px; }
|
766
|
-
span.ui-btn {
|
767
|
-
position: absolute;
|
768
|
-
left: 6px;
|
769
|
-
top: 50%;
|
770
|
-
margin: -12px 0 0 0;
|
771
|
-
width: 20px;
|
772
|
-
height: 20px;
|
773
|
-
padding: 1px 0px 1px 2px;
|
774
|
-
text-indent: -9999px;
|
775
|
-
.ui-btn-inner {
|
776
|
-
padding: 0; }
|
777
|
-
.ui-icon {
|
778
|
-
left: 0;
|
779
|
-
margin-top: -10px; } } } }
|
1278
|
+
.ui-mobile-viewport-perspective {
|
1279
|
+
-webkit-perspective: 1000;
|
1280
|
+
position: absolute; }
|
780
1281
|
|
781
|
-
.ui-
|
782
|
-
|
783
|
-
|
1282
|
+
.ui-mobile-viewport-transitioning {
|
1283
|
+
width: 100%;
|
1284
|
+
height: 120%;
|
1285
|
+
/* we want to make sure we take up enough to keep the scroll top hidden during transition, but not too much to overflow our buffer */
|
1286
|
+
overflow: hidden;
|
1287
|
+
.ui-page {
|
1288
|
+
width: 100%;
|
1289
|
+
height: 120%;
|
1290
|
+
/* we want to make sure we take up enough to keep the scroll top hidden during transition, but not too much to overflow our buffer */
|
1291
|
+
overflow: hidden; } }
|
784
1292
|
|
785
|
-
.
|
786
|
-
|
787
|
-
|
1293
|
+
.flip {
|
1294
|
+
-webkit-animation-duration: .65s;
|
1295
|
+
-webkit-backface-visibility: hidden;
|
1296
|
+
-webkit-transform: translateX(0);
|
1297
|
+
/* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
|
1298
|
+
&.in {
|
1299
|
+
-webkit-transform: rotateY(0) scale(1);
|
1300
|
+
-webkit-animation-name: flipinfromleft; }
|
1301
|
+
&.out {
|
1302
|
+
-webkit-transform: rotateY(-180deg) scale(0.8);
|
1303
|
+
-webkit-animation-name: flipouttoleft; }
|
1304
|
+
&.in.reverse {
|
1305
|
+
-webkit-transform: rotateY(0) scale(1);
|
1306
|
+
-webkit-animation-name: flipinfromright; }
|
1307
|
+
&.out.reverse {
|
1308
|
+
-webkit-transform: rotateY(180deg) scale(0.8);
|
1309
|
+
-webkit-animation-name: flipouttoright; } }
|
788
1310
|
|
789
|
-
|
790
|
-
display: none; }
|
1311
|
+
/* Shake it all about */
|
791
1312
|
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
1313
|
+
@-webkit-keyframes flipinfromright {
|
1314
|
+
from {
|
1315
|
+
-webkit-transform: rotateY(-180deg) scale(0.8); }
|
1316
|
+
to {
|
1317
|
+
-webkit-transform: rotateY(0) scale(1); } }
|
796
1318
|
|
797
|
-
/*
|
798
|
-
* jQuery Mobile Framework
|
799
|
-
* Copyright (c) jQuery Project
|
800
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
801
|
-
*/
|
802
1319
|
|
803
|
-
|
804
|
-
|
805
|
-
|
1320
|
+
@-webkit-keyframes flipinfromleft {
|
1321
|
+
from {
|
1322
|
+
-webkit-transform: rotateY(180deg) scale(0.8); }
|
1323
|
+
to {
|
1324
|
+
-webkit-transform: rotateY(0) scale(1); } }
|
806
1325
|
|
807
|
-
.ui-bar .ui-controlgroup {
|
808
|
-
margin: 0 .3em; }
|
809
1326
|
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
1327
|
+
@-webkit-keyframes flipouttoleft {
|
1328
|
+
from {
|
1329
|
+
-webkit-transform: rotateY(0) scale(1); }
|
1330
|
+
to {
|
1331
|
+
-webkit-transform: rotateY(-180deg) scale(0.8); } }
|
815
1332
|
|
816
|
-
.ui-controlgroup-controls {
|
817
|
-
display: block;
|
818
|
-
width: 95%; }
|
819
1333
|
|
820
|
-
|
821
|
-
|
1334
|
+
@-webkit-keyframes flipouttoright {
|
1335
|
+
from {
|
1336
|
+
-webkit-transform: rotateY(0) scale(1); }
|
1337
|
+
to {
|
1338
|
+
-webkit-transform: rotateY(180deg) scale(0.8); } }
|
822
1339
|
|
823
|
-
.ui-controlgroup-vertical {
|
824
|
-
.ui-btn, .ui-checkbox, .ui-radio {
|
825
|
-
margin: 0;
|
826
|
-
border-bottom-width: 0; }
|
827
|
-
.ui-controlgroup-last {
|
828
|
-
border-bottom-width: 1px; } }
|
829
1340
|
|
830
|
-
.
|
831
|
-
padding: 0;
|
832
|
-
.ui-btn, .ui-checkbox, .ui-radio {
|
833
|
-
margin: 0 -5px 0 0;
|
834
|
-
display: inline-block; }
|
835
|
-
.ui-checkbox .ui-btn, .ui-radio .ui-btn, .ui-checkbox:last-child, .ui-radio:last-child, .ui-controlgroup-last {
|
836
|
-
margin-right: 0; } }
|
1341
|
+
/* Hackish, but reliable. */
|
837
1342
|
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
/* conflicts with listview..
|
843
|
-
.ui-controlgroup .ui-btn-icon-notext { width: 30px; height: 30px; text-indent: -9999px; }
|
844
|
-
.ui-controlgroup .ui-btn-icon-notext .ui-btn-inner { padding: 5px 6px 5px 5px; }
|
845
|
-
*/
|
846
|
-
|
847
|
-
.min-width-480px {
|
848
|
-
.ui-controlgroup-label {
|
849
|
-
vertical-align: top;
|
850
|
-
display: inline-block;
|
851
|
-
width: 20%;
|
852
|
-
margin: 0 2% 0 0; }
|
853
|
-
.ui-controlgroup-controls {
|
854
|
-
width: 60%;
|
855
|
-
display: inline-block; } }
|
856
|
-
|
857
|
-
/*
|
858
|
-
* jQuery Mobile Framework
|
859
|
-
* Copyright (c) jQuery Project
|
860
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
861
|
-
*/
|
862
|
-
|
863
|
-
.ui-dialog {
|
864
|
-
.ui-header, .ui-content, .ui-footer {
|
865
|
-
margin: 15px;
|
866
|
-
position: relative; }
|
867
|
-
.ui-header, .ui-footer {
|
868
|
-
z-index: 10;
|
869
|
-
width: auto; }
|
870
|
-
.ui-content, .ui-footer {
|
871
|
-
margin-top: -15px; } }
|
872
|
-
|
873
|
-
/*
|
874
|
-
* jQuery Mobile Framework
|
875
|
-
* Copyright (c) jQuery Project
|
876
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
877
|
-
*/
|
878
|
-
|
879
|
-
.ui-checkbox, .ui-radio {
|
880
|
-
position: relative;
|
881
|
-
margin: .2em 0 .5em;
|
882
|
-
z-index: 1; }
|
883
|
-
|
884
|
-
.ui-checkbox .ui-btn, .ui-radio .ui-btn {
|
885
|
-
margin: 0;
|
886
|
-
text-align: left;
|
887
|
-
z-index: 2; }
|
888
|
-
|
889
|
-
.ui-checkbox .ui-btn-icon-left .ui-btn-inner, .ui-radio .ui-btn-icon-left .ui-btn-inner {
|
890
|
-
padding-left: 45px; }
|
891
|
-
|
892
|
-
.ui-checkbox .ui-btn-icon-right .ui-btn-inner, .ui-radio .ui-btn-icon-right .ui-btn-inner {
|
893
|
-
padding-right: 45px; }
|
894
|
-
|
895
|
-
.ui-checkbox .ui-btn-icon-left .ui-icon, .ui-radio .ui-btn-icon-left .ui-icon {
|
896
|
-
left: 15px; }
|
897
|
-
|
898
|
-
.ui-checkbox .ui-btn-icon-right .ui-icon, .ui-radio .ui-btn-icon-right .ui-icon {
|
899
|
-
right: 15px; }
|
900
|
-
|
901
|
-
/* input, label positioning */
|
902
|
-
|
903
|
-
.ui-checkbox input, .ui-radio input {
|
904
|
-
position: absolute;
|
905
|
-
left: 20px;
|
906
|
-
top: 50%;
|
907
|
-
width: 10px;
|
908
|
-
height: 10px;
|
909
|
-
margin: -5px 0 0 0;
|
910
|
-
outline: 0 !important;
|
911
|
-
z-index: 1; }
|
912
|
-
|
913
|
-
/*
|
914
|
-
* jQuery Mobile Framework
|
915
|
-
* Copyright (c) jQuery Project
|
916
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
917
|
-
*/
|
918
|
-
|
919
|
-
.ui-field-contain {
|
920
|
-
background: none;
|
921
|
-
padding: 1.5em 0;
|
922
|
-
margin: 0;
|
923
|
-
border-bottom-width: 1px;
|
924
|
-
overflow: visible;
|
925
|
-
&:first-child {
|
926
|
-
border-top-width: 0; } }
|
927
|
-
|
928
|
-
@media screen and (max-width: 480px) {
|
929
|
-
.ui-field-contain {
|
930
|
-
border-width: 0;
|
931
|
-
padding: 0;
|
932
|
-
margin: 1em 0; } }
|
933
|
-
|
934
|
-
|
935
|
-
/*
|
936
|
-
* jQuery Mobile Framework
|
937
|
-
* Copyright (c) jQuery Project
|
938
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
939
|
-
*/
|
940
|
-
|
941
|
-
.ui-select {
|
942
|
-
display: block;
|
943
|
-
select {
|
944
|
-
position: absolute;
|
945
|
-
left: -99999px;
|
946
|
-
top: -99999px; }
|
947
|
-
.ui-btn-icon-right {
|
948
|
-
.ui-btn-inner {
|
949
|
-
padding-right: 45px; }
|
950
|
-
.ui-icon {
|
951
|
-
right: 15px; } } }
|
952
|
-
|
953
|
-
/* labels */
|
954
|
-
|
955
|
-
label.ui-select {
|
956
|
-
font-size: 16px;
|
957
|
-
line-height: 1.4;
|
958
|
-
font-weight: normal;
|
959
|
-
margin: 0 0 .3em;
|
960
|
-
display: block; }
|
961
|
-
|
962
|
-
/*listbox*/
|
963
|
-
|
964
|
-
.ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text {
|
965
|
-
display: inline-block;
|
966
|
-
min-height: 1em; }
|
967
|
-
|
968
|
-
.ui-select .ui-btn-text {
|
969
|
-
text-overflow: ellipsis;
|
970
|
-
overflow: hidden;
|
971
|
-
width: 85%; }
|
972
|
-
|
973
|
-
.ui-selectmenu {
|
974
|
-
position: absolute;
|
975
|
-
padding: 0;
|
976
|
-
z-index: 100 !important;
|
977
|
-
width: 80%;
|
978
|
-
max-width: 350px;
|
979
|
-
padding: 6px;
|
980
|
-
.ui-listview {
|
981
|
-
margin: 0; }
|
982
|
-
.ui-btn.ui-li-divider {
|
983
|
-
cursor: default; } }
|
984
|
-
|
985
|
-
.ui-selectmenu-hidden {
|
986
|
-
top: -999999px;
|
987
|
-
left: -99999px; }
|
988
|
-
|
989
|
-
.ui-selectmenu-screen {
|
990
|
-
position: absolute;
|
991
|
-
top: 0;
|
992
|
-
left: 0;
|
993
|
-
width: 100%;
|
994
|
-
height: 100%;
|
995
|
-
z-index: 99; }
|
996
|
-
|
997
|
-
.ui-screen-hidden {
|
998
|
-
display: none; }
|
999
|
-
|
1000
|
-
.ui-selectmenu-list .ui-li .ui-icon {
|
1001
|
-
display: none;
|
1002
|
-
display: block; }
|
1003
|
-
|
1004
|
-
.ui-li.ui-selectmenu-placeholder {
|
1005
|
-
display: none; }
|
1006
|
-
|
1007
|
-
.min-width-480px {
|
1008
|
-
label.ui-select {
|
1009
|
-
display: inline-block;
|
1010
|
-
width: 20%;
|
1011
|
-
margin: 0 2% 0 0; }
|
1012
|
-
.ui-select {
|
1013
|
-
width: 60%;
|
1014
|
-
display: inline-block; } }
|
1015
|
-
|
1016
|
-
/* when no placeholder is defined in a multiple select, the header height doesn't even extend past the close button. this shim's content in there */
|
1017
|
-
|
1018
|
-
.ui-selectmenu .ui-header h1:after {
|
1019
|
-
content: '.';
|
1020
|
-
visibility: hidden; }
|
1021
|
-
|
1022
|
-
/*
|
1023
|
-
* jQuery Mobile Framework
|
1024
|
-
* Copyright (c) jQuery Project
|
1025
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
1026
|
-
*/
|
1027
|
-
|
1028
|
-
label.ui-slider {
|
1029
|
-
display: block; }
|
1030
|
-
|
1031
|
-
input.ui-slider-input, .min-width-480px input.ui-slider-input {
|
1032
|
-
display: inline-block;
|
1033
|
-
width: 50px; }
|
1034
|
-
|
1035
|
-
select.ui-slider-switch {
|
1036
|
-
display: none; }
|
1037
|
-
|
1038
|
-
div.ui-slider {
|
1039
|
-
position: relative;
|
1040
|
-
display: inline-block;
|
1041
|
-
overflow: visible;
|
1042
|
-
height: 15px;
|
1043
|
-
padding: 0;
|
1044
|
-
margin: 0 2% 0 20px;
|
1045
|
-
top: 4px;
|
1046
|
-
width: 66%; }
|
1047
|
-
|
1048
|
-
a.ui-slider-handle {
|
1049
|
-
position: absolute;
|
1050
|
-
z-index: 10;
|
1051
|
-
top: 50%;
|
1052
|
-
width: 28px;
|
1053
|
-
height: 28px;
|
1054
|
-
margin-top: -15px;
|
1055
|
-
margin-left: -15px;
|
1056
|
-
.ui-btn-inner {
|
1057
|
-
padding-left: 0;
|
1058
|
-
padding-right: 0; } }
|
1059
|
-
|
1060
|
-
.min-width-480px {
|
1061
|
-
label.ui-slider {
|
1062
|
-
display: inline-block;
|
1063
|
-
width: 20%;
|
1064
|
-
margin: 0 2% 0 0; }
|
1065
|
-
div.ui-slider {
|
1066
|
-
width: 45%; } }
|
1067
|
-
|
1068
|
-
div {
|
1069
|
-
&.ui-slider-switch {
|
1070
|
-
height: 32px;
|
1071
|
-
overflow: hidden;
|
1072
|
-
margin-left: 0; }
|
1073
|
-
&.ui-slider-inneroffset {
|
1074
|
-
margin-left: 50%;
|
1075
|
-
position: absolute;
|
1076
|
-
top: 1px;
|
1077
|
-
height: 100%;
|
1078
|
-
width: 50%; }
|
1079
|
-
&.ui-slider-handle-snapping {
|
1080
|
-
-webkit-transition: left 100ms linear; }
|
1081
|
-
&.ui-slider-labelbg {
|
1082
|
-
position: absolute;
|
1083
|
-
top: 0;
|
1084
|
-
margin: 0;
|
1085
|
-
border-width: 0; }
|
1086
|
-
&.ui-slider-switch div {
|
1087
|
-
&.ui-slider-labelbg-a {
|
1088
|
-
width: 60%;
|
1089
|
-
height: 100%;
|
1090
|
-
left: 0; }
|
1091
|
-
&.ui-slider-labelbg-b {
|
1092
|
-
width: 60%;
|
1093
|
-
height: 100%;
|
1094
|
-
right: 0; } } }
|
1095
|
-
|
1096
|
-
.ui-slider-switch-a div.ui-slider-labelbg-a, .ui-slider-switch-b div.ui-slider-labelbg-b {
|
1097
|
-
z-index: 1; }
|
1098
|
-
|
1099
|
-
.ui-slider-switch-a div.ui-slider-labelbg-b, .ui-slider-switch-b div.ui-slider-labelbg-a {
|
1100
|
-
z-index: 10; }
|
1101
|
-
|
1102
|
-
div.ui-slider-switch a.ui-slider-handle {
|
1103
|
-
z-index: 20;
|
1104
|
-
width: 101%;
|
1105
|
-
height: 32px;
|
1106
|
-
margin-top: -18px;
|
1107
|
-
margin-left: -101%; }
|
1108
|
-
|
1109
|
-
span {
|
1110
|
-
&.ui-slider-label {
|
1111
|
-
width: 100%;
|
1112
|
-
position: absolute;
|
1113
|
-
height: 32px;
|
1114
|
-
font-size: 16px;
|
1115
|
-
text-align: center;
|
1116
|
-
line-height: 2;
|
1117
|
-
background: none;
|
1118
|
-
border-color: transparent; }
|
1119
|
-
&.ui-slider-label-a {
|
1120
|
-
left: -100%;
|
1121
|
-
margin-right: -1px; }
|
1122
|
-
&.ui-slider-label-b {
|
1123
|
-
right: -100%;
|
1124
|
-
margin-left: -1px; } }
|
1125
|
-
|
1126
|
-
/*
|
1127
|
-
* jQuery Mobile Framework
|
1128
|
-
* Copyright (c) jQuery Project
|
1129
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
1130
|
-
*/
|
1131
|
-
|
1132
|
-
label.ui-input-text {
|
1133
|
-
font-size: 16px;
|
1134
|
-
line-height: 1.4;
|
1135
|
-
display: block;
|
1136
|
-
font-weight: normal;
|
1137
|
-
margin: 0 0 .3em; }
|
1138
|
-
|
1139
|
-
input.ui-input-text, textarea.ui-input-text {
|
1140
|
-
background-image: none;
|
1141
|
-
padding: .4em;
|
1142
|
-
line-height: 1.4;
|
1143
|
-
font-size: 16px;
|
1144
|
-
display: block;
|
1145
|
-
width: 95%; }
|
1146
|
-
|
1147
|
-
input.ui-input-text {
|
1148
|
-
-webkit-appearance: none; }
|
1149
|
-
|
1150
|
-
textarea.ui-input-text {
|
1151
|
-
height: 50px;
|
1152
|
-
-webkit-transition: height 200ms linear;
|
1153
|
-
-moz-transition: height 200ms linear;
|
1154
|
-
-o-transition: height 200ms linear;
|
1155
|
-
transition: height 200ms linear; }
|
1156
|
-
|
1157
|
-
.ui-input-search {
|
1158
|
-
padding: 0 30px;
|
1159
|
-
width: 77%;
|
1160
|
-
background-position: 8px 50%;
|
1161
|
-
background-repeat: no-repeat;
|
1162
|
-
position: relative;
|
1163
|
-
input.ui-input-text {
|
1164
|
-
border: none;
|
1165
|
-
width: 98%;
|
1166
|
-
padding: .4em 0;
|
1167
|
-
margin: 0;
|
1168
|
-
display: block;
|
1169
|
-
background: transparent none;
|
1170
|
-
outline: 0 !important; }
|
1171
|
-
.ui-input-clear {
|
1172
|
-
position: absolute;
|
1173
|
-
right: 2px;
|
1174
|
-
top: 50%;
|
1175
|
-
margin-top: -12px; }
|
1176
|
-
.ui-input-clear-hidden {
|
1177
|
-
display: none; } }
|
1178
|
-
|
1179
|
-
/* orientation adjustments - incomplete!*/
|
1180
|
-
|
1181
|
-
.min-width-480px {
|
1182
|
-
label.ui-input-text {
|
1183
|
-
vertical-align: top;
|
1184
|
-
display: inline-block;
|
1185
|
-
width: 20%;
|
1186
|
-
margin: 0 2% 0 0; }
|
1187
|
-
input.ui-input-text, textarea.ui-input-text {
|
1188
|
-
width: 60%;
|
1189
|
-
display: inline-block; }
|
1190
|
-
.ui-input-search {
|
1191
|
-
width: 60%;
|
1192
|
-
display: inline-block;
|
1193
|
-
width: 50%; } }
|
1194
|
-
|
1195
|
-
/*
|
1196
|
-
* jQuery Mobile Framework
|
1197
|
-
* Copyright (c) jQuery Project
|
1198
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
1199
|
-
*/
|
1200
|
-
|
1201
|
-
.ui-listview {
|
1202
|
-
margin: 0;
|
1203
|
-
counter-reset: listnumbering; }
|
1204
|
-
|
1205
|
-
.ui-content {
|
1206
|
-
.ui-listview {
|
1207
|
-
margin: -15px; }
|
1208
|
-
.ui-listview-inset {
|
1209
|
-
margin: 1em 0; } }
|
1210
|
-
|
1211
|
-
.ui-listview {
|
1212
|
-
list-style: none;
|
1213
|
-
padding: 0;
|
1214
|
-
zoom: 1; }
|
1215
|
-
|
1216
|
-
.ui-li {
|
1217
|
-
list-style: none;
|
1218
|
-
padding: 0;
|
1219
|
-
zoom: 1;
|
1220
|
-
display: block;
|
1221
|
-
margin: 0;
|
1222
|
-
position: relative;
|
1223
|
-
overflow: hidden;
|
1224
|
-
text-align: left;
|
1225
|
-
border-width: 0;
|
1226
|
-
border-top-width: 1px;
|
1227
|
-
.ui-btn-text {
|
1228
|
-
text-overflow: ellipsis;
|
1229
|
-
overflow: hidden;
|
1230
|
-
white-space: nowrap; } }
|
1231
|
-
|
1232
|
-
.ui-li-divider, .ui-li-static {
|
1233
|
-
padding: .5em 15px;
|
1234
|
-
font-size: 14px;
|
1235
|
-
font-weight: bold;
|
1236
|
-
counter-reset: listnumbering; }
|
1237
|
-
|
1238
|
-
ol.ui-listview .ui-link-inherit:before, .ui-li-dec {
|
1239
|
-
font-size: .8em;
|
1240
|
-
display: inline-block;
|
1241
|
-
padding-right: .3em;
|
1242
|
-
font-weight: normal;
|
1243
|
-
counter-increment: listnumbering;
|
1244
|
-
content: counter(listnumbering) ". "; }
|
1245
|
-
|
1246
|
-
ol.ui-listview .ui-li-jsnumbering:before {
|
1247
|
-
content: "" !important; }
|
1248
|
-
|
1249
|
-
/* to avoid chance of duplication */
|
1250
|
-
|
1251
|
-
.ui-listview-inset .ui-li {
|
1252
|
-
border-right-width: 1px;
|
1253
|
-
border-left-width: 1px; }
|
1254
|
-
|
1255
|
-
.ui-li {
|
1256
|
-
&:last-child {
|
1257
|
-
border-bottom-width: 1px; }
|
1258
|
-
.ui-btn-inner {
|
1259
|
-
display: block;
|
1260
|
-
position: relative;
|
1261
|
-
padding: .7em 75px .7em 15px; } }
|
1262
|
-
|
1263
|
-
.ui-li-has-thumb .ui-btn-inner {
|
1264
|
-
min-height: 60px;
|
1265
|
-
padding-left: 100px; }
|
1266
|
-
|
1267
|
-
.ui-li-has-icon .ui-btn-inner {
|
1268
|
-
min-height: 20px;
|
1269
|
-
padding-left: 40px; }
|
1270
|
-
|
1271
|
-
.ui-li-heading {
|
1272
|
-
font-size: 16px;
|
1273
|
-
font-weight: bold;
|
1274
|
-
display: block;
|
1275
|
-
margin: .6em 0;
|
1276
|
-
text-overflow: ellipsis;
|
1277
|
-
overflow: hidden;
|
1278
|
-
white-space: nowrap; }
|
1279
|
-
|
1280
|
-
.ui-li-desc {
|
1281
|
-
font-size: 12px;
|
1282
|
-
font-weight: normal;
|
1283
|
-
display: block;
|
1284
|
-
margin: -0.5em 0 0.6em;
|
1285
|
-
text-overflow: ellipsis;
|
1286
|
-
overflow: hidden;
|
1287
|
-
white-space: nowrap; }
|
1288
|
-
|
1289
|
-
.ui-li-thumb {
|
1290
|
-
position: absolute;
|
1291
|
-
left: 1px;
|
1292
|
-
top: 0;
|
1293
|
-
max-height: 80px;
|
1294
|
-
max-width: 80px; }
|
1295
|
-
|
1296
|
-
.ui-li-icon {
|
1297
|
-
position: absolute;
|
1298
|
-
left: 1px;
|
1299
|
-
top: 0;
|
1300
|
-
max-height: 80px;
|
1301
|
-
max-width: 80px;
|
1302
|
-
max-height: 40px;
|
1303
|
-
max-width: 40px;
|
1304
|
-
left: 10px;
|
1305
|
-
top: .9em; }
|
1306
|
-
|
1307
|
-
.ui-li-thumb, .ui-li-icon, .ui-li-content {
|
1308
|
-
float: left;
|
1309
|
-
margin-right: 10px; }
|
1310
|
-
|
1311
|
-
.ui-li-aside {
|
1312
|
-
float: right;
|
1313
|
-
width: 50%;
|
1314
|
-
text-align: right;
|
1315
|
-
margin: .3em 0; }
|
1316
|
-
|
1317
|
-
.min-width-480px .ui-li-aside {
|
1318
|
-
width: 45%; }
|
1319
|
-
|
1320
|
-
.ui-li-has-alt .ui-btn-inner {
|
1321
|
-
padding-right: 95px; }
|
1322
|
-
|
1323
|
-
.ui-li-count {
|
1324
|
-
position: absolute;
|
1325
|
-
font-size: 11px;
|
1326
|
-
font-weight: bold;
|
1327
|
-
padding: .2em .5em;
|
1328
|
-
top: 50%;
|
1329
|
-
margin-top: -0.9em;
|
1330
|
-
right: 38px; }
|
1331
|
-
|
1332
|
-
.ui-li-divider .ui-li-count {
|
1333
|
-
right: 10px; }
|
1334
|
-
|
1335
|
-
.ui-li-has-alt .ui-li-count {
|
1336
|
-
right: 55px; }
|
1337
|
-
|
1338
|
-
.ui-li-link-alt {
|
1339
|
-
position: absolute;
|
1340
|
-
width: 40px;
|
1341
|
-
height: 100%;
|
1342
|
-
border-width: 0;
|
1343
|
-
border-left-width: 1px;
|
1344
|
-
top: 0;
|
1345
|
-
right: 0;
|
1346
|
-
margin: 0;
|
1347
|
-
padding: 0;
|
1348
|
-
.ui-btn {
|
1349
|
-
overflow: hidden;
|
1350
|
-
position: absolute;
|
1351
|
-
right: 8px;
|
1352
|
-
top: 50%;
|
1353
|
-
margin: -11px 0 0 0;
|
1354
|
-
border-bottom-width: 1px; }
|
1355
|
-
.ui-btn-inner {
|
1356
|
-
padding: 0;
|
1357
|
-
position: static; }
|
1358
|
-
.ui-btn .ui-icon {
|
1359
|
-
right: 50%;
|
1360
|
-
margin-right: -9px; } }
|
1361
|
-
|
1362
|
-
.ui-listview-filter {
|
1363
|
-
border-width: 0;
|
1364
|
-
overflow: hidden;
|
1365
|
-
margin: -15px -15px 15px -15px;
|
1366
|
-
.ui-input-search {
|
1367
|
-
margin: 5px;
|
1368
|
-
width: auto;
|
1369
|
-
display: block; } }
|
1370
|
-
|
1371
|
-
/* Odd iPad positioning issue. */
|
1372
|
-
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
1373
|
-
.ui-li .ui-btn-text {
|
1374
|
-
overflow: visible; } }
|
1375
|
-
|
1376
|
-
|
1377
|
-
/*
|
1378
|
-
* jQuery Mobile Framework
|
1379
|
-
* Copyright (c) jQuery Project
|
1380
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
1381
|
-
*/
|
1382
|
-
|
1383
|
-
label.ui-slider {
|
1384
|
-
display: block; }
|
1385
|
-
|
1386
|
-
input.ui-slider-input, .min-width-480px input.ui-slider-input {
|
1387
|
-
display: inline-block;
|
1388
|
-
width: 50px; }
|
1389
|
-
|
1390
|
-
select.ui-slider-switch {
|
1391
|
-
display: none; }
|
1392
|
-
|
1393
|
-
div.ui-slider {
|
1394
|
-
position: relative;
|
1395
|
-
display: inline-block;
|
1396
|
-
overflow: visible;
|
1397
|
-
height: 15px;
|
1398
|
-
padding: 0;
|
1399
|
-
margin: 0 2% 0 20px;
|
1400
|
-
top: 4px;
|
1401
|
-
width: 66%; }
|
1402
|
-
|
1403
|
-
a.ui-slider-handle {
|
1404
|
-
position: absolute;
|
1405
|
-
z-index: 10;
|
1406
|
-
top: 50%;
|
1407
|
-
width: 28px;
|
1408
|
-
height: 28px;
|
1409
|
-
margin-top: -15px;
|
1410
|
-
margin-left: -15px;
|
1411
|
-
.ui-btn-inner {
|
1412
|
-
padding-left: 0;
|
1413
|
-
padding-right: 0; } }
|
1414
|
-
|
1415
|
-
.min-width-480px {
|
1416
|
-
label.ui-slider {
|
1417
|
-
display: inline-block;
|
1418
|
-
width: 20%;
|
1419
|
-
margin: 0 2% 0 0; }
|
1420
|
-
div.ui-slider {
|
1421
|
-
width: 45%; } }
|
1343
|
+
@-webkit-keyframes dontmove {
|
1344
|
+
from, to {
|
1345
|
+
opacity: 1; } }
|
1422
1346
|
|
1423
|
-
div {
|
1424
|
-
&.ui-slider-switch {
|
1425
|
-
height: 32px;
|
1426
|
-
overflow: hidden;
|
1427
|
-
margin-left: 0; }
|
1428
|
-
&.ui-slider-inneroffset {
|
1429
|
-
margin-left: 50%;
|
1430
|
-
position: absolute;
|
1431
|
-
top: 1px;
|
1432
|
-
height: 100%;
|
1433
|
-
width: 50%; }
|
1434
|
-
&.ui-slider-handle-snapping {
|
1435
|
-
-webkit-transition: left 100ms linear; }
|
1436
|
-
&.ui-slider-labelbg {
|
1437
|
-
position: absolute;
|
1438
|
-
top: 0;
|
1439
|
-
margin: 0;
|
1440
|
-
border-width: 0; }
|
1441
|
-
&.ui-slider-switch div {
|
1442
|
-
&.ui-slider-labelbg-a {
|
1443
|
-
width: 60%;
|
1444
|
-
height: 100%;
|
1445
|
-
left: 0; }
|
1446
|
-
&.ui-slider-labelbg-b {
|
1447
|
-
width: 60%;
|
1448
|
-
height: 100%;
|
1449
|
-
right: 0; } } }
|
1450
1347
|
|
1451
|
-
.
|
1452
|
-
|
1348
|
+
.pop {
|
1349
|
+
-webkit-transform-origin: 50% 50%;
|
1350
|
+
&.in {
|
1351
|
+
-webkit-transform: scale(1);
|
1352
|
+
opacity: 1;
|
1353
|
+
-webkit-animation-name: popin;
|
1354
|
+
z-index: 10; }
|
1355
|
+
&.out.reverse {
|
1356
|
+
-webkit-transform: scale(0.2);
|
1357
|
+
opacity: 0;
|
1358
|
+
-webkit-animation-name: popout;
|
1359
|
+
z-index: 10; }
|
1360
|
+
&.in.reverse {
|
1361
|
+
z-index: 0;
|
1362
|
+
-webkit-animation-name: dontmove; } }
|
1453
1363
|
|
1454
|
-
|
1455
|
-
|
1364
|
+
@-webkit-keyframes popin {
|
1365
|
+
from {
|
1366
|
+
-webkit-transform: scale(0.2);
|
1367
|
+
opacity: 0; }
|
1368
|
+
to {
|
1369
|
+
-webkit-transform: scale(1);
|
1370
|
+
opacity: 1; } }
|
1456
1371
|
|
1457
|
-
div.ui-slider-switch a.ui-slider-handle {
|
1458
|
-
z-index: 20;
|
1459
|
-
width: 101%;
|
1460
|
-
height: 32px;
|
1461
|
-
margin-top: -18px;
|
1462
|
-
margin-left: -101%; }
|
1463
1372
|
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
line-height: 2;
|
1472
|
-
background: none;
|
1473
|
-
border-color: transparent; }
|
1474
|
-
&.ui-slider-label-a {
|
1475
|
-
left: -100%;
|
1476
|
-
margin-right: -1px; }
|
1477
|
-
&.ui-slider-label-b {
|
1478
|
-
right: -100%;
|
1479
|
-
margin-left: -1px; } }
|
1373
|
+
@-webkit-keyframes popout {
|
1374
|
+
from {
|
1375
|
+
-webkit-transform: scale(1);
|
1376
|
+
opacity: 1; }
|
1377
|
+
to {
|
1378
|
+
-webkit-transform: scale(0.2);
|
1379
|
+
opacity: 0; } }
|