framework7-rails 0.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Framework7 0.6.8
3
+ * Full Featured HTML Framework For Building iOS7 Apps
4
+ *
5
+ * http://www.idangero.us/framework7
6
+ *
7
+ * Copyright 2014, Vladimir Kharlampidi
8
+ * The iDangero.us
9
+ * http://www.idangero.us/
10
+ *
11
+ * Licensed under MIT
12
+ *
13
+ * Released on: April 6, 2014
14
+ */
15
+ !function(){"use strict";window.Framework7=function(a){function c(a,c,e){var f,g,h,i,j,k,l,m,n=b(a.container);if(c||"string"==typeof e)d._tempDomElement.innerHTML=e;else if("length"in e&&e.length>1){d._tempDomElement=document.createElement("div");for(var o=0;o<e.length;o++)b(d._tempDomElement).append(e[o])}else d._tempDomElement.innerHTML="",b(d._tempDomElement).append(e);if(a.params.subEvents&&b(d._tempDomElement).find(".page").each(function(){var c=this;b(c).find("iframe").on("load",function(){a.attachSubEvents(c,this.contentWindow.document)})}),f=b(".page",d._tempDomElement),f.length>1&&(f=b(d._tempDomElement).find(".view-main .page")),0===f.length||f.length>1)return void(d.allowPageChange=!0);if(f.addClass("page-on-right"),h=n.find(".page:not(.cached)"),h.length>1){for(i=0;i<h.length-2;i++)a.params.domCache?b(h[i]).addClass("cached"):b(h[i]).remove();a.params.domCache?b(h[i]).addClass("cached"):b(h[i]).remove()}if(g=n.find(".page:not(.cached)"),a.params.dynamicNavbar&&(m=!0,k=b(".navbar-inner",d._tempDomElement),k.length>1&&(k=b(".view-main .navbar-inner",d._tempDomElement)),(0===k.length||k>1)&&(m=!1),l=n.find(".navbar"),j=l.find(".navbar-inner:not(.cached)"),j.length>0)){for(i=0;i<j.length-1;i++)a.params.domCache?b(j[i]).addClass("cached"):b(j[i]).remove();0===k.length&&1===j.length&&(a.params.domCache?b(j[0]).addClass("cached"):b(j[0]).remove()),j=l.find(".navbar-inner:not(.cached)")}m&&(k.addClass("navbar-on-right"),l.append(k[0])),c||(c="#content-"+a.history.length,a.params.domCache||(1===a.history.length&&(a.contentCache[a.history[0]]={nav:j,page:g}),a.contentCache[c]={nav:k,page:f})),a.url=c,a.history.push(c),b(a.pagesContainer).append(f[0]),d.pageInitCallback(a,f[0],c,"right"),m&&k.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)")});f[0].clientLeft;d.pageAnimCallbacks("before",a,{pageContainer:f[0],url:c,position:"left",oldPage:g,newPage:f}),f.addClass("page-from-right-to-center"),g.addClass("page-from-center-to-left").removeClass("page-on-center"),m&&(k.removeClass("navbar-on-right").addClass("navbar-from-right-to-center"),k.find(".sliding").each(function(){b(this).transform("translate3d(0px,0,0)")}),j.removeClass("navbar-on-center").addClass("navbar-from-center-to-left"),j.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarLeftOffset+"px,0,0)")})),f.animationEnd(function(){d.allowPageChange=!0,f.toggleClass("page-from-right-to-center page-on-center page-on-right"),g.toggleClass("page-from-center-to-left page-on-left"),m&&(k.toggleClass("navbar-from-right-to-center navbar-on-center"),j.toggleClass("navbar-from-center-to-left navbar-on-left")),d.pageAnimCallbacks("after",a,{pageContainer:f[0],url:c,position:"right",oldPage:g,newPage:f})})}var d=this;d._animFrame=function(a){return window.requestAnimationFrame?window.requestAnimationFrame(a):window.webkitRequestAnimationFrame?window.webkitRequestAnimationFrame(a):window.mozRequestAnimationFrame?window.mozRequestAnimationFrame(a):window.setTimeout(a,1e3/60)},d.params={cache:!0,cacheDuration:6e5,preloadPreviousPage:!0,swipeBackPage:!0,swipeBackPageThreshold:0,swipeBackPageActiveArea:30,swipeBackPageBoxShadow:!0,ajaxLinks:!1,pullToRefresh:!0,swipeout:!0,swipeoutNoFollow:!1,panelsCloseByOutside:!0,panelsVisibleZIndex:6e3,panelsAnimationDuration:400,modalTemplate:'<div class="modal {{noButtons}}"><div class="modal-inner">{{if title}}<div class="modal-title">{{title}}</div>{{/if title}}<div class="modal-text">{{text}}</div>{{afterText}}</div><div class="modal-buttons">{{buttons}}</div></div>',modalActionsTemplate:'<div class="actions-modal">{{buttons}}</div>',modalButtonOk:"OK",modalButtonCancel:"Cancel",modalTitle:"Framework7",modalCloseByOutside:!1,modalActionsCloseByOutside:!0,modalPopupCloseByOutside:!0,modalPreloaderTitle:"Loading... ",init:!0};for(var e in a)d.params[e]=a[e];d.$=b,d.touchEvents={start:b.supportTouch?"touchstart":"mousedown",move:b.supportTouch?"touchmove":"mousemove",end:b.supportTouch?"touchend":"mouseup"},d.views=[],d.addView=function(a,c){if(a){var e=b(a)[0],f={container:e,selector:a,params:c||{},history:[],contentCache:{},url:"",pagesContainer:b(".pages",e)[0],main:b(e).hasClass("view-main"),loadContent:function(a){d.loadContent(f,a)},loadPage:function(a){d.loadPage(f,a)},goBack:function(a){d.goBack(f,a)},hideNavbar:function(){d.hideNavbar(e)},showNavbar:function(){d.showNavbar(e)},hideToolbar:function(){d.hideToolbar(e)},showToolbar:function(){d.showToolbar(e)}};return f.main&&(f.url=document.location.href,f.history.push(f.url)),e.f7View=f,d.views.push(f),d.initViewEvents(f),f}},d.initViewEvents=function(a){function c(b){x&&d.params.swipeBackPage&&!u&&!d.swipeoutOpenedEl&&(v=!1,u=!0,g=void 0,w.x="touchstart"===b.type?b.targetTouches[0].pageX:b.pageX,w.y="touchstart"===b.type?b.targetTouches[0].pageY:b.pageY,l=(new Date).getTime(),r=a.params.dynamicNavbar&&t.find(".navbar-inner").length>1)}function e(a,c){if(u){var e="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,f="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;if("undefined"==typeof g&&(g=!!(g||Math.abs(f-w.y)>Math.abs(e-w.x))),g)return void(u=!1);if(!v){var l=!1;if(j=t.width(),h=b(c||a.target).is(".page")?b(c||a.target):b(c||a.target).parents(".page"),i=t.find(".page-on-left:not(.cached)"),w.x-t.offset().left>d.params.swipeBackPageActiveArea&&(l=!0),(0===i.length||0===h.length)&&(l=!0),l)return void(u=!1);r&&(m=t.find(".navbar-on-center:not(.cached)"),n=t.find(".navbar-on-left:not(.cached)"),o=m.find(".left, .center, .right"),p=n.find(".left, .center, .right"))}v=!0,a.preventDefault(),k=e-w.x-d.params.swipeBackPageThreshold,0>k&&(k=0);var x=k/j;h.transform("translate3d("+k+"px,0,0)"),d.params.swipeBackPageBoxShadow&&"android"!==d.device.os&&(h[0].style.boxShadow="0px 0px 12px rgba(0,0,0,"+(.5-.5*x)+")");var y=k/5-j/5;if(1===d.device.pixelRatio&&(y=Math.round(y)),i.transform("translate3d("+y+"px,0,0)"),i[0].style.opacity=.9+.1*x,r){for(q=0;q<o.length;q++)if(s=b(o[q]),s[0].style.opacity=1-1.3*x,s[0].className.indexOf("sliding")>=0){var z=x*s[0].f7NavbarRightOffset;1===d.device.pixelRatio&&(z=Math.round(z)),s.transform("translate3d("+z+"px,0,0)")}for(q=0;q<p.length;q++)if(s=b(p[q]),s[0].style.opacity=1.3*x-.3,s[0].className.indexOf("sliding")>=0){var A=s[0].f7NavbarLeftOffset*(1-x);1===d.device.pixelRatio&&(A=Math.round(A)),s.transform("translate3d("+A+"px,0,0)")}}}}function f(){if(!u||!v)return u=!1,void(v=!1);u=!1,v=!1;var c=(new Date).getTime()-l,e=!1;if((300>c&&k>10||c>=300&&k>j/2)&&(h.removeClass("page-on-center").addClass("page-on-right"),i.removeClass("page-on-left").addClass("page-on-center"),r&&(m.removeClass("navbar-on-center").addClass("navbar-on-right"),n.removeClass("navbar-on-left").addClass("navbar-on-center")),e=!0),b([h[0],i[0]]).transform("").css({opacity:"",boxShadow:""}).addClass("page-transitioning"),r&&(o.css({opacity:""}).each(function(){var a=e?this.f7NavbarRightOffset:0;b(this).transform("translate3d("+a+"px,0,0)")}).addClass("page-transitioning"),p.transform("").css({opacity:""}).each(function(){var a=e?0:this.f7NavbarLeftOffset;b(this).transform("translate3d("+a+"px,0,0)")}).addClass("page-transitioning")),x=!1,d.allowPageChange=!1,e){var f=a.history[a.history.length-2];a.url=f,d.pageAnimCallbacks("before",a,{pageContainer:i[0],url:f,position:"left",newPage:i,oldPage:h})}h.transitionEnd(function(){b([h[0],i[0]]).removeClass("page-transitioning"),r&&(o.removeClass("page-transitioning"),o.transform("").css({opacity:""}),p.removeClass("page-transitioning"),p.transform("").css({opacity:""})),x=!0,d.allowPageChange=!0,e&&d.afterGoBack(a,h,i)})}if(d.params.swipeBackPage){var g,h,i,j,k,l,m,n,o,p,q,r,s,t=b(a.container),u=!1,v=!1,w={},x=!0;t.on(d.touchEvents.start,c),t.on(d.touchEvents.move,e),t.on(d.touchEvents.end,f),a.attachSubEvents=function(a,g){b(g).on(d.touchEvents.start,function(b){return c.apply(a,[b,a])}),b(g).on(d.touchEvents.move,function(b){return e.apply(a,[b,a])}),b(g).on(d.touchEvents.end,function(a,b){return f.apply(b,[a,b])})}}},d.sizeNavbars=function(a){var c=a?b(a).find(".navbar .navbar-inner:not(.cached)"):b(".navbar .navbar-inner:not(.cached)");c.each(function(){var a,c,d=b(this),e=d.find(".left"),f=d.find(".right"),g=d.find(".center"),h=0===e.length,i=0===f.length,j=h?0:e.outerWidth(!0),k=i?0:f.outerWidth(!0),l=g.outerWidth(!0),m=d.width();i&&(a=m-l),h&&(a=0),h||i||(a=(m-k-l+j)/2);var n=(m-l)/2;m-j-k>l?(j>n&&(n=j),n+l>m-k&&(n=m-k-l),c=n-a):c=0,g.css({left:c+"px"}),g.hasClass("sliding")&&(g[0].f7NavbarLeftOffset=-(a+c),g[0].f7NavbarRightOffset=m-a-c-l),!h&&e.hasClass("sliding")&&(e[0].f7NavbarLeftOffset=-j,e[0].f7NavbarRightOffset=(m-e.outerWidth())/2),!i&&f.hasClass("sliding")&&(f[0].f7NavbarLeftOffset=-(m-f.outerWidth())/2,f[0].f7NavbarRightOffset=k)})},d.hideNavbar=function(a){return b(a).addClass("hidden-navbar"),!0},d.showNavbar=function(a){var c=b(a);return c.addClass("hiding-navbar").removeClass("hidden-navbar").find(".navbar").transitionEnd(function(){c.removeClass("hiding-navbar")}),!0},d.hideToolbar=function(a){return b(a).addClass("hidden-toolbar"),!0},d.showToolbar=function(a){var c=b(a);c.addClass("hiding-toolbar").removeClass("hidden-toolbar").find(".toolbar").transitionEnd(function(){c.removeClass("hiding-toolbar")})},d.cache=[],d.removeFromCache=function(a){for(var b=!1,c=0;c<d.cache.length;c++)d.cache[c].url===a&&(b=c);b!==!1&&d.cache.splice(b,1)},d.xhr=!1,d.get=function(a,c){if(d.params.cache)for(var e=0;e<d.cache.length;e++)if(d.cache[e].url===a&&(new Date).getTime()-d.cache[e].time<d.params.cacheDuration)return c(d.cache[e].data),!1;var f=new XMLHttpRequest;return f.open("GET",a,!0),f.onload=function(){d.params.onAjaxComplete&&(d.params.onAjaxComplete(f),b(document).trigger("ajaxComplete",{xhr:f})),c&&(200===this.status||0===this.status?(c(this.responseText,!1),d.params.cache&&(d.removeFromCache(a),d.cache.push({url:a,time:(new Date).getTime(),data:this.responseText}))):c(this.responseText,!0))},d.params.onAjaxStart&&(d.params.onAjaxStart(f),b(document).trigger("ajaxStart",{xhr:f})),d.xhr=f,f.send(),f},d.pageInitCallback=function(a,c,e,f){if(!c.f7PageInitialized){c.f7PageInitialized=!0;var g={container:c,url:e,query:b.parseUrlQuery(e||""),name:b(c).attr("data-page"),view:a,from:f};d.params.onPageBeforeInit&&d.params.onPageBeforeInit(g),a.params.onPageBeforeInit&&a.params.onPageBeforeInit(g),b(document).trigger("pageBeforeInit",{page:g}),d.initPage(c),d.params.onPageInit&&d.params.onPageInit(g),a.params.onPageInit&&a.params.onPageInit(g),b(document).trigger("pageInit",{page:g})}},d.pageAnimCallbacks=function(a,c,e){var f={container:e.pageContainer,url:e.url,query:b.parseUrlQuery(e.url||""),name:b(e.pageContainer).attr("data-page"),view:c,from:e.position},g=e.oldPage,h=e.newPage;"after"===a&&(d.params.onPageAfterAnimation&&d.params.onPageAfterAnimation(f),c.params.onPageAfterAnimation&&c.params.onPageAfterAnimation(f),b(document).trigger("pageAfterAnimation",{page:f})),"before"===a&&(h.hasClass("no-navbar")&&!g.hasClass("no-navbar")&&c.hideNavbar(),!h.hasClass("no-navbar")&&g.hasClass("no-navbar")&&c.showNavbar(),h.hasClass("no-toolbar")&&!g.hasClass("no-toolbar")&&c.hideToolbar(),!h.hasClass("no-toolbar")&&g.hasClass("no-toolbar")&&c.showToolbar(),d.params.onPageBeforeAnimation&&d.params.onPageBeforeAnimation(f),c.params.onPageBeforeAnimation&&c.params.onPageBeforeAnimation(f),b(document).trigger("pageBeforeAnimation",{page:f}))},d.initPage=function(a){d.sizeNavbars&&d.sizeNavbars(b(a).parents(".view")[0]),d.initMessages&&d.initMessages(a)},d.allowPageChange=!0,d._tempDomElement=document.createElement("div"),d.loadContent=function(a,b){return d.allowPageChange?(d.allowPageChange=!1,d.xhr&&(d.xhr.abort(),d.xhr=!1),c(a,null,b),void(d.allowPageChange=!0)):!1},d.loadPage=function(a,b){return d.allowPageChange?a.url===b?!1:(d.allowPageChange=!1,d.xhr&&(d.xhr.abort(),d.xhr=!1),void d.get(b,function(e,f){return f?void(d.allowPageChange=!0):void c(a,b,e)})):!1},d.goBack=function(a,c,e){function f(){if(h=b(".page",d._tempDomElement),h.length>1&&(h=b(d._tempDomElement).find(".view-main .page")),0===h.length||h.length>1)return void(d.allowPageChange=!0);if(h.addClass("page-on-left"),g=b(m.find(".page")[0]),a.params.dynamicNavbar&&(l=!0,j=b(".navbar-inner",d._tempDomElement),j.length>1&&(j=b(".view-main .navbar-inner",d._tempDomElement)),(0===j.length||j>1)&&(l=!1)),l&&(k=m.find(".navbar"),i=k.find(".navbar-inner"),j.addClass(i.length>0?"navbar-on-left":"navbar-on-center"),i.length>1&&(b(i[0]).remove(),i=k.find(".navbar-inner")),k.prepend(j[0])),b(a.pagesContainer).prepend(h[0]),d.pageInitCallback(a,h[0],c,"left"),l&&j.hasClass("navbar-on-left")&&j.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarLeftOffset+"px,0,0)")}),e)return h.addClass("page-on-left"),void(d.allowPageChange=!0);a.url=c;h[0].clientLeft;d.pageAnimCallbacks("before",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h}),h.addClass("page-from-left-to-center"),g.removeClass("page-on-center").addClass("page-from-center-to-right"),l&&(j.removeClass("navbar-on-left").addClass("navbar-from-left-to-center"),j.find(".sliding").each(function(){b(this).transform("translate3d(0px,0,0)")}),i.removeClass("navbar-on-center").addClass("navbar-from-center-to-right"),i.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)")})),h.animationEnd(function(){d.afterGoBack(a,g[0],h[0]),d.pageAnimCallbacks("after",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h})})}if(!d.allowPageChange)return!1;d.allowPageChange=!1,d.xhr&&(d.xhr.abort(),d.xhr=!1);var g,h,i,j,k,l,m=b(a.container),n=m.find(".page");if(n.length>1){if(e)return void(d.allowPageChange=!0);if(a.url=a.history[a.history.length-2],h=b(n[n.length-2]),g=b(n[n.length-1]),a.params.dynamicNavbar){l=!0;var o=m.find(".navbar-inner:not(.cached)");j=b(o[0]),i=b(o[1])}d.pageAnimCallbacks("before",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h}),h.removeClass("page-on-left").addClass("page-from-left-to-center"),g.removeClass("page-on-center").addClass("page-from-center-to-right"),l&&(j.removeClass("navbar-on-left").addClass("navbar-from-left-to-center"),j.find(".sliding").each(function(){b(this).transform("translate3d(0px,0,0)")}),i.removeClass("navbar-on-center").addClass("navbar-from-center-to-right"),i.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)")})),h.animationEnd(function(){d.afterGoBack(a,g[0],h[0]),d.pageAnimCallbacks("after",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h})})}else{if(c&&0===c.indexOf("#")&&(c=void 0),a.history.length>1&&(c=a.history[a.history.length-2]),!c)return void(d.allowPageChange=!0);if(!a.params.domCache&&c in a.contentCache){var p=a.contentCache[c];return d._tempDomElement=document.createElement("div"),b(d._tempDomElement).append(p.nav[0]).append(p.page[0]),void f()}d.get(c,function(a,b){return b?void(d.allowPageChange=!0):(d._tempDomElement.innerHTML=a,void f())})}},d.afterGoBack=function(a,c,e){if(c=b(c),e=b(e),c.remove(),e.removeClass("page-from-left-to-center page-on-left").addClass("page-on-center"),d.allowPageChange=!0,a.params.dynamicNavbar){{var f=b(a.container).find(".navbar-inner:not(.cached)");b(f[1]).remove(),b(f[0]).removeClass("navbar-on-left navbar-from-left-to-center").addClass("navbar-on-center")}if(d.params.preloadPreviousPage&&a.params.domCache){var g=b(a.container).find(".navbar-inner.cached");b(g[g.length-1]).removeClass("cached")}}if(a.history.pop(),!a.params.domCache&&a.url&&a.url.indexOf("#content-")>-1&&a.url in a.contentCache&&(a.contentCache[a.url]=null,delete a.contentCache[a.url]),d.params.preloadPreviousPage){if(a.params.domCache){var h=b(a.container).find(".page.cached");b(h[h.length-1]).removeClass("cached")}d.goBack(a,!1,!0)}};var f=document.createElement("div");return d.modal=function(a){a=a||{};var c="";if(a.buttons&&a.buttons.length>0)for(var e=0;e<a.buttons.length;e++)c+='<span class="modal-button'+(a.buttons[e].bold?" modal-button-bold":"")+'">'+a.buttons[e].text+"</span>";var g=d.params.modalTemplate;g=a.title?g.replace(/{{if\ title}}/g,"").replace(/{{\/if\ title}}/g,""):g.split("{{if title}}")[0]+g.split("{{/if title}}")[1];var h=g.replace(/{{title}}/g,a.title||"").replace(/{{text}}/g,a.text||"").replace(/{{afterText}}/g,a.afterText||"").replace(/{{buttons}}/g,c).replace(/{{noButtons}}/g,a.buttons&&0!==a.buttons.length?"":"modal-no-buttons");f.innerHTML=h;var i=b(f).children();return b("body").append(i[0]),i.find(".modal-button").each(function(c,e){b(e).tap(function(b){a.buttons[c].close!==!1&&d.closeModal(i),a.buttons[c].onClick&&a.buttons[c].onClick(i,b)})}),d.openModal(i),i[0]},d.alert=function(a,b){return d.modal({text:a||"",title:b||d.params.modalTitle,buttons:[{text:d.params.modalButtonOk,bold:!0}]})},d.confirm=function(a,b,c){return d.modal({text:a||"",title:d.params.modalTitle||"",buttons:[{text:d.params.modalButtonCancel,onClick:c},{text:d.params.modalButtonOk,bold:!0,onClick:b}]})},d.prompt=function(a,c,e){return d.modal({text:a||"",title:d.params.modalTitle||"",afterText:'<input type="text" class="modal-prompt-input">',buttons:[{text:d.params.modalButtonCancel,onClick:function(a){e&&e(b(a).find(".modal-prompt-input").val())}},{text:d.params.modalButtonOk,bold:!0,onClick:function(a){c&&c(b(a).find(".modal-prompt-input").val())}}]})},d.showPreloader=function(a){return d.modal({title:a||d.params.modalPreloaderTitle,text:'<div class="preloader"></div>'})},d.hidePreloader=function(){d.closeModal()},d.showIndicator=function(){b("body").append('<div class="preloader-indicator-overlay"></div><div class="preloader-indicator-modal"><span class="preloader preloader-white"></span></div>')},d.hideIndicator=function(){b(".preloader-indicator-overlay, .preloader-indicator-modal").remove()},d.actions=function(a){a=a||[],a.length>0&&!b.isArray(a[0])&&(a=[a]);for(var c=d.params.modalActionsTemplate,e="",g=0;g<a.length;g++)for(var h=0;h<a[g].length;h++){0===h&&(e+='<div class="actions-modal-group">');var i=a[g][h],j=i.label?"actions-modal-label":"actions-modal-button";i.bold&&(j+=" actions-modal-button-bold"),i.red&&(j+=" actions-modal-button-red"),e+='<span class="'+j+'">'+i.text+"</span>",h===a[g].length-1&&(e+="</div>")}var k=c.replace(/{{buttons}}/g,e);f.innerHTML=k;var l=b(f).children();b("body").append(l[0]);var m=l.find(".actions-modal-group");return m.each(function(c,e){var f=c;b(e).children().each(function(c,e){var g=c,h=a[f][g];b(e).hasClass("actions-modal-button")&&b(e).tap(function(a){h.close!==!1&&d.closeModal(l),h.onClick&&h.onClick(l,a)})})}),d.openModal(l),l[0]},d.popover=function(a,c){function e(){a.css({left:"",top:""});var d=a.width(),e=a.height(),f=a.find(".popover-angle"),g=f.width()/2;f.removeClass("on-left on-right on-top on-bottom").css({left:"",top:""});var h=c.outerWidth(),i=c.outerHeight(),j=c.offset(),k=c.parents(".page");k.length>0&&(j.top=j.top-k[0].scrollTop);var l=b(window).height(),m=b(window).width(),n=0,o=0,p=0,q="top";e+g<j.top?n=j.top-e-g:e+g<l-j.top-i?(q="bottom",n=j.top+i+g):(q="middle",n=i/2+j.top-e/2,p=n,0>n?n=5:n+e>l&&(n=l-e-5),p-=n),"top"===q||"bottom"===q?(o=h/2+j.left-d/2,p=o,5>o&&(o=5),o+d>m&&(o=m-d-5),"top"===q&&f.addClass("on-bottom"),"bottom"===q&&f.addClass("on-top"),p-=o,f.css({left:d/2-g+p+"px"})):"middle"===q&&(o=j.left-d-g,f.addClass("on-right"),5>o&&(o=j.left+h+g,f.removeClass("on-right").addClass("on-left")),o+d>m&&(o=m-d-5,f.removeClass("on-right").addClass("on-left")),f.css({top:e/2-g+p+"px"})),a.css({top:n+"px",left:o+"px"})}return a=b(a),c=b(c),0===a.length||0===c.length?!1:(a.show(),e(),b(window).on("resize",e),a.on("close",function(){b(window).off("resize",e)}),d.openModal(a),a[0])},d.popup=function(a){return a=b(a),0===a.length?!1:(a.show(),a.find(".view").length>0&&d.sizeNavbars(a.find(".view")[0]),d.openModal(a),a[0])},d.openModal=function(a){if(a=b(a),0===b(".modal-overlay").length){var c=document.createElement("div");c.className="modal-overlay",b("body").append(c)}var d=a.hasClass("popover"),e=a.hasClass("popup");d||e||a.css({marginTop:-a.outerHeight()/2+"px"});a[0].clientLeft;return a.trigger("open"),b(".modal-overlay").addClass("modal-overlay-visible"),b(a).addClass("modal-in"),!0},d.closeModal=function(a){a=b(a||".modal-in"),b(".modal-overlay").removeClass("modal-overlay-visible"),a.trigger("close");var c=a.hasClass("popover"),d=a.hasClass("popup");return c?a.removeClass("modal-in modal-out").trigger("closed").hide():a.removeClass("modal-in").addClass("modal-out").transitionEnd(function(){a.trigger("closed"),d||a.remove(),d&&a.removeClass("modal-out").hide()}),!0},d.allowPanelOpen=!0,d.openPanel=function(a){if(!d.allowPanelOpen)return!1;var c=b(".panel-"+a);if(0===c.length||c.hasClass("active"))return!1;d.closePanel(),d.allowPanelOpen=!1;var e=c.hasClass("panel-reveal")?"reveal":"cover";c.css({display:"block"}).addClass("active"),c.trigger("open");var f=(c[0].clientLeft,"reveal"===e?b(".views"):c),g=!1;return f.transitionEnd(function(a){b(a.target).is(f)&&(g||c.trigger("opened")),d.allowPanelOpen=!0}),setTimeout(function(){g||c.trigger("opened")},d.params.panelsAnimationDuration),b("body").addClass("with-panel-"+a+"-"+e),!0},d.closePanel=function(){var a=b(".panel.active");if(0===a.length)return!1;var c=a.hasClass("panel-reveal")?"reveal":"cover",d=a.hasClass("panel-left")?"left":"right";a.removeClass("active");var e="reveal"===c?b(".views"):a;a.trigger("close"),e.transitionEnd(function(){a.css({display:""}),a.trigger("closed"),b("body").removeClass("panel-closing")}),b("body").addClass("panel-closing").removeClass("with-panel-"+d+"-"+c)},d.initMessages=function(a){var c=b(a),e=c.find(".messages");if(0!==e.length){var f=c.find(".page-content");f[0].scrollTop=e.height()-f.height(),d.updateMessagesAngles(e)}},d.addMessage=function(a){if(a=a||{},a.type=a.type||"sent",!a.text||0===a.length)return!1;var c=b(".messages-content");if(0===c.length)return!1;var e=c.find(".messages"),f="";a.day&&(f+='<div class="messages-date">'+a.day+(a.time?",":"")+(a.time?" <span>"+a.time+"</span>":"")+"</div>");var g=a.text.indexOf("<img")>=0,h="message message-"+a.type+(g?" message-pic":"")+" message-appear";f+='<div class="'+h+'">'+a.text+"</div>",e.append(f),d.updateMessagesAngles(e),d.scrollMessagesContainer(c)},d.updateMessagesAngles=function(a){a.find(".message-sent").each(function(){var a=b(this);a.next().hasClass("message-sent")?a.removeClass("message-last"):a.addClass("message-last")}),a.find(".message-received").each(function(){var a=b(this);a.next().hasClass("message-received")?a.removeClass("message-last"):a.addClass("message-last")})},d.scrollMessagesContainer=function(a){function c(){a[0].scrollTop<g?(a[0].scrollTop=a[0].scrollTop+Math.floor(h),d._animFrame(c)):a[0].scrollTop=g}if(a=b(a||".messages-content"),0!==a.length){var e=a.find(".messages"),f=a[0].scrollTop,g=e.height()-a.height(),h=(g-f)/12;d._animFrame(c)}},d.swipeoutOpenedEl=void 0,d.allowSwipeout=!0,d.initSwipeout=function(){function a(a){d.allowSwipeout&&(g=!1,f=!0,h=void 0,q.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,q.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,i=(new Date).getTime())}function c(a){if(f){var c="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,e="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;if("undefined"==typeof h&&(h=!!(h||Math.abs(e-q.y)>Math.abs(c-q.x))),h)return void(f=!1);if(g||(k=b(this),l=k.find(".swipeout-content"),m=k.find(".swipeout-actions-inner"),n=m.width(),p=k.hasClass("swipeout-opened"),k.removeClass("transitioning")),g=!0,a.preventDefault(),j=c-q.x,o=j-(p?n:0),o>0&&(o=0),-n>o&&(o=-n-Math.pow(-o-n,.8)),d.params.swipeoutNoFollow){if(0>j&&!p)return d.swipeoutOpen(k),f=!1,void(g=!1);if(j>0&&p)return d.swipeoutClose(k),f=!1,void(g=!1)}else l.transform("translate3d("+o+"px,0,0)")}}function e(){if(!f||!g)return f=!1,void(g=!1);f=!1,g=!1;var a=(new Date).getTime()-i;0!==o&&o!==-n&&(d.allowSwipeout=!1);var b;b=p?300>a&&o>-(n-10)||a>=300&&o>-n/2?"close":"open":300>a&&-10>o||a>=300&&-n/2>o?"open":"close","open"===b?(d.swipeoutOpenedEl=k,k.trigger("open"),k.addClass("swipeout-opened transitioning"),l.transform("translate3d("+-n+"px,0,0)")):(k.trigger("close"),d.swipeoutOpenedEl=void 0,k.addClass("transitioning").removeClass("swipeout-opened"),l.transform("translate3d(0px,0,0)")),l.transitionEnd(function(){d.allowSwipeout=!0,k.trigger("open"===b?"opened":"closed")})}var f,g,h,i,j,k,l,m,n,o,p,q={};b(document).on(d.touchEvents.start,function(a){if(d.swipeoutOpenedEl){var c=b(a.target);d.swipeoutOpenedEl.is(c[0])||c.parents(".swipeout").is(d.swipeoutOpenedEl)||c.hasClass("modal-in")||c.parents(".modal-in").length>0||c.hasClass("modal-overlay")||d.swipeoutClose(d.swipeoutOpenedEl)}}),b(document).on(d.touchEvents.start,".list-block li.swipeout",a),b(document).on(d.touchEvents.move,".list-block li.swipeout",c),b(document).on(d.touchEvents.end,".list-block li.swipeout",e)},d.swipeoutOpen=function(a){if(a=b(a),a.hasClass("swipeout")&&0!==a.length){a.length>1&&(a=b(a[0])),a.trigger("open").addClass("transitioning swipeout-opened");var c=a.find(".swipeout-actions-inner");a.find(".swipeout-content").transform("translate3d(-"+c.width()+"px,0,0)").transitionEnd(function(){a.trigger("opened")}),d.swipeoutOpenedEl=a}},d.swipeoutClose=function(a){a=b(a),0!==a.length&&(d.allowSwipeout=!1,a.trigger("close"),a.removeClass("swipeout-opened").addClass("transitioning").find(".swipeout-content").transform("translate3d(0px,0,0)").transitionEnd(function(){a.trigger("closed"),d.allowSwipeout=!0}),d.swipeoutOpenedEl[0]===a[0]&&(d.swipeoutOpenedEl=void 0))},d.swipeoutDelete=function(a){if(a=b(a),0!==a.length){a.length>1&&(a=b(a[0])),d.swipeoutOpenedEl=void 0,a.trigger("delete"),a.css({height:a.outerHeight()+"px"});{a[0].clientLeft}a.css({height:"0px"}).addClass("deleting transitioning").transitionEnd(function(){a.trigger("deleted"),a.remove()}),a.find(".swipeout-content").transform("translate3d(-100%,0,0)")}},d.initPullToRefresh=function(){function a(a){f||(g=!1,f=!0,h=void 0,l.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,l.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,j=(new Date).getTime())}function c(a){if(f){var c="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,e="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;return"undefined"==typeof h&&(h=!!(h||Math.abs(e-l.y)>Math.abs(c-l.x))),h?(g||(k=b(this),k.removeClass("transitioning"),o=k.hasClass("refreshing")?44:0,n=k[0].scrollHeight===k[0].offsetHeight||"ios"!==d.device.os?!0:!1),g=!0,i=e-l.y,i>0&&k[0].scrollTop<=0||k[0].scrollTop<0?(n&&(a.preventDefault(),k.transform("translate3d(0,"+(Math.pow(i,.85)+o)+"px,0)")),void(n&&Math.pow(i,.85)>44||!n&&i>=88?(m=!0,k.addClass("pull-up")):(m=!1,k.removeClass("pull-up")))):(k.removeClass("pull-up"),void(m=!1))):void(f=!1)}}function e(){return f&&g?(k.addClass("transitioning"),k.transform(""),m&&(k.addClass("refreshing"),k.trigger("refresh",{done:function(){d.pullToRefreshDone(k)}})),f=!1,void(g=!1)):(f=!1,void(g=!1))}var f,g,h,i,j,k,l={},m=!1,n=!1,o=0;b(document).on(d.touchEvents.start,".pull-to-refresh-content",a),b(document).on(d.touchEvents.move,".pull-to-refresh-content",c),b(document).on(d.touchEvents.end,".pull-to-refresh-content",e)},d.pullToRefreshDone=function(a){a=b(a),0===a.length&&(a=b(".pull-to-refresh-content.refreshing")),a.removeClass("refreshing").addClass("transitioning"),a.transitionEnd(function(){a.removeClass("transitioning pull-up")})},d.initClickEvents=function(){function a(){var a=b(this),c=a.attr("href");if(!a.hasClass("external")){if(a.hasClass("open-panel")&&d.openPanel(1===b(".panel").length?b(".panel").hasClass("panel-left")?"left":"right":"right"===a.attr("data-panel")?"right":"left"),a.hasClass("close-panel")&&d.closePanel(),a.hasClass("panel-overlay")&&d.params.panelsCloseByOutside&&d.closePanel(),a.hasClass("open-popover")){var e;e=a.attr("data-popover")?a.attr("data-popover"):".popover",d.popover(e,a)}var f;if(a.hasClass("open-popup")&&(f=a.attr("data-popup")?a.attr("data-popup"):".popup",d.popup(f)),a.hasClass("close-popup")&&d.closeModal(".popup.modal-in"),a.hasClass("modal-overlay")&&(b(".modal.modal-in").length>0&&d.params.modalCloseByOutside&&d.closeModal(),b(".actions-modal.modal-in").length>0&&d.params.modalActionsCloseByOutside&&d.closeModal(),b(".popup.modal-in").length>0&&d.params.modalPopupCloseByOutside&&d.closeModal(),b(".popover.modal-in").length>0&&d.closeModal(".popover.modal-in")),a.hasClass("label-checkbox")||a.hasClass("label-radio")){var g=a.find("input");return"checkbox"===g.attr("type")&&(g[0].checked=g[0].checked===!0?!1:!0),"radio"===g.attr("type")&&(a.find("input")[0].checked=!0),void g.trigger("change")}if(b.supportTouch&&a.parent().hasClass("label-switch")&&(a[0].checked=!a[0].checked,a.trigger("change")),a.hasClass("tab-link")){{var h=b(a.attr("href"));h.parent().find(".tab.active").removeClass("active")}h.addClass("active");var i=a.parent();(i.hasClass("buttons-row")||a.parents(".tabbar").length>0)&&(i.find(".active").removeClass("active"),a.addClass("active"))}if(a.hasClass("swipeout-delete"))if(a.attr("data-confirm")){d.confirm(a.attr("data-confirm"),function(){d.swipeoutDelete(a.parents(".swipeout"))})}else d.swipeoutDelete(a.parents(".swipeout"));if(!d.params.ajaxLinks||a.is(d.params.ajaxLinks)){var j=c&&c.length>0&&0!==c.indexOf("#");if(j||a.hasClass("back")){var k;if(k=a.attr("data-view")?b(a.attr("data-view"))[0].f7View:a.parents(".view")[0]&&a.parents(".view")[0].f7View,!k)for(var l=0;l<d.views.length;l++)d.views[l].main&&(k=d.views[l]);if(!k)return;a.hasClass("back")?k.goBack(a.attr("href")):k.loadPage(a.attr("href"))}}}}function c(a){b(this).hasClass("external")||a.preventDefault()}b(document).tap("a, .open-panel, .close-panel, .panel-overlay, .modal-overlay, .swipeout-delete, .close-popup, .open-popup, .open-popover, .label-checkbox, .label-radio, .label-switch, .label-switch input",a),b(document).on("click","a, .label-checkbox, .label-radio",c)},d.initResize=function(){b(window).on("resize",d.resize),b(window).on("orientationchange",d.orientationchange)},d.resize=function(){d.sizeNavbars&&d.sizeNavbars()},d.orientationchange=function(){d.device&&d.device.minimalUi&&(90===window.orientation||-90===window.orientation)&&(document.body.scrollTop=0)},d.getDeviceInfo=function(){var a={},c=navigator.userAgent,e=c.match(/(Android);?[\s\/]+([\d.]+)?/),f=c.match(/(iPad).*OS\s([\d_]+)/),g=c.match(/(iPod)(.*OS\s([\d_]+))?/),h=!f&&c.match(/(iPhone\sOS)\s([\d_]+)/);if(e&&(a.os="android",a.osVersion=e[2]),(f||h||g)&&(a.os="ios"),h&&!g&&(a.osVersion=h[2].replace(/_/g,".")),f&&(a.osVersion=f[2].replace(/_/g,".")),g&&(a.osVersion=g[3]?g[3].replace(/_/g,"."):null),a.webview=(h||f||g)&&c.match(/.*AppleWebKit(?!.*Safari)/i),a.os&&"ios"===a.os){var i=a.osVersion.split(".");a.minimalUi=!a.webview&&(g||h)&&(1*i[0]===7?1*i[1]>=1:1*i[0]>7)&&b('meta[name="viewport"]').length>0&&b('meta[name="viewport"]').attr("content").indexOf("minimal-ui")>=0}var j=b(window).width(),k=b(window).height();if(a.statusBar=!1,a.statusBar=a.webview&&320===j&&568===k||568===j&&320===k||320===j&&480===k||480===j&&320===k||768===j&&1024===k||1024===j&&768===k?!0:!1,a.pixelRatio=window.devicePixelRatio||1,a.os){var l=a.os+" "+a.os+"-"+a.osVersion.replace(/\./g,"-")+" "+a.os+"-"+a.osVersion.split(".")[0];b("html").addClass(l)}a.statusBar?b("html").addClass("with-statusbar-overlay"):b("html").removeClass("with-statusbar-overlay"),d.device=a},d.init=function(){d.getDeviceInfo&&d.getDeviceInfo(),d.initClickEvents&&d.initClickEvents(),d.initSwipeout&&d.params.swipeout&&d.initSwipeout(),d.initPullToRefresh&&d.params.pullToRefresh&&d.initPullToRefresh(),b(".page").each(function(){d.initPage(this)}),d.initResize&&d.initResize(),d.params.onAppInit&&d.params.onAppInit()},d.params.init&&d.init(),d};var a=function(a){var b=this,c=0;for(c=0;c<a.length;c++)b[c]=a[c];return b.length=a.length,this};a.prototype={addClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.add(b[c]);
16
+ return this},removeClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.remove(b[c]);return this},hasClass:function(a){return this[0]?this[0].className.indexOf(a)>=0:!1},toggleClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.toggle(b[c]);return this},attr:function(a,b){if("undefined"==typeof b)return this[0].getAttribute(a);for(var c=0;c<this.length;c++)this[c].setAttribute(a,b);return this},val:function(a){if("undefined"==typeof a)return this[0]?this[0].value:null;for(var b=0;b<this.length;b++)this[b].value=a;return this},transform:function(a){for(var b=0;b<this.length;b++){var c=this[b].style;c.webkitTransform=c.MsTransform=c.msTransform=c.MozTransform=c.OTransform=c.transform=a}return this},transition:function(a){for(var b=0;b<this.length;b++){var c=this[b].style;c.webkitTransitionDuration=c.MsTransitionDuration=c.msTransitionDuration=c.MozTransitionDuration=c.OTransitionDuration=c.transitionDuration=a+"ms"}return this},on:function(a,c,d){function e(a){var e=a.target;if(b(e).is(c))d.call(e,a);else for(var f=b(e).parents(),g=0;g<f.length;g++)b(f[g]).is(c)&&d.call(f[g],a)}var f,g,h=a.split(" ");for(f=0;f<this.length;f++)if(2===arguments.length||c===!1)for(2===arguments.length&&(d=arguments[1]),g=0;g<h.length;g++)this[f].addEventListener(h[g],d,!1);else for(g=0;g<h.length;g++)this[f].addEventListener(h[g],e,!1);return this},tap:function(a,c){function d(){g=!0,h=!1}function e(){g&&!h&&(h=!0)}function f(a){a.preventDefault(),g&&!h&&c.call(this,a),g=h=!1}var g,h,i=this;1===arguments.length&&(c=arguments[0],a=!1),b.supportTouch?(i.on("touchstart",a,d),i.on("touchmove",a,e),i.on("touchend",a,f)):i.on("click",a,c)},off:function(a,b){for(var c=0;c<this.length;c++)this[c].removeEventListener(a,b,!1);return this},trigger:function(a,b){for(var c=0;c<this.length;c++){var d;try{d=new CustomEvent(a,{detail:b,bubbles:!0,cancelable:!0})}catch(e){d=document.createEvent("Event"),d.initEvent(a,!0,!0),d.detail=b}this[c].dispatchEvent(d)}return this},transitionEnd:function(a){function b(f){for(a.call(this,f),c=0;c<d.length;c++)e.off(d[c],b)}var c,d=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],e=this;if(a)for(c=0;c<d.length;c++)e.on(d[c],b);return this},animationEnd:function(a){function b(f){for(a(f),c=0;c<d.length;c++)e.off(d[c],b)}var c,d=["webkitAnimationEnd","OAnimationEnd","MSAnimationEnd","animationend"],e=this;if(a)for(c=0;c<d.length;c++)e.on(d[c],b);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width"))-parseFloat(this.css("padding-left"))-parseFloat(this.css("padding-right")):null},outerWidth:function(a){return this.length>0?a?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?this[0].offsetHeight-parseFloat(this.css("padding-top"))-parseFloat(this.css("padding-bottom")):null},outerHeight:function(a){return this.length>0?a?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var a=this[0],b=a.getBoundingClientRect(),c=document.body,d=a.clientTop||c.clientTop||0,e=a.clientLeft||c.clientLeft||0,f=window.pageYOffset||a.scrollTop,g=window.pageXOffset||a.scrollLeft;return{top:b.top+f-d,left:b.left+g-e}}return null},hide:function(){for(var a=0;a<this.length;a++)this[a].style.display="none";return this},show:function(){for(var a=0;a<this.length;a++)this[a].style.display="block";return this},css:function(a){if("string"!=typeof a){for(var b=0;b<this.length;b++)for(var c in a)this[b].style[c]=a[c];return this}return this[0]?window.getComputedStyle(this[0],null).getPropertyValue(a):void 0},each:function(a){for(var b=0;b<this.length;b++)a.call(this[b],b,this[b]);return this},html:function(a){if("undefined"==typeof a)return this[0].innerHTML;for(var b=0;b<this.length;b++)this[b].innerHTML=a;return this},text:function(a){if("undefined"==typeof a)return this[0]?this[0].textContent.trim():null;for(var b=0;b<this.length;b++)this[0].textContent=a},is:function(a){var b;b="string"==typeof a?document.querySelectorAll(a):a.nodeType?[a]:a;for(var c=0;c<b.length;c++)if(b[c]===this[0])return!0;return!1},indexOf:function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b},append:function(a){for(var b=0;b<this.length;b++)if("string"==typeof a){var c=document.createElement("div");for(c.innerHTML=a;c.firstChild;)this[b].appendChild(c.firstChild)}else this[b].appendChild(a);return this},prepend:function(a){for(var b=0;b<this.length;b++)if("string"==typeof a){var c=document.createElement("div");c.innerHTML=a;for(var d=c.childNodes.length-1;d>=0;d--)this[b].insertBefore(c.childNodes[d],this[b].childNodes[0])}else this[b].insertBefore(a,this[b].childNodes[0]);return this},insertBefore:function(a){for(var c=b(a),d=0;d<this.length;d++)if(1===c.length)c[0].parentNode.insertBefore(this[d],c[0]);else if(c.length>1)for(var e=0;e<c.length;e++)c[e].parentNode.insertBefore(this[d].cloneNode(!0),c[e])},next:function(){return new a(this.length>0?this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},prev:function(){return new a(this.length>0?this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},parent:function(a){for(var c=[],d=0;d<this.length;d++)a?b(this[d].parentNode).is(a)&&c.push(this[d].parentNode):c.push(this[d].parentNode);return b(b.unique(c))},parents:function(a){for(var c=[],d=0;d<this.length;d++)for(var e=this[d].parentNode;e;)a?b(e).is(a)&&c.push(e):c.push(e),e=e.parentNode;return b(b.unique(c))},find:function(b){for(var c=[],d=0;d<this.length;d++)for(var e=this[d].querySelectorAll(b),f=0;f<e.length;f++)c.push(e[f]);return new a(c)},children:function(c){for(var d=[],e=0;e<this.length;e++)for(var f=this[e].childNodes,g=0;g<f.length;g++)c?1===f[g].nodeType&&b(f[g]).is(c)&&d.push(f[g]):1===f[g].nodeType&&d.push(f[g]);return new a(b.unique(d))},remove:function(){for(var a=0;a<this.length;a++)this[a].parentNode&&this[a].parentNode.removeChild(this[a]);return this}};var b=function(b,c){var d=[],e=0;if(b)if("string"==typeof b){var f=(c||document).querySelectorAll(b);for(e=0;e<f.length;e++)d.push(f[e])}else if(b.nodeType||b===window||b===document)d.push(b);else if(b.length>0&&b[0].nodeType)for(e=0;e<b.length;e++)d.push(b[e]);return new a(d)};b.parseUrlQuery=function(a){var b,c,d,e={};for(a.indexOf("?")>=0&&(a=a.split("?")[1]),c=a.split("&"),b=0;b<c.length;b++)d=c[b].split("="),e[d[0]]=d[1];return e},b.isArray=function(a){return"[object Array]"===Object.prototype.toString.apply(a)?!0:!1},b.unique=function(a){for(var b=[],c=0;c<a.length;c++)-1===b.indexOf(a[c])&&b.push(a[c]);return b},b.trim=function(a){return a.trim()},b.supportTouch=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),b.fn=a.prototype}();
@@ -0,0 +1,2588 @@
1
+ /*
2
+ * Framework7 0.6.8
3
+ * Full Featured HTML Framework For Building iOS7 Apps
4
+ *
5
+ * http://www.idangero.us/framework7
6
+ *
7
+ * Copyright 2014, Vladimir Kharlampidi
8
+ * The iDangero.us
9
+ * http://www.idangero.us/
10
+ *
11
+ * Licensed under MIT
12
+ *
13
+ * Released on: April 6, 2014
14
+ */
15
+ /*=============
16
+ Framework 7
17
+ =============*/
18
+ html,
19
+ body {
20
+ position: relative;
21
+ height: 100%;
22
+ width: 100%;
23
+ overflow-x: hidden;
24
+ }
25
+ body {
26
+ font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
27
+ margin: 0;
28
+ padding: 0;
29
+ color: #000;
30
+ font-size: 14px;
31
+ line-height: 1.4;
32
+ width: 100%;
33
+ -webkit-text-size-adjust: 100%;
34
+ background: #fff;
35
+ overflow: hidden;
36
+ }
37
+ @media all and (width: 1024px) and (height: 691px) and (orientation: landscape) {
38
+ html,
39
+ body {
40
+ height: 671px;
41
+ }
42
+ }
43
+ @media all and (width: 1024px) and (height: 692px) and (orientation: landscape) {
44
+ html,
45
+ body {
46
+ height: 672px;
47
+ }
48
+ }
49
+ * {
50
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
51
+ -webkit-touch-callout: none;
52
+ }
53
+ a,
54
+ input,
55
+ textarea,
56
+ select {
57
+ outline: 0;
58
+ }
59
+ a {
60
+ text-decoration: none;
61
+ color: #007aff;
62
+ }
63
+ p {
64
+ margin: 1em 0;
65
+ }
66
+ /* === Grid === */
67
+ .row:before,
68
+ .row:after {
69
+ content: " ";
70
+ display: table;
71
+ }
72
+ .row:after {
73
+ clear: both;
74
+ }
75
+ .row > [class*="col-"] {
76
+ float: left;
77
+ margin-left: 15px;
78
+ -webkit-box-sizing: border-box;
79
+ -moz-box-sizing: border-box;
80
+ box-sizing: border-box;
81
+ }
82
+ .row > [class*="col-"]:first-child {
83
+ margin-left: 0;
84
+ }
85
+ .no-gutter.row > [class*="col-"] {
86
+ margin-left: 0;
87
+ }
88
+ .row .col-100 {
89
+ width: 100%;
90
+ width: -webkit-calc( (100% - 15px*0) / 1);
91
+ width: -moz-calc( (100% - 15px*0) / 1);
92
+ width: calc( (100% - 15px*0) / 1);
93
+ }
94
+ .row.no-gutter .col-100 {
95
+ width: 100%;
96
+ }
97
+ .row .col-95 {
98
+ width: 95%;
99
+ width: -webkit-calc( (100% - 15px*0.05263157894736836) / 1.0526315789473684);
100
+ width: -moz-calc( (100% - 15px*0.05263157894736836) / 1.0526315789473684);
101
+ width: calc( (100% - 15px*0.05263157894736836) / 1.0526315789473684);
102
+ }
103
+ .row.no-gutter .col-95 {
104
+ width: 95%;
105
+ }
106
+ .row .col-90 {
107
+ width: 90%;
108
+ width: -webkit-calc( (100% - 15px*0.11111111111111116) / 1.1111111111111112);
109
+ width: -moz-calc( (100% - 15px*0.11111111111111116) / 1.1111111111111112);
110
+ width: calc( (100% - 15px*0.11111111111111116) / 1.1111111111111112);
111
+ }
112
+ .row.no-gutter .col-90 {
113
+ width: 90%;
114
+ }
115
+ .row .col-85 {
116
+ width: 85%;
117
+ width: -webkit-calc( (100% - 15px*0.17647058823529416) / 1.1764705882352942);
118
+ width: -moz-calc( (100% - 15px*0.17647058823529416) / 1.1764705882352942);
119
+ width: calc( (100% - 15px*0.17647058823529416) / 1.1764705882352942);
120
+ }
121
+ .row.no-gutter .col-85 {
122
+ width: 85%;
123
+ }
124
+ .row .col-80 {
125
+ width: 80%;
126
+ width: -webkit-calc( (100% - 15px*0.25) / 1.25);
127
+ width: -moz-calc( (100% - 15px*0.25) / 1.25);
128
+ width: calc( (100% - 15px*0.25) / 1.25);
129
+ }
130
+ .row.no-gutter .col-80 {
131
+ width: 80%;
132
+ }
133
+ .row .col-75 {
134
+ width: 75%;
135
+ width: -webkit-calc( (100% - 15px*0.33333333333333326) / 1.3333333333333333);
136
+ width: -moz-calc( (100% - 15px*0.33333333333333326) / 1.3333333333333333);
137
+ width: calc( (100% - 15px*0.33333333333333326) / 1.3333333333333333);
138
+ }
139
+ .row.no-gutter .col-75 {
140
+ width: 75%;
141
+ }
142
+ .row .col-66 {
143
+ width: 66.66666666666666%;
144
+ width: -webkit-calc( (100% - 15px*0.5000000000000002) / 1.5000000000000002);
145
+ width: -moz-calc( (100% - 15px*0.5000000000000002) / 1.5000000000000002);
146
+ width: calc( (100% - 15px*0.5000000000000002) / 1.5000000000000002);
147
+ }
148
+ .row.no-gutter .col-66 {
149
+ width: 66.66666666666666%;
150
+ }
151
+ .row .col-60 {
152
+ width: 60%;
153
+ width: -webkit-calc( (100% - 15px*0.6666666666666667) / 1.6666666666666667);
154
+ width: -moz-calc( (100% - 15px*0.6666666666666667) / 1.6666666666666667);
155
+ width: calc( (100% - 15px*0.6666666666666667) / 1.6666666666666667);
156
+ }
157
+ .row.no-gutter .col-60 {
158
+ width: 60%;
159
+ }
160
+ .row .col-50 {
161
+ width: 50%;
162
+ width: -webkit-calc( (100% - 15px*1) / 2);
163
+ width: -moz-calc( (100% - 15px*1) / 2);
164
+ width: calc( (100% - 15px*1) / 2);
165
+ }
166
+ .row.no-gutter .col-50 {
167
+ width: 50%;
168
+ }
169
+ .row .col-40 {
170
+ width: 40%;
171
+ width: -webkit-calc( (100% - 15px*1.5) / 2.5);
172
+ width: -moz-calc( (100% - 15px*1.5) / 2.5);
173
+ width: calc( (100% - 15px*1.5) / 2.5);
174
+ }
175
+ .row.no-gutter .col-40 {
176
+ width: 40%;
177
+ }
178
+ .row .col-33 {
179
+ width: 33.333333333333336%;
180
+ width: -webkit-calc( (100% - 15px*2) / 3);
181
+ width: -moz-calc( (100% - 15px*2) / 3);
182
+ width: calc( (100% - 15px*2) / 3);
183
+ }
184
+ .row.no-gutter .col-33 {
185
+ width: 33.333333333333336%;
186
+ }
187
+ .row .col-25 {
188
+ width: 25%;
189
+ width: -webkit-calc( (100% - 15px*3) / 4);
190
+ width: -moz-calc( (100% - 15px*3) / 4);
191
+ width: calc( (100% - 15px*3) / 4);
192
+ }
193
+ .row.no-gutter .col-25 {
194
+ width: 25%;
195
+ }
196
+ .row .col-20 {
197
+ width: 20%;
198
+ width: -webkit-calc( (100% - 15px*4) / 5);
199
+ width: -moz-calc( (100% - 15px*4) / 5);
200
+ width: calc( (100% - 15px*4) / 5);
201
+ }
202
+ .row.no-gutter .col-20 {
203
+ width: 20%;
204
+ }
205
+ .row .col-15 {
206
+ width: 15%;
207
+ width: -webkit-calc( (100% - 15px*5.666666666666667) / 6.666666666666667);
208
+ width: -moz-calc( (100% - 15px*5.666666666666667) / 6.666666666666667);
209
+ width: calc( (100% - 15px*5.666666666666667) / 6.666666666666667);
210
+ }
211
+ .row.no-gutter .col-15 {
212
+ width: 15%;
213
+ }
214
+ .row .col-10 {
215
+ width: 10%;
216
+ width: -webkit-calc( (100% - 15px*9) / 10);
217
+ width: -moz-calc( (100% - 15px*9) / 10);
218
+ width: calc( (100% - 15px*9) / 10);
219
+ }
220
+ .row.no-gutter .col-10 {
221
+ width: 10%;
222
+ }
223
+ .row .col-5 {
224
+ width: 5%;
225
+ width: -webkit-calc( (100% - 15px*19) / 20);
226
+ width: -moz-calc( (100% - 15px*19) / 20);
227
+ width: calc( (100% - 15px*19) / 20);
228
+ }
229
+ .row.no-gutter .col-5 {
230
+ width: 5%;
231
+ }
232
+ /* === Views === */
233
+ .views,
234
+ .view {
235
+ position: relative;
236
+ width: 100%;
237
+ height: 100%;
238
+ z-index: 5000;
239
+ }
240
+ .views {
241
+ overflow: auto;
242
+ -webkit-overflow-scrolling: touch;
243
+ }
244
+ .view {
245
+ overflow: hidden;
246
+ -webkit-box-sizing: border-box;
247
+ -moz-box-sizing: border-box;
248
+ box-sizing: border-box;
249
+ }
250
+ /* === Pages === */
251
+ .pages {
252
+ position: relative;
253
+ width: 100%;
254
+ height: 100%;
255
+ overflow: hidden;
256
+ background: #000;
257
+ }
258
+ .page {
259
+ -webkit-box-sizing: border-box;
260
+ -moz-box-sizing: border-box;
261
+ box-sizing: border-box;
262
+ position: absolute;
263
+ left: 0;
264
+ top: 0;
265
+ width: 100%;
266
+ height: 100%;
267
+ overflow: hidden;
268
+ background: #efeff4;
269
+ -webkit-transform: translate3d(0, 0, 0);
270
+ -ms-transform: translate3d(0, 0, 0);
271
+ transform: translate3d(0, 0, 0);
272
+ opacity: 1;
273
+ -webkit-box-shadow: none;
274
+ box-shadow: none;
275
+ }
276
+ .page.cached {
277
+ display: none;
278
+ }
279
+ .page-on-left {
280
+ opacity: 0.9;
281
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
282
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
283
+ -webkit-transform: translate3d(-20%, 0, 0);
284
+ -ms-transform: translate3d(-20%, 0, 0);
285
+ transform: translate3d(-20%, 0, 0);
286
+ }
287
+ .page-on-center {
288
+ opacity: 1;
289
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
290
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
291
+ -webkit-transform: translate3d(0, 0, 0);
292
+ -ms-transform: translate3d(0, 0, 0);
293
+ transform: translate3d(0, 0, 0);
294
+ }
295
+ .page-on-right {
296
+ -webkit-box-shadow: none;
297
+ box-shadow: none;
298
+ opacity: 1;
299
+ -webkit-transform: translate3d(100%, 0, 0);
300
+ -ms-transform: translate3d(100%, 0, 0);
301
+ transform: translate3d(100%, 0, 0);
302
+ }
303
+ .page-content {
304
+ overflow: auto;
305
+ -webkit-overflow-scrolling: touch;
306
+ -webkit-box-sizing: border-box;
307
+ -moz-box-sizing: border-box;
308
+ box-sizing: border-box;
309
+ height: 100%;
310
+ }
311
+ .page-transitioning {
312
+ -webkit-transition-duration: 400ms;
313
+ transition-duration: 400ms;
314
+ }
315
+ .page-from-right-to-center {
316
+ -webkit-animation: pageFromRightToCenter 400ms forwards;
317
+ animation: pageFromRightToCenter 400ms forwards;
318
+ }
319
+ .page-from-center-to-right {
320
+ -webkit-animation: pageFromCenterToRight 400ms forwards;
321
+ animation: pageFromCenterToRight 400ms forwards;
322
+ }
323
+ @-webkit-keyframes pageFromRightToCenter {
324
+ from {
325
+ -webkit-box-shadow: none;
326
+ box-shadow: none;
327
+ -webkit-transform: translate3d(100%, 0, 0);
328
+ }
329
+ to {
330
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
331
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
332
+ -webkit-transform: translate3d(0, 0, 0);
333
+ }
334
+ }
335
+ @-webkit-keyframes pageFromCenterToRight {
336
+ from {
337
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
338
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
339
+ -webkit-transform: translate3d(0, 0, 0);
340
+ }
341
+ to {
342
+ -webkit-box-shadow: none;
343
+ box-shadow: none;
344
+ -webkit-transform: translate3d(100%, 0, 0);
345
+ }
346
+ }
347
+ @keyframes pageFromRightToCenter {
348
+ from {
349
+ -webkit-box-shadow: none;
350
+ box-shadow: none;
351
+ transform: translate3d(100%, 0, 0);
352
+ }
353
+ to {
354
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
355
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
356
+ transform: translate3d(0, 0, 0);
357
+ }
358
+ }
359
+ @keyframes pageFromCenterToRight {
360
+ from {
361
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
362
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
363
+ transform: translate3d(0, 0, 0);
364
+ }
365
+ to {
366
+ -webkit-box-shadow: none;
367
+ box-shadow: none;
368
+ transform: translate3d(100%, 0, 0);
369
+ }
370
+ }
371
+ .page-from-center-to-left {
372
+ -webkit-animation: pageFromCenterToLeft 400ms forwards;
373
+ animation: pageFromCenterToLeft 400ms forwards;
374
+ }
375
+ .page-from-left-to-center {
376
+ -webkit-animation: pageFromLeftToCenter 400ms forwards;
377
+ animation: pageFromLeftToCenter 400ms forwards;
378
+ }
379
+ @-webkit-keyframes pageFromCenterToLeft {
380
+ from {
381
+ opacity: 1;
382
+ -webkit-transform: translate3d(0, 0, 0);
383
+ }
384
+ to {
385
+ opacity: 0.9;
386
+ -webkit-transform: translate3d(-20%, 0, 0);
387
+ }
388
+ }
389
+ @-webkit-keyframes pageFromLeftToCenter {
390
+ from {
391
+ opacity: 0.9;
392
+ -webkit-transform: translate3d(-20%, 0, 0);
393
+ }
394
+ to {
395
+ opacity: 1;
396
+ -webkit-transform: translate3d(0, 0, 0);
397
+ }
398
+ }
399
+ @keyframes pageFromCenterToLeft {
400
+ from {
401
+ opacity: 1;
402
+ transform: translate3d(0, 0, 0);
403
+ }
404
+ to {
405
+ opacity: 0.9;
406
+ transform: translate3d(-20%, 0, 0);
407
+ }
408
+ }
409
+ @keyframes pageFromLeftToCenter {
410
+ from {
411
+ opacity: 0.9;
412
+ transform: translate3d(-20%, 0, 0);
413
+ }
414
+ to {
415
+ opacity: 1;
416
+ transform: translate3d(0, 0, 0);
417
+ }
418
+ }
419
+ html.android .page {
420
+ box-shadow: none !important;
421
+ }
422
+ html.android .page-from-right-to-center {
423
+ -webkit-animation: pageFromRightToCenterDegrade 400ms forwards;
424
+ animation: pageFromRightToCenterDegrade 400ms forwards;
425
+ }
426
+ html.android .page-from-center-to-right {
427
+ -webkit-animation: pageFromCenterToRightDegrade 400ms forwards;
428
+ animation: pageFromCenterToRightDegrade 400ms forwards;
429
+ }
430
+ @-webkit-keyframes pageFromRightToCenterDegrade {
431
+ from {
432
+ -webkit-transform: translate3d(100%, 0, 0);
433
+ }
434
+ to {
435
+ -webkit-transform: translate3d(0, 0, 0);
436
+ }
437
+ }
438
+ @-webkit-keyframes pageFromCenterToRightDegrade {
439
+ from {
440
+ -webkit-transform: translate3d(0, 0, 0);
441
+ }
442
+ to {
443
+ -webkit-transform: translate3d(100%, 0, 0);
444
+ }
445
+ }
446
+ @keyframes pageFromRightToCenterDegrade {
447
+ from {
448
+ transform: translate3d(100%, 0, 0);
449
+ }
450
+ to {
451
+ transform: translate3d(0, 0, 0);
452
+ }
453
+ }
454
+ @keyframes pageFromCenterToRightDegrade {
455
+ from {
456
+ transform: translate3d(0, 0, 0);
457
+ }
458
+ to {
459
+ transform: translate3d(100%, 0, 0);
460
+ }
461
+ }
462
+ /* === Toolbars === */
463
+ .navbar-inner,
464
+ .toolbar-inner {
465
+ position: absolute;
466
+ left: 0;
467
+ top: 0;
468
+ width: 100%;
469
+ height: 100%;
470
+ padding: 0 8px;
471
+ -webkit-box-sizing: border-box;
472
+ -moz-box-sizing: border-box;
473
+ box-sizing: border-box;
474
+ display: -webkit-box;
475
+ display: -ms-flexbox;
476
+ display: -webkit-flex;
477
+ display: flex;
478
+ -webkit-box-pack: justify;
479
+ -ms-flex-pack: justify;
480
+ -webkit-justify-content: space-between;
481
+ justify-content: space-between;
482
+ -webkit-box-align: center;
483
+ -ms-flex-align: center;
484
+ -webkit-align-items: center;
485
+ align-items: center;
486
+ }
487
+ .navbar,
488
+ .toolbar {
489
+ height: 44px;
490
+ width: 100%;
491
+ -webkit-box-sizing: border-box;
492
+ -moz-box-sizing: border-box;
493
+ box-sizing: border-box;
494
+ font-size: 17px;
495
+ position: relative;
496
+ margin: 0;
497
+ z-index: 500;
498
+ }
499
+ .navbar b,
500
+ .toolbar b {
501
+ font-weight: 500;
502
+ }
503
+ .navbar a.link,
504
+ .toolbar a.link {
505
+ line-height: 44px;
506
+ height: 44px;
507
+ color: #007aff;
508
+ text-decoration: none;
509
+ position: relative;
510
+ display: -webkit-box;
511
+ display: -ms-flexbox;
512
+ display: -webkit-flex;
513
+ display: flex;
514
+ -webkit-box-pack: start;
515
+ -ms-flex-pack: start;
516
+ -webkit-justify-content: flex-start;
517
+ justify-content: flex-start;
518
+ -webkit-box-align: center;
519
+ -ms-flex-align: center;
520
+ -webkit-align-items: center;
521
+ align-items: center;
522
+ -webkit-transition-duration: 300ms;
523
+ transition-duration: 300ms;
524
+ }
525
+ .navbar a.link:active,
526
+ .toolbar a.link:active {
527
+ opacity: 0.3;
528
+ -webkit-transition-duration: 0ms;
529
+ transition-duration: 0ms;
530
+ }
531
+ .navbar a.link i + span,
532
+ .toolbar a.link i + span,
533
+ .navbar a.link i + i,
534
+ .toolbar a.link i + i {
535
+ margin-left: 7px;
536
+ }
537
+ .navbar a.icon-only,
538
+ .toolbar a.icon-only {
539
+ min-width: 44px;
540
+ display: -webkit-box;
541
+ display: -ms-flexbox;
542
+ display: -webkit-flex;
543
+ display: flex;
544
+ -webkit-box-pack: center;
545
+ -ms-flex-pack: center;
546
+ -webkit-justify-content: center;
547
+ justify-content: center;
548
+ -webkit-box-align: center;
549
+ -ms-flex-align: center;
550
+ -webkit-align-items: center;
551
+ align-items: center;
552
+ margin: 0;
553
+ }
554
+ .navbar i.icon,
555
+ .toolbar i.icon {
556
+ display: block;
557
+ }
558
+ .navbar {
559
+ left: 0;
560
+ top: 0;
561
+ background: #f7f7f8;
562
+ border-bottom: 1px solid #c4c4c4;
563
+ }
564
+ .navbar .center {
565
+ font-size: 17px;
566
+ font-weight: 500;
567
+ text-align: center;
568
+ margin: 0;
569
+ position: relative;
570
+ overflow: hidden;
571
+ text-overflow: ellipsis;
572
+ white-space: nowrap;
573
+ -webkit-flex-shrink: 10;
574
+ -ms-flex: 0 10 auto;
575
+ flex-shrink: 10;
576
+ line-height: 43px;
577
+ }
578
+ .navbar .left,
579
+ .navbar .right {
580
+ -webkit-flex-shrink: 0;
581
+ -ms-flex: 0 0 auto;
582
+ flex-shrink: 0;
583
+ display: -webkit-box;
584
+ display: -ms-flexbox;
585
+ display: -webkit-flex;
586
+ display: flex;
587
+ -webkit-box-pack: start;
588
+ -ms-flex-pack: start;
589
+ -webkit-justify-content: flex-start;
590
+ justify-content: flex-start;
591
+ -webkit-box-align: center;
592
+ -ms-flex-align: center;
593
+ -webkit-align-items: center;
594
+ align-items: center;
595
+ -webkit-transform: translate3d(0, 0, 0);
596
+ -ms-transform: translate3d(0, 0, 0);
597
+ transform: translate3d(0, 0, 0);
598
+ }
599
+ .navbar .left a + a,
600
+ .navbar .right a + a {
601
+ margin-left: 15px;
602
+ }
603
+ .navbar .left {
604
+ margin-right: 10px;
605
+ }
606
+ .navbar .right {
607
+ margin-left: 10px;
608
+ }
609
+ .toolbar {
610
+ left: 0;
611
+ bottom: 0;
612
+ background: #f7f7f8;
613
+ border-top: 1px solid #c4c4c4;
614
+ }
615
+ .toolbar a {
616
+ -webkit-flex-shrink: 1;
617
+ -ms-flex: 0 1 auto;
618
+ flex-shrink: 1;
619
+ position: relative;
620
+ white-space: nowrap;
621
+ text-overflow: ellipsis;
622
+ overflow: hidden;
623
+ }
624
+ .tabbar {
625
+ color: #929292;
626
+ z-index: 5001;
627
+ }
628
+ .tabbar a {
629
+ color: #929292;
630
+ }
631
+ .tabbar a.active {
632
+ color: #007aff;
633
+ }
634
+ .tabbar a.tab-link {
635
+ width: 100%;
636
+ -webkit-box-sizing: border-box;
637
+ -moz-box-sizing: border-box;
638
+ box-sizing: border-box;
639
+ display: -webkit-box;
640
+ display: -ms-flexbox;
641
+ display: -webkit-flex;
642
+ display: flex;
643
+ -webkit-box-pack: justify;
644
+ -ms-flex-pack: justify;
645
+ -webkit-justify-content: space-between;
646
+ justify-content: space-between;
647
+ -webkit-box-align: center;
648
+ -ms-flex-align: center;
649
+ -webkit-align-items: center;
650
+ align-items: center;
651
+ overflow: visible;
652
+ -webkit-box-flex: 1;
653
+ -ms-flex: 1;
654
+ -webkit-box-orient: vertical;
655
+ -moz-box-orient: vertical;
656
+ -ms-flex-direction: column;
657
+ -webkit-flex-direction: column;
658
+ flex-direction: column;
659
+ }
660
+ .tabbar-labels {
661
+ height: 50px;
662
+ }
663
+ .tabbar-labels a.tab-link {
664
+ padding-top: 4px;
665
+ padding-bottom: 4px;
666
+ height: 100%;
667
+ }
668
+ .tabbar-labels span.tabbar-label {
669
+ line-height: 1;
670
+ display: block;
671
+ letter-spacing: 0.01em;
672
+ font-size: 10px;
673
+ position: relative;
674
+ text-overflow: ellipsis;
675
+ white-space: nowrap;
676
+ }
677
+ @media all and (min-width: 768px) {
678
+ .tabbar .toolbar-inner {
679
+ -webkit-box-pack: center;
680
+ -ms-flex-pack: center;
681
+ -webkit-justify-content: center;
682
+ justify-content: center;
683
+ }
684
+ .tabbar a.tab-link {
685
+ width: auto;
686
+ min-width: 105px;
687
+ }
688
+ .tabbar-labels {
689
+ height: 55px;
690
+ }
691
+ .tabbar-labels span.tabbar-label {
692
+ font-size: 14px;
693
+ }
694
+ }
695
+ .navbar-from-right-to-center .left,
696
+ .navbar-from-right-to-center .right,
697
+ .navbar-from-right-to-center .center {
698
+ -webkit-animation: navbarElementFadeIn 400ms forwards;
699
+ animation: navbarElementFadeIn 400ms forwards;
700
+ }
701
+ .navbar-from-right-to-center .sliding {
702
+ opacity: 1;
703
+ }
704
+ .navbar-from-center-to-right .left,
705
+ .navbar-from-center-to-right .right,
706
+ .navbar-from-center-to-right .center {
707
+ -webkit-animation: navbarElementFadeOut 400ms forwards;
708
+ animation: navbarElementFadeOut 400ms forwards;
709
+ }
710
+ .navbar-from-center-to-right .sliding {
711
+ opacity: 0;
712
+ }
713
+ @-webkit-keyframes navbarElementFadeIn {
714
+ from {
715
+ opacity: 0;
716
+ }
717
+ to {
718
+ opacity: 1;
719
+ }
720
+ }
721
+ @keyframes navbarElementFadeIn {
722
+ from {
723
+ opacity: 0;
724
+ }
725
+ to {
726
+ opacity: 1;
727
+ }
728
+ }
729
+ .navbar-from-center-to-left .left,
730
+ .navbar-from-center-to-left .right,
731
+ .navbar-from-center-to-left .center {
732
+ -webkit-animation: navbarElementFadeOut 400ms forwards;
733
+ animation: navbarElementFadeOut 400ms forwards;
734
+ }
735
+ .navbar-from-center-to-left .sliding {
736
+ opacity: 0;
737
+ }
738
+ .navbar-from-left-to-center .left,
739
+ .navbar-from-left-to-center .right,
740
+ .navbar-from-left-to-center .center {
741
+ -webkit-animation: navbarElementFadeIn 400ms forwards;
742
+ animation: navbarElementFadeIn 400ms forwards;
743
+ }
744
+ .navbar-from-left-to-center .sliding {
745
+ opacity: 1;
746
+ }
747
+ .navbar-on-left .left,
748
+ .navbar-on-left .right,
749
+ .navbar-on-left .center {
750
+ opacity: 0;
751
+ }
752
+ .navbar-on-left .sliding {
753
+ opacity: 0;
754
+ }
755
+ .navbar-on-right .left,
756
+ .navbar-on-right .right,
757
+ .navbar-on-right .center {
758
+ opacity: 0;
759
+ }
760
+ .navbar-on-right .sliding {
761
+ opacity: 0;
762
+ }
763
+ @-webkit-keyframes navbarElementFadeOut {
764
+ from {
765
+ opacity: 1;
766
+ }
767
+ to {
768
+ opacity: 0;
769
+ }
770
+ }
771
+ @keyframes navbarElementFadeOut {
772
+ from {
773
+ opacity: 1;
774
+ }
775
+ to {
776
+ opacity: 0;
777
+ }
778
+ }
779
+ .navbar-from-right-to-center .left.sliding .back.link .icon,
780
+ .navbar-from-center-to-right .left.sliding .back.link .icon,
781
+ .navbar-from-center-to-left .left.sliding .back.link .icon,
782
+ .navbar-from-left-to-center .left.sliding .back.link .icon {
783
+ -webkit-transition-duration: 400ms;
784
+ transition-duration: 400ms;
785
+ }
786
+ .navbar-from-right-to-center .sliding,
787
+ .navbar-from-center-to-right .sliding,
788
+ .navbar-from-center-to-left .sliding,
789
+ .navbar-from-left-to-center .sliding {
790
+ -webkit-transition-duration: 400ms;
791
+ transition-duration: 400ms;
792
+ -webkit-animation: none;
793
+ animation: none;
794
+ }
795
+ /* === Relation between toolbar/navbar types and pages === */
796
+ .page > .navbar,
797
+ .view > .navbar,
798
+ .views > .navbar,
799
+ .page > .toolbar,
800
+ .view > .toolbar,
801
+ .views > .toolbar {
802
+ position: absolute;
803
+ }
804
+ .navbar-through .page-content {
805
+ padding-top: 44px;
806
+ }
807
+ .toolbar-through .page-content {
808
+ padding-bottom: 44px;
809
+ }
810
+ .navbar-fixed .page-content {
811
+ padding-top: 44px;
812
+ }
813
+ .toolbar-fixed .page-content {
814
+ padding-bottom: 44px;
815
+ }
816
+ .hidden-navbar .navbar {
817
+ -webkit-transition-duration: 400ms;
818
+ transition-duration: 400ms;
819
+ -webkit-transform: translate3d(0, -100%, 0);
820
+ -ms-transform: translate3d(0, -100%, 0);
821
+ transform: translate3d(0, -100%, 0);
822
+ }
823
+ .hiding-navbar .navbar {
824
+ -webkit-transition-duration: 400ms;
825
+ transition-duration: 400ms;
826
+ -webkit-transform: translate3d(0, 0, 0);
827
+ -ms-transform: translate3d(0, 0, 0);
828
+ transform: translate3d(0, 0, 0);
829
+ }
830
+ .page.no-navbar .page-content {
831
+ padding-top: 0;
832
+ }
833
+ .hidden-toolbar .toolbar {
834
+ -webkit-transition-duration: 400ms;
835
+ transition-duration: 400ms;
836
+ -webkit-transform: translate3d(0, 100%, 0);
837
+ -ms-transform: translate3d(0, 100%, 0);
838
+ transform: translate3d(0, 100%, 0);
839
+ }
840
+ .hiding-toolbar .toolbar {
841
+ -webkit-transition-duration: 400ms;
842
+ transition-duration: 400ms;
843
+ -webkit-transform: translate3d(0, 0, 0);
844
+ -ms-transform: translate3d(0, 0, 0);
845
+ transform: translate3d(0, 0, 0);
846
+ }
847
+ .page.no-toolbar .page-content {
848
+ padding-bottom: 0;
849
+ }
850
+ /* === Icons === */
851
+ i.icon {
852
+ display: inline-block;
853
+ vertical-align: middle;
854
+ background-size: 100% auto;
855
+ background-position: center;
856
+ background-repeat: no-repeat;
857
+ font-style: normal;
858
+ position: relative;
859
+ }
860
+ i.icon.icon-back-blue {
861
+ width: 12px;
862
+ height: 20px;
863
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23007aff'/></svg>");
864
+ }
865
+ i.icon.icon-back-white {
866
+ width: 12px;
867
+ height: 20px;
868
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23fff'/></svg>");
869
+ }
870
+ i.icon.icon-back-black {
871
+ width: 12px;
872
+ height: 20px;
873
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23000'/></svg>");
874
+ }
875
+ i.icon.icon-bars-blue {
876
+ width: 21px;
877
+ height: 13px;
878
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23007aff'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>");
879
+ }
880
+ i.icon.icon-bars-white {
881
+ width: 21px;
882
+ height: 13px;
883
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23fff'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>");
884
+ }
885
+ i.icon.icon-bars-black {
886
+ width: 21px;
887
+ height: 13px;
888
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23000'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>");
889
+ }
890
+ i.icon.icon-f7 {
891
+ width: 29px;
892
+ height: 29px;
893
+ background-image: url("../img/i-f7.png");
894
+ }
895
+ i.icon.icon-form-name {
896
+ width: 29px;
897
+ height: 29px;
898
+ background-image: url("../img/i-form-name.png");
899
+ }
900
+ i.icon.icon-form-password {
901
+ width: 29px;
902
+ height: 29px;
903
+ background-image: url("../img/i-form-password.png");
904
+ }
905
+ i.icon.icon-form-email {
906
+ width: 29px;
907
+ height: 29px;
908
+ background-image: url("../img/i-form-email.png");
909
+ }
910
+ i.icon.icon-form-calendar {
911
+ width: 29px;
912
+ height: 29px;
913
+ background-image: url("../img/i-form-calendar.png");
914
+ }
915
+ i.icon.icon-form-tel {
916
+ width: 29px;
917
+ height: 29px;
918
+ background-image: url("../img/i-form-tel.png");
919
+ }
920
+ i.icon.icon-form-gender {
921
+ width: 29px;
922
+ height: 29px;
923
+ background-image: url("../img/i-form-gender.png");
924
+ }
925
+ i.icon.icon-form-toggle {
926
+ width: 29px;
927
+ height: 29px;
928
+ background-image: url("../img/i-form-toggle.png");
929
+ }
930
+ i.icon.icon-form-comment {
931
+ width: 29px;
932
+ height: 29px;
933
+ background-image: url("../img/i-form-comment.png");
934
+ }
935
+ i.icon.icon-form-settings {
936
+ width: 29px;
937
+ height: 29px;
938
+ background-image: url("../img/i-form-settings.png");
939
+ }
940
+ i.icon.icon-form-url {
941
+ width: 29px;
942
+ height: 29px;
943
+ background-image: url("../img/i-form-url.png");
944
+ }
945
+ .badge {
946
+ font-size: 13px;
947
+ display: inline-block;
948
+ color: #000;
949
+ background: #ddd;
950
+ border-radius: 20px;
951
+ padding: 1px 7px;
952
+ -webkit-box-sizing: border-box;
953
+ -moz-box-sizing: border-box;
954
+ box-sizing: border-box;
955
+ }
956
+ .badge.badge-red {
957
+ background: #ff3b30;
958
+ color: #fff;
959
+ }
960
+ .badge.badge-green {
961
+ background: #4cd964;
962
+ color: #fff;
963
+ }
964
+ .badge.badge-black {
965
+ background: #000;
966
+ color: #fff;
967
+ }
968
+ .icon .badge {
969
+ position: absolute;
970
+ left: 100%;
971
+ margin-left: -10px;
972
+ top: -2px;
973
+ font-size: 10px;
974
+ padding: 1px 5px;
975
+ }
976
+ /* === Content Block === */
977
+ .content-block {
978
+ margin: 35px 0;
979
+ padding: 0 15px;
980
+ color: #6d6d72;
981
+ }
982
+ .content-block-title {
983
+ position: relative;
984
+ overflow: hidden;
985
+ margin: 0;
986
+ white-space: nowrap;
987
+ text-overflow: ellipsis;
988
+ font-size: 14px;
989
+ text-transform: uppercase;
990
+ line-height: 1;
991
+ color: #6d6d72;
992
+ margin: 35px 15px -25px;
993
+ }
994
+ .content-block-inner {
995
+ background: #fff;
996
+ padding: 10px 15px;
997
+ margin-left: -15px;
998
+ width: 100%;
999
+ border-bottom: 1px solid #c8c7cc;
1000
+ border-top: 1px solid #c8c7cc;
1001
+ color: #000;
1002
+ }
1003
+ /* === Lists === */
1004
+ .list-block {
1005
+ margin: 35px 0;
1006
+ font-size: 17px;
1007
+ }
1008
+ .list-block ul {
1009
+ background: #ffffff;
1010
+ list-style: none;
1011
+ padding: 0;
1012
+ margin: 0;
1013
+ border-top: 1px solid #c8c7cc;
1014
+ border-bottom: 1px solid #c8c7cc;
1015
+ }
1016
+ .list-block ul ul {
1017
+ border-top: none;
1018
+ border-bottom: none;
1019
+ padding-left: 45px;
1020
+ }
1021
+ .list-block ul ul li:last-child .item-inner {
1022
+ border-bottom: 1px solid #c8c7cc;
1023
+ }
1024
+ .list-block .align-top,
1025
+ .list-block .align-top .item-content,
1026
+ .list-block .align-top .item-inner {
1027
+ -webkit-box-align: start;
1028
+ -ms-flex-align: start;
1029
+ -webkit-align-items: flex-start;
1030
+ align-items: flex-start;
1031
+ }
1032
+ .list-block.inset {
1033
+ margin-left: 15px;
1034
+ margin-right: 15px;
1035
+ border-radius: 7px;
1036
+ }
1037
+ .list-block.inset .content-block-title {
1038
+ margin-left: 0;
1039
+ margin-right: 0;
1040
+ }
1041
+ .list-block.inset ul {
1042
+ border-radius: 7px;
1043
+ border-top: none;
1044
+ border-bottom: none;
1045
+ }
1046
+ .list-block.inset li:first-child > a {
1047
+ border-radius: 7px 7px 0 0;
1048
+ }
1049
+ .list-block.inset li:last-child > a {
1050
+ border-radius: 0 0 7px 7px;
1051
+ }
1052
+ .list-block.inset li:first-child:last-child > a {
1053
+ border-radius: 7px;
1054
+ }
1055
+ .list-block li {
1056
+ -webkit-box-sizing: border-box;
1057
+ -moz-box-sizing: border-box;
1058
+ box-sizing: border-box;
1059
+ position: relative;
1060
+ }
1061
+ .list-block li:last-child .item-inner {
1062
+ border-bottom: 1px solid transparent;
1063
+ }
1064
+ .list-block .item-media {
1065
+ display: -webkit-box;
1066
+ display: -ms-flexbox;
1067
+ display: -webkit-flex;
1068
+ display: flex;
1069
+ -webkit-flex-shrink: 0;
1070
+ -ms-flex: 0 0 auto;
1071
+ flex-shrink: 0;
1072
+ -webkit-flex-wrap: nowrap;
1073
+ -ms-flex-wrap: nowrap;
1074
+ flex-wrap: nowrap;
1075
+ -webkit-box-sizing: border-box;
1076
+ -moz-box-sizing: border-box;
1077
+ box-sizing: border-box;
1078
+ -webkit-box-align: center;
1079
+ -ms-flex-align: center;
1080
+ -webkit-align-items: center;
1081
+ align-items: center;
1082
+ padding-top: 7px;
1083
+ padding-bottom: 8px;
1084
+ }
1085
+ .list-block .item-media i + i {
1086
+ margin-left: 5px;
1087
+ }
1088
+ .list-block .item-media i + img {
1089
+ margin-left: 5px;
1090
+ }
1091
+ .list-block .item-media + .item-inner {
1092
+ margin-left: 15px;
1093
+ }
1094
+ .list-block .item-inner {
1095
+ padding-right: 15px;
1096
+ border-bottom: 1px solid #c8c7cc;
1097
+ width: 100%;
1098
+ padding-top: 8px;
1099
+ padding-bottom: 7px;
1100
+ min-height: 44px;
1101
+ -webkit-box-sizing: border-box;
1102
+ -moz-box-sizing: border-box;
1103
+ box-sizing: border-box;
1104
+ display: -webkit-box;
1105
+ display: -ms-flexbox;
1106
+ display: -webkit-flex;
1107
+ display: flex;
1108
+ -webkit-box-flex: 1;
1109
+ -ms-flex: 1;
1110
+ -webkit-box-pack: justify;
1111
+ -ms-flex-pack: justify;
1112
+ -webkit-justify-content: space-between;
1113
+ justify-content: space-between;
1114
+ -webkit-box-align: center;
1115
+ -ms-flex-align: center;
1116
+ -webkit-align-items: center;
1117
+ align-items: center;
1118
+ }
1119
+ .list-block .item-title {
1120
+ font-size: 17px;
1121
+ -webkit-flex-shrink: 1;
1122
+ -ms-flex: 0 1 auto;
1123
+ flex-shrink: 1;
1124
+ white-space: nowrap;
1125
+ position: relative;
1126
+ overflow: hidden;
1127
+ text-overflow: ellipsis;
1128
+ max-width: 100%;
1129
+ }
1130
+ .list-block .item-title.label {
1131
+ width: 35%;
1132
+ -webkit-flex-shrink: 0;
1133
+ -ms-flex: 0 0 auto;
1134
+ flex-shrink: 0;
1135
+ }
1136
+ .list-block .item-input {
1137
+ width: 100%;
1138
+ margin-top: -8px;
1139
+ margin-bottom: -7px;
1140
+ -webkit-box-flex: 1;
1141
+ -ms-flex: 1;
1142
+ -webkit-flex-shrink: 1;
1143
+ -ms-flex: 0 1 auto;
1144
+ flex-shrink: 1;
1145
+ }
1146
+ .list-block .item-after {
1147
+ white-space: nowrap;
1148
+ color: #8e8e93;
1149
+ -webkit-flex-shrink: 0;
1150
+ -ms-flex: 0 0 auto;
1151
+ flex-shrink: 0;
1152
+ margin-left: 5px;
1153
+ display: -webkit-box;
1154
+ display: -ms-flexbox;
1155
+ display: -webkit-flex;
1156
+ display: flex;
1157
+ max-height: 28px;
1158
+ }
1159
+ .list-block .item-link {
1160
+ -webkit-transition-duration: 300ms;
1161
+ transition-duration: 300ms;
1162
+ display: block;
1163
+ color: inherit;
1164
+ }
1165
+ .list-block .item-link .item-inner {
1166
+ padding-right: 35px;
1167
+ background: no-repeat -webkit-calc(100% - 15px) center;
1168
+ background: no-repeat -moz-calc(100% - 15px) center;
1169
+ background: no-repeat calc(100% - 15px) center;
1170
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
1171
+ background-size: 10px 20px;
1172
+ }
1173
+ .list-block .item-link:active {
1174
+ -webkit-transition-duration: 0ms;
1175
+ transition-duration: 0ms;
1176
+ background-color: #d9d9d9;
1177
+ }
1178
+ .list-block .item-link:active .item-inner {
1179
+ border-bottom: 1px solid transparent;
1180
+ }
1181
+ .list-block .item-link.list-button {
1182
+ padding: 0 15px;
1183
+ text-align: center;
1184
+ color: #007aff;
1185
+ display: block;
1186
+ border-bottom: 1px solid #c8c7cc;
1187
+ line-height: 43px;
1188
+ }
1189
+ .list-block .item-link.list-button.button-red {
1190
+ color: #fc3e39;
1191
+ }
1192
+ .list-block li:last-child .list-button {
1193
+ border-bottom: none;
1194
+ }
1195
+ .list-block .item-content {
1196
+ -webkit-box-sizing: border-box;
1197
+ -moz-box-sizing: border-box;
1198
+ box-sizing: border-box;
1199
+ padding-left: 15px;
1200
+ min-height: 44px;
1201
+ display: -webkit-box;
1202
+ display: -ms-flexbox;
1203
+ display: -webkit-flex;
1204
+ display: flex;
1205
+ -webkit-box-pack: justify;
1206
+ -ms-flex-pack: justify;
1207
+ -webkit-justify-content: space-between;
1208
+ justify-content: space-between;
1209
+ -webkit-box-align: center;
1210
+ -ms-flex-align: center;
1211
+ -webkit-align-items: center;
1212
+ align-items: center;
1213
+ }
1214
+ .list-block .list-block-label {
1215
+ margin: 10px 0 35px;
1216
+ padding: 0 15px;
1217
+ font-size: 14px;
1218
+ color: #8f8f94;
1219
+ }
1220
+ .list-block .swipeout.deleting {
1221
+ overflow: hidden;
1222
+ -webkit-transition-duration: 300ms;
1223
+ transition-duration: 300ms;
1224
+ }
1225
+ .list-block .swipeout.deleting .swipeout-content {
1226
+ -webkit-transform: translate3d(-100%, 0, 0);
1227
+ -ms-transform: translate3d(-100%, 0, 0);
1228
+ transform: translate3d(-100%, 0, 0);
1229
+ }
1230
+ .list-block .swipeout.transitioning .swipeout-content {
1231
+ -webkit-transition-duration: 300ms;
1232
+ transition-duration: 300ms;
1233
+ }
1234
+ .list-block .swipeout-content {
1235
+ position: relative;
1236
+ z-index: 10;
1237
+ background: #fff;
1238
+ }
1239
+ .list-block .swipeout-actions {
1240
+ border-bottom: 1px solid #c8c7cc;
1241
+ position: absolute;
1242
+ z-index: 0;
1243
+ right: 0;
1244
+ top: 0;
1245
+ width: 100%;
1246
+ height: 100%;
1247
+ -webkit-box-sizing: border-box;
1248
+ -moz-box-sizing: border-box;
1249
+ box-sizing: border-box;
1250
+ }
1251
+ .list-block li:last-child .swipeout-actions {
1252
+ border-bottom: none;
1253
+ }
1254
+ .list-block .swipeout-actions-inner {
1255
+ position: absolute;
1256
+ right: 0;
1257
+ top: 0;
1258
+ height: 100%;
1259
+ display: -webkit-box;
1260
+ display: -ms-flexbox;
1261
+ display: -webkit-flex;
1262
+ display: flex;
1263
+ }
1264
+ .list-block .swipeout-actions-inner a {
1265
+ padding: 0 30px;
1266
+ color: #fff;
1267
+ background: #c7c7cc;
1268
+ display: -webkit-box;
1269
+ display: -ms-flexbox;
1270
+ display: -webkit-flex;
1271
+ display: flex;
1272
+ -webkit-box-align: center;
1273
+ -ms-flex-align: center;
1274
+ -webkit-align-items: center;
1275
+ align-items: center;
1276
+ }
1277
+ .list-block .swipeout-actions-inner a.swipeout-delete {
1278
+ background: #fc3e39;
1279
+ }
1280
+ .list-block .item-subtitle {
1281
+ font-size: 15px;
1282
+ position: relative;
1283
+ overflow: hidden;
1284
+ white-space: nowrap;
1285
+ max-width: 100%;
1286
+ text-overflow: ellipsis;
1287
+ }
1288
+ .list-block .item-text {
1289
+ font-size: 15px;
1290
+ color: #8e8e93;
1291
+ line-height: 21px;
1292
+ position: relative;
1293
+ overflow: hidden;
1294
+ height: 42px;
1295
+ text-overflow: ellipsis;
1296
+ -webkit-line-clamp: 2;
1297
+ -webkit-box-orient: vertical;
1298
+ display: -webkit-box;
1299
+ }
1300
+ .list-block.media-list .item-title,
1301
+ .list-block li.media-item .item-title {
1302
+ font-weight: 500;
1303
+ }
1304
+ .list-block.media-list .item-inner,
1305
+ .list-block li.media-item .item-inner {
1306
+ display: block;
1307
+ padding-top: 10px;
1308
+ padding-bottom: 9px;
1309
+ -ms-flex-item-align: stretch;
1310
+ -webkit-align-self: stretch;
1311
+ align-self: stretch;
1312
+ }
1313
+ .list-block.media-list .item-link .item-inner,
1314
+ .list-block li.media-item .item-link .item-inner {
1315
+ background: none;
1316
+ padding-right: 15px;
1317
+ }
1318
+ .list-block.media-list .item-link .item-title-row,
1319
+ .list-block li.media-item .item-link .item-title-row {
1320
+ padding-right: 20px;
1321
+ background: no-repeat right center;
1322
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
1323
+ background-size: 10px 20px;
1324
+ }
1325
+ .list-block.media-list .item-media,
1326
+ .list-block li.media-item .item-media {
1327
+ padding-top: 9px;
1328
+ padding-bottom: 10px;
1329
+ }
1330
+ .list-block.media-list .item-media img,
1331
+ .list-block li.media-item .item-media img {
1332
+ display: block;
1333
+ }
1334
+ .list-block.media-list .item-title-row,
1335
+ .list-block li.media-item .item-title-row {
1336
+ display: -webkit-box;
1337
+ display: -ms-flexbox;
1338
+ display: -webkit-flex;
1339
+ display: flex;
1340
+ -webkit-box-pack: justify;
1341
+ -ms-flex-pack: justify;
1342
+ -webkit-justify-content: space-between;
1343
+ justify-content: space-between;
1344
+ }
1345
+ .list-block .list-group:nth-child(n+2) ul {
1346
+ border-top: none;
1347
+ }
1348
+ .list-block .item-divider,
1349
+ .list-block .list-group-title {
1350
+ background: #f7f7f7;
1351
+ border-top: 1px solid #c8c7cc;
1352
+ margin-top: -1px;
1353
+ padding: 4px 15px;
1354
+ white-space: nowrap;
1355
+ position: relative;
1356
+ max-width: 100%;
1357
+ text-overflow: ellipsis;
1358
+ overflow: hidden;
1359
+ color: #8e8e93;
1360
+ }
1361
+ .list-block .list-group-title {
1362
+ position: relative;
1363
+ position: -webkit-sticky;
1364
+ position: -moz-sticky;
1365
+ position: sticky;
1366
+ top: 0px;
1367
+ z-index: 10;
1368
+ margin-top: 0;
1369
+ border-top: none;
1370
+ }
1371
+ /* === Contacts === */
1372
+ .contacts-content {
1373
+ background: #fff;
1374
+ }
1375
+ .contacts-block {
1376
+ margin: 0;
1377
+ }
1378
+ .contacts-block .list-group-title {
1379
+ padding: 0 15px;
1380
+ background: #f7f7f7;
1381
+ color: #000;
1382
+ font-weight: 500;
1383
+ line-height: 22px;
1384
+ height: 22px;
1385
+ }
1386
+ .contacts-block .list-group:first-child ul {
1387
+ border-top: none;
1388
+ }
1389
+ .contacts-block .list-group:last-child ul {
1390
+ border-bottom: none;
1391
+ }
1392
+ /* === Forms === */
1393
+ .list-block input[type="text"],
1394
+ .list-block input[type="password"],
1395
+ .list-block input[type="email"],
1396
+ .list-block input[type="tel"],
1397
+ .list-block input[type="url"],
1398
+ .list-block input[type="date"],
1399
+ .list-block select,
1400
+ .list-block textarea {
1401
+ -webkit-appearance: none;
1402
+ -moz-appearance: none;
1403
+ -ms-appearance: none;
1404
+ appearance: none;
1405
+ -webkit-box-sizing: border-box;
1406
+ -moz-box-sizing: border-box;
1407
+ box-sizing: border-box;
1408
+ border: none;
1409
+ background: none;
1410
+ border-radius: 0 0 0 0;
1411
+ -webkit-box-shadow: none;
1412
+ box-shadow: none;
1413
+ display: block;
1414
+ padding: 0 0 0 5px;
1415
+ margin: 0;
1416
+ width: 100%;
1417
+ height: 43px;
1418
+ color: #000;
1419
+ font-size: 17px;
1420
+ font-family: inherit;
1421
+ }
1422
+ .list-block input[type="date"] {
1423
+ line-height: 44px;
1424
+ }
1425
+ .list-block select {
1426
+ -webkit-appearance: none;
1427
+ -moz-appearance: none;
1428
+ -ms-appearance: none;
1429
+ appearance: none;
1430
+ }
1431
+ .list-block .lable {
1432
+ vertical-align: top;
1433
+ }
1434
+ .list-block textarea {
1435
+ height: 100px;
1436
+ resize: none;
1437
+ line-height: 1.5;
1438
+ padding-top: 10px;
1439
+ }
1440
+ .label-switch {
1441
+ display: inline-block;
1442
+ vertical-align: middle;
1443
+ width: 52px;
1444
+ border-radius: 16px;
1445
+ -webkit-box-sizing: border-box;
1446
+ -moz-box-sizing: border-box;
1447
+ box-sizing: border-box;
1448
+ height: 32px;
1449
+ position: relative;
1450
+ cursor: pointer;
1451
+ -ms-flex-item-align: center;
1452
+ -webkit-align-self: center;
1453
+ align-self: center;
1454
+ }
1455
+ .label-switch input[type="checkbox"] {
1456
+ width: 52px;
1457
+ border-radius: 16px;
1458
+ -webkit-box-sizing: border-box;
1459
+ -moz-box-sizing: border-box;
1460
+ box-sizing: border-box;
1461
+ height: 32px;
1462
+ background: #e5e5e5;
1463
+ z-index: 0;
1464
+ margin: 0;
1465
+ padding: 0;
1466
+ -webkit-appearance: none;
1467
+ -moz-appearance: none;
1468
+ -ms-appearance: none;
1469
+ appearance: none;
1470
+ border: none;
1471
+ cursor: pointer;
1472
+ position: relative;
1473
+ -webkit-transition-duration: 300ms;
1474
+ transition-duration: 300ms;
1475
+ }
1476
+ .label-switch input[type="checkbox"]:before {
1477
+ content: ' ';
1478
+ position: absolute;
1479
+ left: 2px;
1480
+ top: 2px;
1481
+ width: 48px;
1482
+ border-radius: 16px;
1483
+ -webkit-box-sizing: border-box;
1484
+ -moz-box-sizing: border-box;
1485
+ box-sizing: border-box;
1486
+ height: 28px;
1487
+ background: #fff;
1488
+ z-index: 1;
1489
+ -webkit-transition-duration: 300ms;
1490
+ transition-duration: 300ms;
1491
+ -webkit-transform: scale(1);
1492
+ -ms-transform: scale(1);
1493
+ transform: scale(1);
1494
+ }
1495
+ .label-switch input[type="checkbox"]:after {
1496
+ content: ' ';
1497
+ height: 28px;
1498
+ width: 28px;
1499
+ border-radius: 28px;
1500
+ background: #fff;
1501
+ position: absolute;
1502
+ z-index: 2;
1503
+ top: 2px;
1504
+ left: 2px;
1505
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
1506
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
1507
+ -webkit-transform: translate3d(0, 0, 0);
1508
+ -ms-transform: translate3d(0, 0, 0);
1509
+ transform: translate3d(0, 0, 0);
1510
+ -webkit-transition-duration: 300ms;
1511
+ transition-duration: 300ms;
1512
+ }
1513
+ .label-switch input[type="checkbox"]:checked {
1514
+ background: #4cd964;
1515
+ }
1516
+ .label-switch input[type="checkbox"]:checked:before {
1517
+ -webkit-transform: scale(0);
1518
+ -ms-transform: scale(0);
1519
+ transform: scale(0);
1520
+ }
1521
+ .label-switch input[type="checkbox"]:checked:after {
1522
+ -webkit-transform: translate3d(20px, 0, 0);
1523
+ -ms-transform: translate3d(20px, 0, 0);
1524
+ transform: translate3d(20px, 0, 0);
1525
+ }
1526
+ .button {
1527
+ border: 1px solid #007aff;
1528
+ color: #007aff;
1529
+ text-decoration: none;
1530
+ text-align: center;
1531
+ display: block;
1532
+ border-radius: 5px;
1533
+ line-height: 27px;
1534
+ -webkit-box-sizing: border-box;
1535
+ -moz-box-sizing: border-box;
1536
+ box-sizing: border-box;
1537
+ padding: 0 10px;
1538
+ margin: 0;
1539
+ height: 29px;
1540
+ white-space: nowrap;
1541
+ position: relative;
1542
+ overflow: hidden;
1543
+ text-overflow: ellipsis;
1544
+ font-size: 14px;
1545
+ }
1546
+ .button:active {
1547
+ background: rgba(0, 122, 255, 0.15);
1548
+ }
1549
+ .button.button-round {
1550
+ border-radius: 27px;
1551
+ }
1552
+ .button.active {
1553
+ background: #007aff;
1554
+ color: #fff;
1555
+ }
1556
+ .button.button-big {
1557
+ font-size: 17px;
1558
+ height: 44px;
1559
+ line-height: 42px;
1560
+ }
1561
+ .button.button-submit,
1562
+ .button.button-cancel {
1563
+ color: #fff;
1564
+ }
1565
+ .button.button-submit:active,
1566
+ .button.button-cancel:active {
1567
+ opacity: 0.6;
1568
+ }
1569
+ .button.button-submit {
1570
+ border-color: #4cd964;
1571
+ background: #4cd964;
1572
+ }
1573
+ .button.button-cancel {
1574
+ border-color: #ff3b30;
1575
+ background: #ff3b30;
1576
+ }
1577
+ .buttons-row {
1578
+ -ms-flex-item-align: center;
1579
+ -webkit-align-self: center;
1580
+ align-self: center;
1581
+ display: -webkit-box;
1582
+ display: -ms-flexbox;
1583
+ display: -webkit-flex;
1584
+ display: flex;
1585
+ -webkit-flex-wrap: nowrap;
1586
+ -ms-flex-wrap: nowrap;
1587
+ flex-wrap: nowrap;
1588
+ }
1589
+ .buttons-row .button {
1590
+ border-radius: 0 0 0 0;
1591
+ border-left-width: 0;
1592
+ width: 100%;
1593
+ -webkit-box-flex: 1;
1594
+ -ms-flex: 1;
1595
+ }
1596
+ .buttons-row .button:first-child {
1597
+ border-radius: 5px 0 0 5px;
1598
+ border-left-width: 1px;
1599
+ border-left-style: solid;
1600
+ }
1601
+ .buttons-row .button:last-child {
1602
+ border-radius: 0 5px 5px 0;
1603
+ }
1604
+ .buttons-row .button.button-round:first-child {
1605
+ border-radius: 27px 0 0 27px;
1606
+ }
1607
+ .buttons-row .button.button-round:last-child {
1608
+ border-radius: 0 27px 27px 0;
1609
+ }
1610
+ .range-slider {
1611
+ width: 100%;
1612
+ position: relative;
1613
+ overflow: hidden;
1614
+ padding-left: 3px;
1615
+ padding-right: 3px;
1616
+ margin-left: -1px;
1617
+ -ms-flex-item-align: center;
1618
+ -webkit-align-self: center;
1619
+ align-self: center;
1620
+ }
1621
+ .range-slider input[type="range"] {
1622
+ position: relative;
1623
+ height: 28px;
1624
+ width: 100%;
1625
+ margin: 4px 0 5px 0;
1626
+ -webkit-appearance: none;
1627
+ -moz-appearance: none;
1628
+ -ms-appearance: none;
1629
+ appearance: none;
1630
+ background: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0, #b7b8b7), color-stop(100%, #b7b8b7));
1631
+ background: linear-gradient(to right, #b7b8b7 0, #b7b8b7 100%);
1632
+ background-position: center;
1633
+ background-size: 100% 2px;
1634
+ background-repeat: no-repeat;
1635
+ outline: 0;
1636
+ }
1637
+ .range-slider input[type="range"]:after {
1638
+ height: 2px;
1639
+ background: #fff;
1640
+ content: ' ';
1641
+ width: 5px;
1642
+ top: 50%;
1643
+ margin-top: -1px;
1644
+ left: -5px;
1645
+ z-index: 1;
1646
+ position: absolute;
1647
+ }
1648
+ .range-slider input[type="range"]::-webkit-slider-thumb {
1649
+ -webkit-appearance: none;
1650
+ -moz-appearance: none;
1651
+ -ms-appearance: none;
1652
+ appearance: none;
1653
+ border: none;
1654
+ height: 28px;
1655
+ width: 28px;
1656
+ position: relative;
1657
+ background: none;
1658
+ }
1659
+ .range-slider input[type="range"]::-webkit-slider-thumb:after {
1660
+ height: 28px;
1661
+ width: 28px;
1662
+ border-radius: 28px;
1663
+ background: #fff;
1664
+ z-index: 10;
1665
+ -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
1666
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
1667
+ position: absolute;
1668
+ left: 0;
1669
+ top: 0;
1670
+ content: ' ';
1671
+ }
1672
+ .range-slider input[type="range"]::-webkit-slider-thumb:before {
1673
+ position: absolute;
1674
+ top: 50%;
1675
+ right: 100%;
1676
+ width: 2000px;
1677
+ height: 2px;
1678
+ margin-top: -1px;
1679
+ z-index: 1;
1680
+ background: #007aff;
1681
+ content: ' ';
1682
+ }
1683
+ label.label-checkbox {
1684
+ cursor: pointer;
1685
+ }
1686
+ label.label-checkbox i.icon-form-checkbox {
1687
+ width: 29px;
1688
+ height: 29px;
1689
+ position: relative;
1690
+ }
1691
+ label.label-checkbox i.icon-form-checkbox:after {
1692
+ content: ' ';
1693
+ position: absolute;
1694
+ left: 50%;
1695
+ margin-left: -11px;
1696
+ top: 50%;
1697
+ margin-top: -11px;
1698
+ width: 22px;
1699
+ height: 22px;
1700
+ border-radius: 22px;
1701
+ border: 1px solid #c7c7cc;
1702
+ -webkit-box-sizing: border-box;
1703
+ -moz-box-sizing: border-box;
1704
+ box-sizing: border-box;
1705
+ }
1706
+ label.label-checkbox input[type="checkbox"],
1707
+ label.label-checkbox input[type="radio"] {
1708
+ display: none;
1709
+ }
1710
+ label.label-checkbox input[type="checkbox"]:checked + .item-media i.icon-form-checkbox:after,
1711
+ label.label-checkbox input[type="radio"]:checked + .item-media i.icon-form-checkbox:after {
1712
+ border: none;
1713
+ background: #007aff url("../img/i-form-checkbox-white.png") no-repeat center;
1714
+ -webkit-background-size: auto 9px;
1715
+ background-size: auto 9px;
1716
+ }
1717
+ label.label-radio {
1718
+ cursor: pointer;
1719
+ }
1720
+ label.label-radio input[type="checkbox"],
1721
+ label.label-radio input[type="radio"] {
1722
+ display: none;
1723
+ }
1724
+ label.label-radio input[type="checkbox"] ~ .item-inner,
1725
+ label.label-radio input[type="radio"] ~ .item-inner {
1726
+ padding-right: 35px;
1727
+ }
1728
+ label.label-radio input[type="checkbox"]:checked ~ .item-inner,
1729
+ label.label-radio input[type="radio"]:checked ~ .item-inner {
1730
+ background: url("../img/i-form-radio-blue.png") no-repeat -webkit-calc(100% - 15px center;
1731
+ background: url("../img/i-form-radio-blue.png") no-repeat -moz-calc(100% - 15px center;
1732
+ background: url("../img/i-form-radio-blue.png") no-repeat -ms-calc(100% - 15px center;
1733
+ background: url("../img/i-form-radio-blue.png") no-repeat calc(100% - 15px center;
1734
+ -webkit-background-size: auto 10px;
1735
+ background-size: auto 10px;
1736
+ }
1737
+ label.label-checkbox,
1738
+ label.label-radio {
1739
+ -webkit-transition-duration: 300ms;
1740
+ transition-duration: 300ms;
1741
+ }
1742
+ label.label-checkbox:active,
1743
+ label.label-radio:active {
1744
+ -webkit-transition-duration: 0ms;
1745
+ transition-duration: 0ms;
1746
+ background-color: #d9d9d9;
1747
+ }
1748
+ label.label-checkbox:active .item-inner,
1749
+ label.label-radio:active .item-inner {
1750
+ border-bottom: 1px solid transparent;
1751
+ }
1752
+ /* === Modals === */
1753
+ .modal-overlay,
1754
+ .preloader-indicator-overlay {
1755
+ position: absolute;
1756
+ left: 0;
1757
+ top: 0;
1758
+ width: 100%;
1759
+ height: 100%;
1760
+ background: rgba(0, 0, 0, 0.4);
1761
+ z-index: 10000;
1762
+ visibility: hidden;
1763
+ opacity: 0;
1764
+ -webkit-transition-duration: 400ms;
1765
+ transition-duration: 400ms;
1766
+ }
1767
+ .modal-overlay.modal-overlay-visible,
1768
+ .preloader-indicator-overlay.modal-overlay-visible {
1769
+ visibility: visible;
1770
+ opacity: 1;
1771
+ }
1772
+ .modal {
1773
+ width: 270px;
1774
+ position: absolute;
1775
+ z-index: 11000;
1776
+ left: 50%;
1777
+ margin-left: -135px;
1778
+ margin-top: 0;
1779
+ top: 50%;
1780
+ text-align: center;
1781
+ border-radius: 7px;
1782
+ opacity: 0;
1783
+ -webkit-transform: translate3d(0, 0, 0) scale(1.185);
1784
+ -ms-transform: translate3d(0, 0, 0) scale(1.185);
1785
+ transform: translate3d(0, 0, 0) scale(1.185);
1786
+ -webkit-transition-property: -webkit-transform, opacity;
1787
+ -moz-transition-property: -moz-transform, opacity;
1788
+ -ms-transition-property: -ms-transform, opacity;
1789
+ -o-transition-property: -o-transform, opacity;
1790
+ transition-property: transform, opacity;
1791
+ }
1792
+ .modal.modal-in {
1793
+ opacity: 1;
1794
+ -webkit-transition-duration: 400ms;
1795
+ transition-duration: 400ms;
1796
+ -webkit-transform: translate3d(0, 0, 0) scale(1);
1797
+ -ms-transform: translate3d(0, 0, 0) scale(1);
1798
+ transform: translate3d(0, 0, 0) scale(1);
1799
+ }
1800
+ .modal.modal-out {
1801
+ opacity: 0;
1802
+ z-index: 10999;
1803
+ -webkit-transition-duration: 400ms;
1804
+ transition-duration: 400ms;
1805
+ -webkit-transform: translate3d(0, 0, 0) scale(0.815);
1806
+ -ms-transform: translate3d(0, 0, 0) scale(0.815);
1807
+ transform: translate3d(0, 0, 0) scale(0.815);
1808
+ }
1809
+ .modal-inner {
1810
+ padding: 15px;
1811
+ border-bottom: 1px solid #b5b5b5;
1812
+ border-radius: 7px 7px 0 0;
1813
+ background: #e8e8e8;
1814
+ }
1815
+ .modal-title {
1816
+ font-weight: 500;
1817
+ font-size: 18px;
1818
+ text-align: center;
1819
+ }
1820
+ .modal-title + .modal-text {
1821
+ margin-top: 5px;
1822
+ }
1823
+ .modal-buttons {
1824
+ height: 44px;
1825
+ overflow: hidden;
1826
+ display: -webkit-box;
1827
+ display: -ms-flexbox;
1828
+ display: -webkit-flex;
1829
+ display: flex;
1830
+ -webkit-box-pack: center;
1831
+ -ms-flex-pack: center;
1832
+ -webkit-justify-content: center;
1833
+ justify-content: center;
1834
+ }
1835
+ .modal-button {
1836
+ width: 100%;
1837
+ padding: 0 5px;
1838
+ height: 44px;
1839
+ font-size: 17px;
1840
+ line-height: 44px;
1841
+ text-align: center;
1842
+ color: #007aff;
1843
+ background: #e8e8e8;
1844
+ display: block;
1845
+ position: relative;
1846
+ white-space: nowrap;
1847
+ text-overflow: ellipsis;
1848
+ overflow: hidden;
1849
+ cursor: pointer;
1850
+ -webkit-box-sizing: border-box;
1851
+ -moz-box-sizing: border-box;
1852
+ box-sizing: border-box;
1853
+ border-right: 1px solid #b5b5b5;
1854
+ -webkit-box-flex: 1;
1855
+ -ms-flex: 1;
1856
+ }
1857
+ .modal-button:first-child {
1858
+ border-radius: 0 0 0 7px;
1859
+ }
1860
+ .modal-button:last-child {
1861
+ border-right: none;
1862
+ border-radius: 0 0 7px 0;
1863
+ }
1864
+ .modal-button:first-child:last-child {
1865
+ border-radius: 0 0 7px 7px;
1866
+ }
1867
+ .modal-button.modal-button-bold {
1868
+ font-weight: 500;
1869
+ }
1870
+ .modal-button:active {
1871
+ background: #d4d4d4;
1872
+ }
1873
+ .modal-no-buttons .modal-inner {
1874
+ border-radius: 7px;
1875
+ border-bottom: none;
1876
+ }
1877
+ .modal-no-buttons .modal-buttons {
1878
+ display: none;
1879
+ }
1880
+ .actions-modal {
1881
+ position: absolute;
1882
+ left: 0;
1883
+ bottom: 0;
1884
+ z-index: 11000;
1885
+ width: 100%;
1886
+ -webkit-transform: translate3d(0, 100%, 0);
1887
+ -ms-transform: translate3d(0, 100%, 0);
1888
+ transform: translate3d(0, 100%, 0);
1889
+ }
1890
+ .actions-modal.modal-in {
1891
+ -webkit-transition-duration: 300ms;
1892
+ transition-duration: 300ms;
1893
+ -webkit-transform: translate3d(0, 0, 0);
1894
+ -ms-transform: translate3d(0, 0, 0);
1895
+ transform: translate3d(0, 0, 0);
1896
+ }
1897
+ .actions-modal.modal-out {
1898
+ z-index: 10999;
1899
+ -webkit-transition-duration: 300ms;
1900
+ transition-duration: 300ms;
1901
+ -webkit-transform: translate3d(0, 100%, 0);
1902
+ -ms-transform: translate3d(0, 100%, 0);
1903
+ transform: translate3d(0, 100%, 0);
1904
+ }
1905
+ .actions-modal-group {
1906
+ margin: 8px;
1907
+ }
1908
+ .actions-modal-button,
1909
+ .actions-modal-label {
1910
+ width: 100%;
1911
+ text-align: center;
1912
+ font-weight: normal;
1913
+ margin: 0;
1914
+ background: rgba(243, 243, 243, 0.95);
1915
+ -webkit-box-sizing: border-box;
1916
+ -moz-box-sizing: border-box;
1917
+ box-sizing: border-box;
1918
+ display: block;
1919
+ border-bottom: 1px solid #d2d2d6;
1920
+ }
1921
+ .actions-modal-button a,
1922
+ .actions-modal-label a {
1923
+ text-decoration: none;
1924
+ color: inherit;
1925
+ }
1926
+ .actions-modal-button b,
1927
+ .actions-modal-label b {
1928
+ font-weight: 500;
1929
+ }
1930
+ .actions-modal-button.actions-modal-button-bold,
1931
+ .actions-modal-label.actions-modal-button-bold {
1932
+ font-weight: 500;
1933
+ }
1934
+ .actions-modal-button.actions-modal-button-red,
1935
+ .actions-modal-label.actions-modal-button-red {
1936
+ color: #fc3e39;
1937
+ }
1938
+ .actions-modal-button:first-child,
1939
+ .actions-modal-label:first-child {
1940
+ border-radius: 4px 4px 0 0;
1941
+ }
1942
+ .actions-modal-button:last-child,
1943
+ .actions-modal-label:last-child {
1944
+ border: none;
1945
+ border-radius: 0 0 4px 4px;
1946
+ }
1947
+ .actions-modal-button:first-child:last-child,
1948
+ .actions-modal-label:first-child:last-child {
1949
+ border-radius: 4px;
1950
+ }
1951
+ .actions-modal-button {
1952
+ cursor: pointer;
1953
+ line-height: 43px;
1954
+ font-size: 20px;
1955
+ color: #007aff;
1956
+ }
1957
+ .actions-modal-button:active {
1958
+ background: #dcdcdc;
1959
+ }
1960
+ .actions-modal-label {
1961
+ font-size: 13px;
1962
+ line-height: 1.3;
1963
+ min-height: 44px;
1964
+ padding: 8px 10px;
1965
+ color: #8a8a8a;
1966
+ display: -webkit-box;
1967
+ display: -ms-flexbox;
1968
+ display: -webkit-flex;
1969
+ display: flex;
1970
+ -webkit-box-pack: center;
1971
+ -ms-flex-pack: center;
1972
+ -webkit-justify-content: center;
1973
+ justify-content: center;
1974
+ -webkit-box-align: center;
1975
+ -ms-flex-align: center;
1976
+ -webkit-align-items: center;
1977
+ align-items: center;
1978
+ }
1979
+ input.modal-prompt-input {
1980
+ -webkit-box-sizing: border-box;
1981
+ -moz-box-sizing: border-box;
1982
+ box-sizing: border-box;
1983
+ height: 30px;
1984
+ background: #fff;
1985
+ margin: 0;
1986
+ margin-top: 15px;
1987
+ padding: 0 5px;
1988
+ border: 1px solid #a0a0a0;
1989
+ border-radius: 5px;
1990
+ width: 100%;
1991
+ font-size: 14px;
1992
+ font-family: inherit;
1993
+ display: block;
1994
+ -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
1995
+ box-shadow: 0 0 0 rgba(0, 0, 0, 0);
1996
+ -webkit-appearance: none;
1997
+ -moz-appearance: none;
1998
+ -ms-appearance: none;
1999
+ appearance: none;
2000
+ }
2001
+ .popover {
2002
+ width: 320px;
2003
+ background: rgba(255, 255, 255, 0.95);
2004
+ z-index: 11000;
2005
+ margin: 0;
2006
+ top: 0;
2007
+ opacity: 0;
2008
+ left: 0;
2009
+ border-radius: 7px;
2010
+ position: absolute;
2011
+ display: none;
2012
+ -webkit-transform: none;
2013
+ -ms-transform: none;
2014
+ transform: none;
2015
+ -webkit-transition-property: opacity;
2016
+ -moz-transition-property: opacity;
2017
+ -ms-transition-property: opacity;
2018
+ -o-transition-property: opacity;
2019
+ transition-property: opacity;
2020
+ }
2021
+ .popover.modal-in {
2022
+ -webkit-transition-duration: 300ms;
2023
+ transition-duration: 300ms;
2024
+ opacity: 1;
2025
+ }
2026
+ .popover-angle {
2027
+ width: 26px;
2028
+ height: 26px;
2029
+ position: absolute;
2030
+ left: -26px;
2031
+ top: 0;
2032
+ z-index: 100;
2033
+ overflow: hidden;
2034
+ }
2035
+ .popover-angle:after {
2036
+ content: ' ';
2037
+ background: rgba(255, 255, 255, 0.95);
2038
+ width: 26px;
2039
+ height: 26px;
2040
+ position: absolute;
2041
+ left: 0;
2042
+ top: 0;
2043
+ border-radius: 3px;
2044
+ -webkit-transform: rotate(45deg);
2045
+ -ms-transform: rotate(45deg);
2046
+ transform: rotate(45deg);
2047
+ }
2048
+ .popover-angle.on-left {
2049
+ left: -26px;
2050
+ }
2051
+ .popover-angle.on-left:after {
2052
+ left: 19px;
2053
+ top: 0;
2054
+ }
2055
+ .popover-angle.on-right {
2056
+ left: 100%;
2057
+ }
2058
+ .popover-angle.on-right:after {
2059
+ left: -19px;
2060
+ top: 0;
2061
+ }
2062
+ .popover-angle.on-top {
2063
+ left: 0;
2064
+ top: -26px;
2065
+ }
2066
+ .popover-angle.on-top:after {
2067
+ left: 0;
2068
+ top: 19px;
2069
+ }
2070
+ .popover-angle.on-bottom {
2071
+ left: 0;
2072
+ top: 100%;
2073
+ }
2074
+ .popover-angle.on-bottom:after {
2075
+ left: 0;
2076
+ top: -19px;
2077
+ }
2078
+ .popover-inner {
2079
+ overflow: auto;
2080
+ -webkit-overflow-scrolling: touch;
2081
+ }
2082
+ .popover-inner .list-block {
2083
+ margin: 0;
2084
+ }
2085
+ .popover-inner .list-block ul {
2086
+ border: none;
2087
+ background: none;
2088
+ }
2089
+ .popover-inner .list-block li:first-child a {
2090
+ border-radius: 7px 7px 0 0;
2091
+ }
2092
+ .popover-inner .list-block li:last-child a {
2093
+ border-radius: 0 0 7px 7px;
2094
+ }
2095
+ .popover-inner .list-block li:first-child:last-child a {
2096
+ border-radius: 7px;
2097
+ }
2098
+ .popup {
2099
+ position: absolute;
2100
+ left: 0;
2101
+ top: 0;
2102
+ width: 100%;
2103
+ height: 100%;
2104
+ z-index: 11000;
2105
+ background: #fff;
2106
+ -webkit-box-sizing: border-box;
2107
+ -moz-box-sizing: border-box;
2108
+ box-sizing: border-box;
2109
+ display: none;
2110
+ overflow: auto;
2111
+ -webkit-overflow-scrolling: touch;
2112
+ -webkit-transition-property: -webkit-transform;
2113
+ -moz-transition-property: -moz-transform;
2114
+ -ms-transition-property: -ms-transform;
2115
+ -o-transition-property: -o-transform;
2116
+ transition-property: transform;
2117
+ -webkit-transform: translate3d(0, 100%, 0);
2118
+ -ms-transform: translate3d(0, 100%, 0);
2119
+ transform: translate3d(0, 100%, 0);
2120
+ }
2121
+ .popup.modal-in,
2122
+ .popup.modal-out {
2123
+ -webkit-transition-duration: 400ms;
2124
+ transition-duration: 400ms;
2125
+ }
2126
+ .popup.modal-in {
2127
+ -webkit-transform: translate3d(0, 0, 0);
2128
+ -ms-transform: translate3d(0, 0, 0);
2129
+ transform: translate3d(0, 0, 0);
2130
+ }
2131
+ .popup.modal-out {
2132
+ -webkit-transform: translate3d(0, 100%, 0);
2133
+ -ms-transform: translate3d(0, 100%, 0);
2134
+ transform: translate3d(0, 100%, 0);
2135
+ }
2136
+ @media all and (min-width: 630px) and (min-height: 630px) {
2137
+ .popup {
2138
+ width: 630px;
2139
+ height: 630px;
2140
+ left: 50%;
2141
+ top: 50%;
2142
+ margin-left: -315px;
2143
+ margin-top: -315px;
2144
+ -webkit-transform: translate3d(0, 1024px, 0);
2145
+ -ms-transform: translate3d(0, 1024px, 0);
2146
+ transform: translate3d(0, 1024px, 0);
2147
+ }
2148
+ .popup.modal-in {
2149
+ -webkit-transform: translate3d(0, 0, 0);
2150
+ -ms-transform: translate3d(0, 0, 0);
2151
+ transform: translate3d(0, 0, 0);
2152
+ }
2153
+ .popup.modal-out {
2154
+ -webkit-transform: translate3d(0, 1024px, 0);
2155
+ -ms-transform: translate3d(0, 1024px, 0);
2156
+ transform: translate3d(0, 1024px, 0);
2157
+ }
2158
+ }
2159
+ .preloader-indicator-overlay {
2160
+ visibility: visible;
2161
+ opacity: 0;
2162
+ background: none;
2163
+ }
2164
+ .preloader-indicator-modal {
2165
+ position: absolute;
2166
+ left: 50%;
2167
+ top: 50%;
2168
+ padding: 8px;
2169
+ margin-left: -29px;
2170
+ margin-top: -29px;
2171
+ background: rgba(0, 0, 0, 0.8);
2172
+ z-index: 11000;
2173
+ border-radius: 5px;
2174
+ }
2175
+ .preloader-indicator-modal .preloader {
2176
+ display: block;
2177
+ width: 42px;
2178
+ height: 42px;
2179
+ }
2180
+ /* === Panels === */
2181
+ .panel-overlay {
2182
+ position: absolute;
2183
+ left: 0;
2184
+ top: 0;
2185
+ width: 100%;
2186
+ height: 100%;
2187
+ background: rgba(0, 0, 0, 0);
2188
+ opacity: 0;
2189
+ z-index: 5999;
2190
+ display: none;
2191
+ }
2192
+ .panel {
2193
+ z-index: 1000;
2194
+ background: rgba(0, 0, 0, 0);
2195
+ display: none;
2196
+ background: #fff;
2197
+ -webkit-box-sizing: border-box;
2198
+ -moz-box-sizing: border-box;
2199
+ box-sizing: border-box;
2200
+ overflow: auto;
2201
+ -webkit-overflow-scrolling: touch;
2202
+ position: absolute;
2203
+ width: 260px;
2204
+ top: 0;
2205
+ height: 100%;
2206
+ -webkit-transform: translate3d(0, 0, 0);
2207
+ -ms-transform: translate3d(0, 0, 0);
2208
+ transform: translate3d(0, 0, 0);
2209
+ -webkit-transition-duration: 400ms;
2210
+ transition-duration: 400ms;
2211
+ }
2212
+ .panel.panel-left.panel-cover {
2213
+ z-index: 6000;
2214
+ left: -260px;
2215
+ }
2216
+ .panel.panel-left.panel-reveal {
2217
+ left: 0;
2218
+ }
2219
+ .panel.panel-right.panel-cover {
2220
+ z-index: 6000;
2221
+ right: -260px;
2222
+ }
2223
+ .panel.panel-right.panel-reveal {
2224
+ right: 0;
2225
+ }
2226
+ body.with-panel-left-cover .views,
2227
+ body.with-panel-right-cover .views {
2228
+ -webkit-transform: translate3d(0, 0, 0);
2229
+ -ms-transform: translate3d(0, 0, 0);
2230
+ transform: translate3d(0, 0, 0);
2231
+ }
2232
+ body.with-panel-left-cover .panel-overlay,
2233
+ body.with-panel-right-cover .panel-overlay {
2234
+ display: block;
2235
+ }
2236
+ body.with-panel-left-reveal .views,
2237
+ body.with-panel-right-reveal .views {
2238
+ -webkit-transition-duration: 400ms;
2239
+ transition-duration: 400ms;
2240
+ -webkit-transition-property: -webkit-transform;
2241
+ -moz-transition-property: -moz-transform;
2242
+ transition-property: transform;
2243
+ }
2244
+ body.with-panel-left-reveal .panel-overlay,
2245
+ body.with-panel-right-reveal .panel-overlay {
2246
+ display: block;
2247
+ }
2248
+ body.with-panel-left-reveal .views {
2249
+ -webkit-transform: translate3d(260px, 0, 0);
2250
+ -ms-transform: translate3d(260px, 0, 0);
2251
+ transform: translate3d(260px, 0, 0);
2252
+ }
2253
+ body.with-panel-left-reveal .panel-overlay {
2254
+ margin-left: 260px;
2255
+ }
2256
+ body.with-panel-left-cover .panel-left {
2257
+ -webkit-transform: translate3d(260px, 0, 0);
2258
+ -ms-transform: translate3d(260px, 0, 0);
2259
+ transform: translate3d(260px, 0, 0);
2260
+ }
2261
+ body.with-panel-right-reveal .views {
2262
+ -webkit-transform: translate3d(-260px, 0, 0);
2263
+ -ms-transform: translate3d(-260px, 0, 0);
2264
+ transform: translate3d(-260px, 0, 0);
2265
+ }
2266
+ body.with-panel-right-reveal .panel-overlay {
2267
+ margin-left: -260px;
2268
+ }
2269
+ body.with-panel-right-cover .panel-right {
2270
+ -webkit-transform: translate3d(-260px, 0, 0);
2271
+ -ms-transform: translate3d(-260px, 0, 0);
2272
+ transform: translate3d(-260px, 0, 0);
2273
+ }
2274
+ body.panel-closing .views {
2275
+ -webkit-transition-duration: 400ms;
2276
+ transition-duration: 400ms;
2277
+ -webkit-transition-property: -webkit-transform;
2278
+ -moz-transition-property: -moz-transform;
2279
+ transition-property: transform;
2280
+ }
2281
+ /* === Tabs === */
2282
+ .tabs .tab {
2283
+ display: none;
2284
+ }
2285
+ .tabs .tab.active {
2286
+ display: block;
2287
+ }
2288
+ /* === Messages === */
2289
+ .messages-content {
2290
+ background: #fff;
2291
+ }
2292
+ .messages {
2293
+ display: -webkit-box;
2294
+ display: -ms-flexbox;
2295
+ display: -webkit-flex;
2296
+ display: flex;
2297
+ -webkit-box-orient: vertical;
2298
+ -moz-box-orient: vertical;
2299
+ -ms-flex-direction: column;
2300
+ -webkit-flex-direction: column;
2301
+ flex-direction: column;
2302
+ }
2303
+ .messages-date {
2304
+ text-align: center;
2305
+ font-weight: 500;
2306
+ font-size: 11px;
2307
+ line-height: 1;
2308
+ margin: 10px 15px;
2309
+ color: #8e8e93;
2310
+ }
2311
+ .messages-date span {
2312
+ font-weight: 400;
2313
+ }
2314
+ .message {
2315
+ -webkit-box-sizing: border-box;
2316
+ -moz-box-sizing: border-box;
2317
+ box-sizing: border-box;
2318
+ font-size: 17px;
2319
+ line-height: 1.2;
2320
+ margin: 1px 10px 0;
2321
+ padding: 6px 16px 9px;
2322
+ min-width: 48px;
2323
+ min-height: 35px;
2324
+ max-width: 60%;
2325
+ border-radius: 16px;
2326
+ }
2327
+ .message.message-pic {
2328
+ padding: 0;
2329
+ background: none;
2330
+ }
2331
+ .message.message-pic img {
2332
+ display: block;
2333
+ height: auto;
2334
+ max-width: 100%;
2335
+ border-radius: 16px;
2336
+ }
2337
+ .message-sent {
2338
+ padding-right: 22px;
2339
+ -ms-flex-item-align: end;
2340
+ -webkit-align-self: flex-end;
2341
+ align-self: flex-end;
2342
+ background-color: #00d449;
2343
+ color: white;
2344
+ margin-left: auto;
2345
+ -webkit-mask-box-image: url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m84 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/></svg>") 49.5% 55.75% 49.5% 43.25%;
2346
+ }
2347
+ .message-sent.message-last {
2348
+ border-radius: 16px 16px 0 16px;
2349
+ margin-bottom: 8px;
2350
+ -webkit-mask-box-image: url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m84 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/><path d='m96 70c-6-2-12-10-12-19v-16l-14 27s8 8 26 8z'/></svg>") 49.5% 55.75% 49.5% 43.25%;
2351
+ }
2352
+ .message-sent.message-last.message-pic img {
2353
+ border-radius: 16px 16px 0 16px;
2354
+ }
2355
+ .message-received {
2356
+ padding-left: 22px;
2357
+ -ms-flex-item-align: start;
2358
+ -webkit-align-self: flex-start;
2359
+ align-self: flex-start;
2360
+ background-color: #e5e5ea;
2361
+ color: #000;
2362
+ -webkit-mask-box-image: url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m96 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/></svg>") 49.5% 43.25% 49.5% 55.75%;
2363
+ }
2364
+ .message-received.message-last {
2365
+ margin-bottom: 8px;
2366
+ border-radius: 16px 16px 16px 0;
2367
+ -webkit-mask-box-image: url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m96 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/><path d='m0 70c6-2 12-10 12-19v-16l14 27s-8 8-26 8z'/></svg>") 49.5% 43.25% 49.5% 55.75%;
2368
+ }
2369
+ .message-received.message-last.message-pic img {
2370
+ border-radius: 16px 16px 16px 0;
2371
+ }
2372
+ .message-appear {
2373
+ -webkit-animation: messageAppear 400ms;
2374
+ animation: messageAppear 400ms;
2375
+ }
2376
+ html.ios-6 .message,
2377
+ html.ios-6 .message.message-pic img {
2378
+ -webkit-mask-box-image: none;
2379
+ border-radius: 16px;
2380
+ }
2381
+ @-webkit-keyframes messageAppear {
2382
+ from {
2383
+ -webkit-transform: translate3d(0, 100%, 0);
2384
+ }
2385
+ to {
2386
+ -webkit-transform: translate3d(0, 0, 0);
2387
+ }
2388
+ }
2389
+ @keyframes messageAppear {
2390
+ from {
2391
+ transform: translate3d(0, 100%, 0);
2392
+ }
2393
+ to {
2394
+ transform: translate3d(0, 0, 0);
2395
+ }
2396
+ }
2397
+ /* === Statusbar overlay === */
2398
+ html.with-statusbar-overlay body {
2399
+ padding-top: 20px;
2400
+ -webkit-box-sizing: border-box;
2401
+ -moz-box-sizing: border-box;
2402
+ box-sizing: border-box;
2403
+ }
2404
+ html.with-statusbar-overlay body .statusbar-overlay {
2405
+ display: block;
2406
+ }
2407
+ html.with-statusbar-overlay body .panel {
2408
+ padding-top: 20px;
2409
+ }
2410
+ .statusbar-overlay {
2411
+ background: #f7f7f8;
2412
+ z-index: 9999;
2413
+ position: absolute;
2414
+ left: 0;
2415
+ top: 0;
2416
+ height: 20px;
2417
+ width: 100%;
2418
+ display: none;
2419
+ -webkit-transition-duration: 400ms;
2420
+ transition-duration: 400ms;
2421
+ }
2422
+ /* === Preloader === */
2423
+ .preloader {
2424
+ display: inline-block;
2425
+ width: 20px;
2426
+ height: 20px;
2427
+ -webkit-transform-origin: 50%;
2428
+ transform-origin: 50%;
2429
+ -webkit-animation: spin 1s step-end infinite;
2430
+ animation: spin 1s step-end infinite;
2431
+ }
2432
+ .preloader:after {
2433
+ display: block;
2434
+ content: "";
2435
+ width: 100%;
2436
+ height: 100%;
2437
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><defs><line id='l' x1='60' x2='60' y1='7' y2='27' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round'/></defs><g><use xlink:href='%23l' opacity='.27'/><use xlink:href='%23l' opacity='.27' transform='rotate(30 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(60 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(90 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(120 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(150 60,60)'/><use xlink:href='%23l' opacity='.37' transform='rotate(180 60,60)'/><use xlink:href='%23l' opacity='.46' transform='rotate(210 60,60)'/><use xlink:href='%23l' opacity='.56' transform='rotate(240 60,60)'/><use xlink:href='%23l' opacity='.66' transform='rotate(270 60,60)'/><use xlink:href='%23l' opacity='.75' transform='rotate(300 60,60)'/><use xlink:href='%23l' opacity='.85' transform='rotate(330 60,60)'/></g></svg>");
2438
+ background-position: 50%;
2439
+ background-size: 100%;
2440
+ background-repeat: no-repeat;
2441
+ }
2442
+ .preloader-white:after {
2443
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><defs><line id='l' x1='60' x2='60' y1='7' y2='27' stroke='%23fff' stroke-width='11' stroke-linecap='round'/></defs><g><use xlink:href='%23l' opacity='.27'/><use xlink:href='%23l' opacity='.27' transform='rotate(30 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(60 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(90 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(120 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(150 60,60)'/><use xlink:href='%23l' opacity='.37' transform='rotate(180 60,60)'/><use xlink:href='%23l' opacity='.46' transform='rotate(210 60,60)'/><use xlink:href='%23l' opacity='.56' transform='rotate(240 60,60)'/><use xlink:href='%23l' opacity='.66' transform='rotate(270 60,60)'/><use xlink:href='%23l' opacity='.75' transform='rotate(300 60,60)'/><use xlink:href='%23l' opacity='.85' transform='rotate(330 60,60)'/></g></svg>");
2444
+ }
2445
+ .modal .preloader {
2446
+ width: 34px;
2447
+ height: 34px;
2448
+ }
2449
+ @-webkit-keyframes spin {
2450
+ 0% {
2451
+ -webkit-transform: rotate(0deg);
2452
+ }
2453
+ 8.33333333% {
2454
+ -webkit-transform: rotate(30deg);
2455
+ }
2456
+ 16.66666667% {
2457
+ -webkit-transform: rotate(60deg);
2458
+ }
2459
+ 25% {
2460
+ -webkit-transform: rotate(90deg);
2461
+ }
2462
+ 33.33333333% {
2463
+ -webkit-transform: rotate(120deg);
2464
+ }
2465
+ 41.66666667% {
2466
+ -webkit-transform: rotate(150deg);
2467
+ }
2468
+ 50% {
2469
+ -webkit-transform: rotate(180deg);
2470
+ }
2471
+ 58.33333333% {
2472
+ -webkit-transform: rotate(210deg);
2473
+ }
2474
+ 66.66666667% {
2475
+ -webkit-transform: rotate(240deg);
2476
+ }
2477
+ 75% {
2478
+ -webkit-transform: rotate(270deg);
2479
+ }
2480
+ 83.33333333% {
2481
+ -webkit-transform: rotate(300deg);
2482
+ }
2483
+ 91.66666667% {
2484
+ -webkit-transform: rotate(330deg);
2485
+ }
2486
+ 100% {
2487
+ -webkit-transform: rotate(360deg);
2488
+ }
2489
+ }
2490
+ @keyframes spin {
2491
+ 0% {
2492
+ transform: rotate(0deg);
2493
+ }
2494
+ 8.33333333% {
2495
+ transform: rotate(30deg);
2496
+ }
2497
+ 16.66666667% {
2498
+ transform: rotate(60deg);
2499
+ }
2500
+ 25% {
2501
+ transform: rotate(90deg);
2502
+ }
2503
+ 33.33333333% {
2504
+ transform: rotate(120deg);
2505
+ }
2506
+ 41.66666667% {
2507
+ transform: rotate(150deg);
2508
+ }
2509
+ 50% {
2510
+ transform: rotate(180deg);
2511
+ }
2512
+ 58.33333333% {
2513
+ transform: rotate(210deg);
2514
+ }
2515
+ 66.66666667% {
2516
+ transform: rotate(240deg);
2517
+ }
2518
+ 75% {
2519
+ transform: rotate(270deg);
2520
+ }
2521
+ 83.33333333% {
2522
+ transform: rotate(300deg);
2523
+ }
2524
+ 91.66666667% {
2525
+ transform: rotate(330deg);
2526
+ }
2527
+ 100% {
2528
+ transform: rotate(360deg);
2529
+ }
2530
+ }
2531
+ /* === Pull To Refresh === */
2532
+ .pull-to-refresh-layer {
2533
+ position: absolute;
2534
+ position: relative;
2535
+ margin-top: -44px;
2536
+ left: 0;
2537
+ top: 0;
2538
+ width: 100%;
2539
+ height: 44px;
2540
+ }
2541
+ .pull-to-refresh-layer .preloader {
2542
+ position: absolute;
2543
+ left: 50%;
2544
+ top: 50%;
2545
+ margin-left: -10px;
2546
+ margin-top: -10px;
2547
+ visibility: hidden;
2548
+ }
2549
+ .pull-to-refresh-layer .pull-to-refresh-arrow {
2550
+ width: 13px;
2551
+ height: 20px;
2552
+ position: absolute;
2553
+ left: 50%;
2554
+ top: 50%;
2555
+ margin-left: -6px;
2556
+ margin-top: -10px;
2557
+ background: no-repeat center;
2558
+ background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 40'><polygon points='9,22 9,0 17,0 17,22 26,22 13.5,40 0,22' fill='%238c8c8c'/></svg>");
2559
+ background-size: 13px 20px;
2560
+ z-index: 10;
2561
+ -webkit-transform: rotate(0deg) translate3d(0, 0, 0);
2562
+ -ms-transform: rotate(0deg) translate3d(0, 0, 0);
2563
+ transform: rotate(0deg) translate3d(0, 0, 0);
2564
+ -webkit-transition-duration: 300ms;
2565
+ transition-duration: 300ms;
2566
+ }
2567
+ .pull-to-refresh-content.transitioning {
2568
+ -webkit-transition-duration: 400ms;
2569
+ transition-duration: 400ms;
2570
+ }
2571
+ .pull-to-refresh-content.refreshing {
2572
+ -webkit-transform: translate3d(0, 44px, 0);
2573
+ -ms-transform: translate3d(0, 44px, 0);
2574
+ transform: translate3d(0, 44px, 0);
2575
+ }
2576
+ .pull-to-refresh-content.refreshing .pull-to-refresh-arrow {
2577
+ visibility: hidden;
2578
+ -webkit-transition-duration: 0ms;
2579
+ transition-duration: 0ms;
2580
+ }
2581
+ .pull-to-refresh-content.refreshing .preloader {
2582
+ visibility: visible;
2583
+ }
2584
+ .pull-to-refresh-content.pull-up .pull-to-refresh-arrow {
2585
+ -webkit-transform: rotate(180deg) translate3d(0, 0, 0);
2586
+ -ms-transform: rotate(180deg) translate3d(0, 0, 0);
2587
+ transform: rotate(180deg) translate3d(0, 0, 0);
2588
+ }