chui-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +29 -0
  6. data/Rakefile +1 -0
  7. data/chui-rails.gemspec +23 -0
  8. data/lib/chui/rails.rb +7 -0
  9. data/lib/chui/rails/version.rb +5 -0
  10. data/vendor/assets/images/app-icons/app.png +0 -0
  11. data/vendor/assets/images/app-icons/browser.png +0 -0
  12. data/vendor/assets/images/app-icons/mail.png +0 -0
  13. data/vendor/assets/images/app-icons/music.png +0 -0
  14. data/vendor/assets/images/app-icons/weather.png +0 -0
  15. data/vendor/assets/images/icons/Camera.svg +55 -0
  16. data/vendor/assets/images/icons/Documents.svg +71 -0
  17. data/vendor/assets/images/icons/Download.svg +8 -0
  18. data/vendor/assets/images/icons/Favorite.svg +25 -0
  19. data/vendor/assets/images/icons/Head_phones.svg +32 -0
  20. data/vendor/assets/images/icons/android.svg +15 -0
  21. data/vendor/assets/images/icons/arrow_down.svg +6 -0
  22. data/vendor/assets/images/icons/arrow_left.svg +6 -0
  23. data/vendor/assets/images/icons/arrow_right.svg +6 -0
  24. data/vendor/assets/images/icons/arrow_up.svg +6 -0
  25. data/vendor/assets/images/icons/down.svg +13 -0
  26. data/vendor/assets/images/icons/left.svg +13 -0
  27. data/vendor/assets/images/icons/right.svg +13 -0
  28. data/vendor/assets/images/icons/up.svg +13 -0
  29. Harm.jpg +0 -0
  30. data/vendor/assets/images/music/Imagine Dragons.jpg +0 -0
  31. data/vendor/assets/images/music/Kiss.jpg +0 -0
  32. data/vendor/assets/images/music/Permanent.jpg +0 -0
  33. data/vendor/assets/images/music/The Olms.jpg +0 -0
  34. data/vendor/assets/images/music/Willy Moon.jpg +0 -0
  35. data/vendor/assets/javascripts/chui-3.7.0.js +2796 -0
  36. data/vendor/assets/javascripts/chui-3.7.0.min.js +9 -0
  37. data/vendor/assets/stylesheets/chui-android-3.7.0.css +2970 -0
  38. data/vendor/assets/stylesheets/chui-android-3.7.0.min.css +8 -0
  39. data/vendor/assets/stylesheets/chui-ios-3.7.0.css +2614 -0
  40. data/vendor/assets/stylesheets/chui-ios-3.7.0.min.css +8 -0
  41. data/vendor/assets/stylesheets/chui-win-3.7.0.css +2375 -0
  42. data/vendor/assets/stylesheets/chui-win-3.7.0.min.css +8 -0
  43. metadata +113 -0
@@ -0,0 +1,9 @@
1
+ /*
2
+ ChocolateChip-UI
3
+ ChUI.js
4
+ Copyright 2014 Sourcebits www.sourcebits.com
5
+ License: MIT
6
+ Version: 3.7.0
7
+ */
8
+ window.CHUIJSLIB,window.jQuery?window.CHUIJSLIB=window.jQuery:window.$chocolatechipjs&&(window.CHUIJSLIB=window.$chocolatechipjs),function(e){function t(e){return"tagName"in e?e:e.parentNode}function i(e,t,i,s){return Math.abs(e-t)>=Math.abs(i-s)?e-t>0?"left":"right":i-s>0?"up":"down"}function s(){if(d=null,u.last)try{u&&u.el&&(u.el.trigger("longtap"),u={})}catch(e){}}function n(){d&&clearTimeout(d),d=null}function a(){r&&clearTimeout(r),c&&clearTimeout(c),l&&clearTimeout(l),d&&clearTimeout(d),r=c=l=d=null,u={}}function o(t){function i(e){return/m/.test(e)?parseFloat(e):/s/.test(e)?100*parseFloat(e):void 0}var s,n;"transition"in document.body.style?s="transition-duration":"-webkit-transition"in document.body.style&&(s="-webkit-transition-duration"),n=i(e("article").eq(0).css(s)),setTimeout(function(){e(t).trigger({type:"navigationend"})},n)}e.extend({UuidBit:1,Uuid:function(){return this.UuidBit++,Date.now().toString(36)+this.UuidBit},concat:function(e){return e instanceof Array?e.join(""):[].slice.apply(arguments).join("")},forEach:function(e,t,i){function s(e){var t=e.length,i=typeof e;return"function"===i||e===window?!1:1===e.nodeType&&t?!0:"array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e}var n,a=0,o=e.length,r=s(e);if(i){if(r)for(;o>a&&(n=t.apply(e[a],i),n!==!1);a++);else for(a in e)if(n=t.apply(e[a],i),n===!1)break}else if(r)for(;o>a&&(n=t.call(e[a],e[a],a),n!==!1);a++);else for(a in e)if(n=t.call(e[a],e[a],a),n===!1)break}}),e.fn.extend({forEach:function(t,i){var s=this;return e.forEach(s,t,i)},iz:function(t){if(window.jQuery){var i=e();return this.forEach(function(s){e(s).is(t)&&i.push(s)}),i}return window.$chocolatechipjs?this.is(t):void 0},iznt:function(e){return window.jQuery?this.not(e):window.$chocolatechipjs?this.isnt(e):void 0},haz:function(e){return this.has(e)},haznt:function(t){if(window.jQuery){var i=e();return this.forEach(function(s){e(s).has(t)[0]||i.push(s)}),i}return window.$chocolatechipjs?this.hasnt(t):void 0},hazClass:function(t){if(window.jQuery){var i=e();return this.forEach(function(s){e(s).hasClass(t)&&i.push(s)}),i}return window.$chocolatechipjs?this.hasClass(t):void 0},hazntClass:function(t){if(window.jQuery){var i=e();return this.forEach(function(s){e(s).hasClass(t)||i.push(s)}),i}if(window.$chocolatechipjs){var i=[];return this.forEach(function(e){e.classList.contains(t)&&i.push(e)}),i}},hazAttr:function(t){if(window.jQuery){var i=e();return this.forEach(function(s){e(s).attr(t)&&i.push(s)}),i}if(window.$chocolatechipjs){var i=[];return i}},hazntAttr:function(t){if(window.jQuery){var i=e();return this.forEach(function(s){e(s).attr(t)||i.push(s)}),i}if(window.$chocolatechipjs){var i=[];return ctx.hasAttribute(t)||i.push(ctx),i}}}),e.extend({eventStart:null,eventEnd:null,eventMove:null,eventCancel:null,gestureLength:30}),e(function(){window.navigator.pointerEnabled?(e.eventStart="pointerdown",e.eventEnd="pointerup",e.eventMove="pointermove",e.eventCancel="pointercancel"):window.navigator.msPointerEnabled?(e.eventStart="MSPointerDown",e.eventEnd="MSPointerUp",e.eventMove="MSPointerMove",e.eventCancel="MSPointerCancel"):"ontouchstart"in window?(e.eventStart="touchstart",e.eventEnd="touchend",e.eventMove="touchmove",e.eventCancel="touchcancel"):(e.eventStart="mousedown",e.eventEnd="click",e.eventMove="mousemove",e.eventCancel="mouseout")}),e.extend({isiPhone:/iphone/gim.test(navigator.userAgent),isiPad:/ipad/gim.test(navigator.userAgent),isiPod:/ipod/gim.test(navigator.userAgent),isiOS:/ip(hone|od|ad)/gim.test(navigator.userAgent),isAndroid:/android/gim.test(navigator.userAgent)&&!/trident/gim.test(navigator.userAgent),isWebOS:/webos/gim.test(navigator.userAgent),isBlackberry:/blackberry/gim.test(navigator.userAgent),isTouchEnabled:"createTouch"in document,isOnline:navigator.onLine,isStandalone:navigator.standalone,isiOS6:navigator.userAgent.match(/OS 6/i),isiOS7:navigator.userAgent.match(/OS 7/i),isWin:/trident/gim.test(navigator.userAgent),isWinPhone:/trident/gim.test(navigator.userAgent)&&/mobile/gim.test(navigator.userAgent),isIE10:navigator.userAgent.match(/msie 10/i),isIE11:navigator.userAgent.match(/msie 11/i),isWebkit:navigator.userAgent.match(/webkit/),isMobile:/mobile/gim.test(navigator.userAgent),isDesktop:!/mobile/gim.test(navigator.userAgent),isSafari:!/Chrome/gim.test(navigator.userAgent)&&/Safari/gim.test(navigator.userAgent)&&!/android/gim.test(navigator.userAgent),isChrome:/Chrome/gim.test(navigator.userAgent),isNativeAndroid:/android/i.test(navigator.userAgent)&&/webkit/i.test(navigator.userAgent)&&!/chrome/i.test(navigator.userAgent)}),e.extend({browserVersion:function(){var e,t=navigator.appName,i=navigator.userAgent,s=i.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return s&&null!==(e=i.match(/version\/([\.\d]+)/i))&&(s[2]=e[1]),s=s?[s[1],s[2]]:[t,navigator.appVersion,"-?"],s[1]}}),e(function(){e.body=e("body"),/android/gim.test(navigator.userAgent)&&/webkit/gim.test(navigator.userAgent)&&!/Chrome/gim.test(navigator.userAgent)&&e.body.addClass("isNativeAndroidBrowser"),e.isWin?e.body.addClass("isWindows"):e.isiOS?e.body.addClass("isiOS"):e.isAndroid&&e.body.addClass("isAndroid"),e.isSafari&&6===parseInt(e.browserVersion(),10)&&e.body.addClass("isSafari6"),e.isNativeAndroid&&e.body.addClass("isNativeAndroidBrowser")});var r,l,c,d,u={},h=750,p=150;e(function(){var o,v,f=e(document.body),g=!1;f.on(e.eventStart,function(i){if(o=Date.now(),v=o-(u.last||o),i.originalEvent&&(i=i.originalEvent),window.navigator.msPointerEnabled||window.navigator.pointerEnabled){if(window&&window.jQuery&&e===window.jQuery){if(i.originalEvent&&!i.originalEvent.isPrimary)return}else if(!i.isPrimary)return;i=i.originalEvent?i.originalEvent:i,f.on("MSHoldVisual",function(e){e.preventDefault()}),u.el=e(t(i.target)),r&&clearTimeout(r),u.x1=i.pageX,u.y1=i.pageY,g=!1}else"mousedown"===e.eventStart?(u.el=e(t(i.target)),r&&clearTimeout(r),u.x1=i.pageX,u.y1=i.pageY,g=!1):1===i.touches.length&&(u.el=e(t(i.touches[0].target)),r&&clearTimeout(r),u.x1=i.touches[0].pageX,u.y1=i.touches[0].pageY,g=2===i.targetTouches.length?!0:!1);v>0&&250>=v&&(u.isDoubleTap=!0),u.last=o,d=setTimeout(s,h)}),f.on(e.eventMove,function(t){if(t.originalEvent&&(t=t.originalEvent),window.navigator.msPointerEnabled){if(window&&window.jQuery&&e===window.jQuery){if(t.originalEvent&&!t.originalEvent.isPrimary)return}else if(!t.isPrimary)return;t=t.originalEvent?t.originalEvent:t,n(),u.x2=t.pageX,u.y2=t.pageY}else n(),"mousemove"===e.eventMove?(u.x2=t.pageX,u.y2=t.pageY):1===t.touches.length&&(u.x2=t.touches[0].pageX,u.y2=t.touches[0].pageY);if(e.isAndroid){if(e.gestureLength=10,!u.el)return;u.x2&&Math.abs(u.x1-u.x2)>e.gestureLength||u.y2&&Math.abs(u.y1-u.y2)>e.gestureLength?l=setTimeout(function(){t.preventDefault(),u&&u.el&&(u.el.trigger("swipe"),u.el.trigger("swipe"+i(u.x1,u.x2,u.y1,u.y2)),u={})},0):"last"in u&&(c=setTimeout(function(){u&&u.el&&u.el.trigger("tap"),u&&u.isDoubleTap?u&&u.el&&(u.el.trigger("doubletap"),u={}):r=setTimeout(function(){return r=null,u&&u.el?(u.el.trigger("singletap"),u={},!1):void 0},p)},0))}}),f.on(e.eventEnd,function(t){if(window.navigator.msPointerEnabled)if(window&&window.jQuery&&e===window.jQuery){if(t.originalEvent&&!t.originalEvent.isPrimary)return}else if(!t.isPrimary)return;n(),u.el&&(u.x2&&Math.abs(u.x1-u.x2)>e.gestureLength||u.y2&&Math.abs(u.y1-u.y2)>e.gestureLength?l=setTimeout(function(){u&&u.el&&(u.el.trigger("swipe"),u.el.trigger("swipe"+i(u.x1,u.x2,u.y1,u.y2)),u={})},0):"last"in u&&(c=setTimeout(function(){u&&u.el&&u.el.trigger("tap"),u&&u.isDoubleTap?u&&u.el&&(u.el.trigger("doubletap"),u={}):r=setTimeout(function(){return r=null,u&&u.el?(u.el.trigger("singletap"),u={},!1):void 0},p)},0)))}),f.on("touchcancel",a)}),["swipe","swipeleft","swiperight","swipeup","swipedown","doubletap","tap","singletap","longtap"].forEach(function(t){e.fn.extend({method:function(e){return this.on(t,e)}})}),e.extend({UIDesktopCompat:function(){e.isDesktop&&e.isSafari?e("body").addClass("isiOS").addClass("isDesktopSafari isDesktop"):e.isDesktop&&e.isChrome&&e("body").addClass("isAndroid").addClass("isDesktopChrome isDesktop")}}),e(function(){e.UIDesktopCompat()}),e(function(){e.body=e("body"),e.body[0].classList.contains("splitlayout")||e("body").prepend("<nav id='global-nav'></nav>"),e.body[0].classList.contains("splitlayout")&&window.innerWidth<768&&e("meta[name=viewport]").attr("content","width=device-width, initial-scale=0.45, maximum-scale=2, user-scalable=yes"),e("h1").each(function(e,t){t.nextElementSibling&&"A"===t.nextElementSibling.nodeName&&t.classList.add("buttonOnRight")}),e(".toolbar").prev("article").addClass("has-toolbar"),e.isiOS&&e.isStandalone&&e.body[0].classList.add("isStandalone")}),e.extend({UIHideNavBar:function(){e("nav").hide(),e.body.addClass("hide-navbars")},UIShowNavBar:function(){e("nav").show(),e.body.removeClass("hide-navbars")}}),e.extend({subscriptions:{},subscribe:function(t,i){e.subscriptions[t]||(e.subscriptions[t]=[]);var s=e.Uuid();return e.subscriptions[t].push({token:s,callback:i}),s},unsubscribe:function(t){setTimeout(function(){for(var i in e.subscriptions)if(e.subscriptions[i])for(var s=0,n=e.subscriptions[i].length;n>s;s++)if(e.subscriptions[i][s].token===t)return e.subscriptions[i].splice(s,1),t;return!1})},publish:function(t,i){return e.subscriptions[t]?(setTimeout(function(){for(var s=e.subscriptions[t]?e.subscriptions[t].length:0;s--;)e.subscriptions[t][s].callback(t,i);return!0}),!0):!1}}),e.extend({UITrackHashNavigation:function(t,i){t=t||!0,e.UISetHashOnUrl(e.UINavigationHistory[e.UINavigationHistory.length-1],i)},UISetHashOnUrl:function(t,i){i=i||"#/";var s;s=/^#/.test(t)?i+t.split("#")[1]:i+t,e.isAndroid?(/#/.test(t)&&(t=t.split("#")[1]),/\//.test(t)&&(t=t.split("/")[1]),window.location.hash="#/"+t):window.history.replaceState("Object","Title",s)},UIGoBackToArticle:function(t){var i,s,n=e.UINavigationHistory.indexOf(t),a=e("article.current"),r=e(t);0===e.UINavigationHistory.length&&(r=e("article:first-of-type"),e.UINavigationHistory.push("#"+r[0].id));var l;l=e.UINavigationHistory.length>1?e.UINavigationHistory.splice(n+1):e("article.previous"),e.publish("chui/navigateBack/leave",a[0].id),e.publish("chui/navigateBack/enter",r[0].id),a[0].scrollTop=0,r[0].scrollTop=0,l.length&&e.forEach(l,function(t){e(t).removeClass("previous").addClass("next"),e(t).prev().removeClass("previous").addClass("next")}),i=a.next().hazClass("toolbar"),s=r.next().hazClass("toolbar"),r.removeClass("previous next").addClass("current"),r.prev().removeClass("previous next").addClass("current"),s.removeClass("previous next").addClass("current"),a.removeClass("current").addClass("next"),a.prev().removeClass("current").addClass("next"),i.removeClass("current").addClass("next"),e(".toolbar.previous").removeClass("previous").addClass("next"),e.UISetHashOnUrl(e.UINavigationHistory[e.UINavigationHistory.length-1]),o(r)},UIGoBack:function(){var t,i,s=e.UINavigationHistory.length,n=e("article.current"),a=e(e.UINavigationHistory[s-2]);0===s&&(a=e("article:first-of-type"),e.UINavigationHistory.push("#"+a[0].id)),e.publish("chui/navigateBack/leave",n[0].id),e.publish("chui/navigateBack/enter",a[0].id),n[0].scrollTop=0,a[0].scrollTop=0,t=n.next().hazClass("toolbar"),i=a.next().hazClass("toolbar"),a.removeClass("previous").addClass("current"),a.prev().removeClass("previous").addClass("current"),i.removeClass("previous").addClass("current"),n.removeClass("current").addClass("next"),n.prev().removeClass("current").addClass("next"),t.removeClass("current").addClass("next"),e.UISetHashOnUrl(e.UINavigationHistory[s-2]),1!==e.UINavigationHistory.length&&(e.UINavigationHistory.pop(),o(a))},isNavigating:!1,UIGoToArticle:function(t){if(!e.isNavigating){e.isNavigating=!0;var i=e("article.current"),s=i.prev();t=e(t);var n,a,r="#"+t[0].id,l=t.prev(),c="next previous";e.publish("chui/navigate/leave",i[0].id),e.UINavigationHistory.push(r),e.publish("chui/navigate/enter",t[0].id),i[0].scrollTop=0,t[0].scrollTop=0,n=i.next().hazClass("toolbar"),a=t.next().hazClass("toolbar"),i.removeClass("current").addClass("previous"),s.removeClass("current").addClass("previous"),n.removeClass("current").addClass("previous"),t.removeClass(c).addClass("current"),l.removeClass(c).addClass("current"),a.removeClass(c).addClass("current"),e.UISetHashOnUrl(t[0].id),setTimeout(function(){e.isNavigating=!1},500),o(t)}}}),e(function(){e.extend({UINavigationHistory:["#"+e("article").eq(0).attr("id")]}),e("nav:not(#global-nav)").forEach(function(t,i){e("body")[0].classList.contains("splitlayout")||t.classList.add(0===i?"current":"next")}),e("article").forEach(function(t,i){e("body")[0].classList.contains("splitlayout")||e("body")[0].classList.contains("slide-out-app")||t.classList.add(0===i?"current":"next")}),e("body").on("singletap","a.back",function(){this.classList.contains("back")&&e.UIGoBack()}),e("body").on("singletap doubletap","li",function(){var t=e(this);if(!e.isNavigating&&this.hasAttribute("data-goto")&&this.getAttribute("data-goto")&&document.getElementById(this.getAttribute("data-goto"))&&!e(this).parent()[0].classList.contains("deletable")){t.addClass("selected");var i="#"+this.getAttribute("data-goto");e(i).addClass("navigable"),setTimeout(function(){t.removeClass("selected")},500);var s=e(i);e.UIGoToArticle(s)}}),e("li[data-goto]").forEach(function(t){e(t).closest("article").addClass("navigable");var i="#"+t.getAttribute("data-goto");e(i).addClass("navigable")}),e("article").eq(1)[0]&&e.UISetHashOnUrl(e("article").eq(0)[0].id),e("nav").on(e.eventStart,function(e){e.preventDefault()})}),e(function(){e("body").on("singletap",".button",function(){var t=e(this);t.parent(".segmented")[0]||t.parent(".tabbar")[0]||e.isDesktop||(t.addClass("selected"),setTimeout(function(){t.removeClass("selected")},500))})}),e.fn.extend({UIBlock:function(t){return t=t?" style='opacity:"+t+"'":" style='opacity: .5;'",e(this).before("<div class='mask'"+t+"></div>"),e("article.current").attr("aria-hidden",!0),this},UIUnblock:function(){return e(".mask").remove(),e("article.current").removeAttr("aria-hidden"),this}}),e.fn.extend({UICenter:function(t){var t=t;if(this[0]){var i=e(this),s=i.parent();t?e(this.css("position",t)):t="absolute"===i.css("position")?"absolute":"relative";var n,a,o,r;"absolute"===t?(n=i[0].clientHeight,a=i[0].clientWidth,o=s[0].clientHeight,r=s[0].clientWidth):(n=parseInt(i.css("height"),10),a=parseInt(i.css("width"),10),o=parseInt(s.css("height"),10),r=parseInt(s.css("width"),10),e(this).css({"margin-left":"auto","margin-right":"auto"}));var l,c;"body"===s[0].nodeName?(l=window.innerHeight/2+window.pageYOffset-n/2+"px",c=window.innerWidth/2-a/2+"px"):(l=o/2-n/2+"px",c=r/2-a/2+"px"),"absolute"!==t&&(c=0),i.css({left:c,top:l})}}}),e.fn.extend({UIBusy:function(t){t=t||{};var i={size:43,color:"#000",position:!1,duration:"2s"};e.extend(i,t);var s,n=this,a=function(){var t={"-webkit-animation-duration":i.duration};return s=e('<span class="busy"></span>'),e(s).css({"background-color":i.color,height:i.size,width:i.size}),e(s).css(t),e(s).attr("role","progressbar"),i.position&&e(s).addClass(i.position),n.append(s),this},o=function(){i.id=e.Uuid();var s=null,a=i.position?" "+i.position:"";return e.isNativeAndroid?(s='<svg class="busy'+a+'" version="1.1" id="'+i.id+'" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g><path fill="none" stroke="'+i.color+'" stroke-width="10" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M74.2,65c2.7-4.4,4.3-9.5,4.3-15c0-15.7-12.8-28.5-28.5-28.5S21.5,34.3,21.5,50c0,5.5,1.6,10.6,4.3,15"/></g><polyline fill="none" stroke="'+i.color+'" stroke-width="10" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="89.4,56.1 74.3,65 65.4,49.9 "/></svg>',void n.append(s)):(s='<svg id="'+i.id+'" class="busy'+a+'" x="0px" y="0px" viewBox="0 0 100 100"><circle stroke="url(#SVGID_1_)" cx="50" cy="50" r="28.5"/></svg>',n.append(s),n.addClass("hasActivityIndicator"),i.position&&e("#"+i.id).addClass(i.position),t.color&&e("#"+i.id).find("circle").css("stroke",t.color),e("#"+i.id).css({height:i.size+"px",width:i.size+"px"}),e("#"+i.id))},r=function(){return s=e('<progress class="busy"></progress>'),e(s).css({color:i.color}),e(s).attr("role","progressbar"),e(s).addClass("win-ring"),i.position&&e(s).addClass(i.position),n.append(s),this};e.isWin?r(t):e.isAndroid||e.isChrome?o(t):(e.isiOS||e.isSafari)&&a(t)}}),e.extend({UIPopup:function(t){if(t){var i,s=t.id||e.Uuid(),n=t.title?"<header><h1>"+t.title+"</h1></header>":"",a=t.message?'<p role="note">'+t.message+"</p>":"",o=t.cancelButton?'<a href="javascript:void(null)" class="button cancel" role="button">'+t.cancelButton+"</a>":"",r=t.continueButton?'<a href="javascript:void(null)" class="button continue" role="button">'+t.continueButton+"</a>":"",l=t.callback||e.noop,c=t.empty?" noTitle":"",d=e.concat('<div class="popup closed',c,'" role="alertdialog" id="',s,'"><div class="panel">',n,a,"</div><footer>",o,r,"</footer>",i,"</div>");e("body").append(d),l&&r&&e(".popup").find(".continue").on(e.eventStart,function(){e(".popup").UIPopupClose(),l.call(l)}),e.UICenterPopup(),setTimeout(function(){e("body").find(".popup").removeClass("closed")},200),e("body").find(".popup").UIBlock("0.5");var u=e.eventStart+" singletap "+e.eventEnd;e(".mask").on(u,function(e){e.stopPropagation()})}},UICenterPopup:function(){var t=e(".popup");if(t[0]){var i,s=window.innerHeight/2+window.pageYOffset-t[0].clientHeight/2+"px";i=320===window.innerWidth?"10px":Math.floor((window.innerWidth-318)/2)+"px",t.css(e.isWin?{top:s}:{left:i,top:s})}}}),e.fn.extend({UIPopupClose:function(){(this||this.classList.contains("popup"))&&(e(this).UIUnblock(),e(this).remove())}}),e(function(){e("body").on(e.eventStart,".cancel",function(){e(this).closest(".popup")[0]&&e(this).closest(".popup").UIPopupClose()}),e(window).on("resize",function(){e.UICenterPopup()})}),e.extend({UIPopover:function(t){t=t||{};var i={id:e.Uuid(),callback:e.noop,title:""};e.extend(i,t),i.content=t&&t.content?t.content:"";var s="<header><h1>"+i.title+"</h1></header>",n='<div class="popover" id="'+i.id+'">'+s+"<section></section></div>",a="#"+i.id,o=function(t){var i,s,n=e(t).offset(),o=n.left,r=e(a),l=r.offset();i=l.left,s=n.top+e(t)[0].clientHeight,r.css(r.width()+n.left>window.innerWidth?{left:window.innerWidth-r.width()-20+"px",top:s+20+"px"}:{left:o+"px",top:s+20+"px"})};return e(".mask")[0]?(e.UIPopoverClose(),void e("body").UIUnblock()):(e("body").append(n),e.isWin&&e(a).addClass("open"),e(a).data("triggerEl",i.trigger),e(a).find("section").append(i.content),i.callback.call(i.callback,i.trigger),o(i.trigger),void e(".popover").UIBlock(".5"))}}),e.extend({UIAlignPopover:function(){var t=e(".popover");if(t.length){var i=t.data("triggerEl"),s=e(i).offset(),n=s.left;t.css(e(t).width()+s.left>window.innerWidth?{left:window.innerWidth-e(t).width()-20+"px"}:{left:n+"px"})}}}),e.extend({UIPopoverClose:function(){e("body").UIUnblock(),e(".popover").css("visibility","hidden"),setTimeout(function(){e(".popover").remove()},10)}}),e(function(){e(window).on("resize",function(){e.UIAlignPopover()});var t=e.eventStart+" singletap "+e.eventEnd;e("body").on(t,".mask",function(t){if(e(".popover")[0])e.UIPopoverClose();else{if(t&&1===t.nodeType)return;t.stopPropogation()}})}),e.fn.extend({UISegmented:function(t){if(!e(this).hazClass("paging").length){var i=t&&t.callback?t.callback:e.noop,s=t&&t.selected>0?t.selected:0;this.find("a").forEach(function(t,i){e(t).find("a").attr("role","radio"),i===s&&(t.setAttribute("aria-checked","true"),t.classList.add("selected"))}),this.on("singletap",".button",function(t){var s=e(this);this.parentNode.classList.contains("paging")||(s.siblings("a").removeClass("selected"),s.siblings("a").removeAttr("aria-checked"),s.addClass("selected"),s.attr("aria-checked",!0),i.call(this,t))})}}}),e.extend({UICreateSegmented:function(t){var i,s=t&&t.id?t.id:e.Uuid(),n=t&&t.className?t.className:"",a=t&&t.labels?t.labels:[],o=(t&&t.selected?t.selected:0,['<div class="segmented']);return n&&o.push(" "+n),o.push('">'),a.forEach(function(e){o.push('<a role="radio" class="button'),o.push('"'),o.push(">"),o.push(e),o.push("</a>")}),o.push("</div>"),i=e(o.join("")),i.attr("id",s),i}}),e.fn.extend({UIPanelToggle:function(t,i){var s,n=0;n=this.children().hazClass("selected").index()||0,t instanceof Array?s=t.children("div"):"string"==typeof t&&(s=e(t).children("div")),s.eq(n).siblings().css({display:"none"}),i&&i.apply(this,arguments),this.on(e.eventEnd,"a",function(){s.eq(e(this).index()).css({display:"block"}).siblings().css("display","none")}),this.on("singletap",".button",function(){var t=e(this);this.parentNode.classList.contains("paging")||(t.siblings("a").removeClass("selected"),t.siblings("a").removeAttr("aria-checked"),t.addClass("selected"),t.attr("aria-checked",!0))})}}),e.extend({UIPaging:function(){var t=e(".segmented.paging").closest("nav").next();e(".segmented.paging").hazClass("horizontal").length?t.addClass("horizontal"):e(".segmented.paging").hazClass("vertical").length&&t.addClass("vertical"),t.children().eq(0).addClass("current"),t.children().eq(0).siblings().addClass("next");var i=function(){return t.children().length},s=function(s){if(1!==i()){s.next().removeClass("selected"),s.addClass("selected");var n;n=e("section.current"),0===n.index()?(n.removeClass("current"),t.children().eq(i()-1).addClass("current").removeClass("next"),t.children().eq(i()-1).siblings().removeClass("next").addClass("previous")):(n.removeClass("current").addClass("next"),n.prev().removeClass("previous").addClass("current")),setTimeout(function(){s.removeClass("selected")},250)}},n=function(s){if(1!==i()){s.prev().removeClass("selected"),s.addClass("selected");var n;s[0].classList.contains("disabled")||(n=e("section.current"),n.index()===i()-1?(n.removeClass("current"),t.children().eq(0).addClass("current").removeClass("previous"),t.children().eq(0).siblings().removeClass("previous").addClass("next")):(n.removeClass("current").addClass("previous"),n.next().removeClass("next").addClass("current")),setTimeout(function(){s.removeClass("selected")},250))}};e(".segmented.paging").on(e.eventStart,".button:first-of-type",function(){s(e(this))}),e(".segmented.paging").on(e.eventStart,".button:last-of-type",function(){n(e(this))}),e("article.paging.horizontal")[0]&&(e("article.paging").on("swiperight",function(){s(e(".button:first-of-type"))}),e("article.paging").on("swipeleft",function(){n(e(".button:last-of-type"))})),e("article.paging.vertical")[0]&&(e("article.paging").on("swipeup",function(){s(e(".button:first-of-type"))}),e("article.paging").on("swipeudown",function(){n(e(".button:last-of-type"))}))}}),e.fn.extend({UIEditList:function(t){var i={editLabel:"Edit",doneLabel:"Done",deleteLabel:"Delete",callback:e.noop,deletable:!0,movable:!0};if(t&&(e.extend(i,t),i.deletable||i.movable)){var s,n,a,o,r,l,c=i.editLabel,d=(i.doneLabel,i.deleteLabel),u=(i.placement,i.callback,"swiperight"),h="swipeleft",p=e("html").attr("dir");p=p?p.toLowerCase():"","rtl"===p&&(u="swipeleft",h="swiperight"),e.isWin&&(d="");{e("li").eq(0)[0].clientHeight}if(i.deletable&&(s=e.concat('<a href="javascript:void(null)" class="button delete">',d,"</a>"),a='<span class="deletion-indicator"></span>',e(this).addClass("deletable")),i.movable){var r="<span class='move-up'></span>",l="<span class='move-down'></span>";e(this).addClass("editable")}n=e.concat('<a href="javascript:void(null)" class="button edit">',c,"</a>"),e(this).closest("article").prev().find(".edit")[0]||e(this).closest("article").prev().find(".done")[0]||e(this).closest("article").prev().append(n),o=e(this).closest("article").prev().find(".edit"),e(this).find("li").forEach(function(t){e(t).has(".deletion-indicator").length||(i.deletable&&e(t).prepend(a),i.movable&&(e(t).append(r),e(t).append(l)),i.deletable&&e(t).append(s))});var v=[];this.find("li").each(function(t,i){v.push(e(i).attr("data-ui-value"))});var f=function(t,s,n){e(function(){n.on("singletap",function(){var n=this;this.classList.contains("edit")?setTimeout(function(){n.classList.remove("edit"),n.classList.add("done"),e(n).text(i.doneLabel),e(s).addClass("showIndicators")}):this.classList.contains("done")&&(e(s).data("list-edit")&&t.call(t,n),setTimeout(function(){n.classList.remove("done"),n.classList.add("edit"),e(n).text(i.editLabel),e(s).removeClass("showIndicators"),e(s).find("li").removeClass("selected")}))}),e(s).off("singletap",".deletion-indicator"),e(s).on("singletap",".deletion-indicator",function(){return e(this).parent("li").hazClass("selected").length?void e(this).parent("li").removeClass("selected"):void e(this).parent("li").addClass("selected")}),e(s).on(u,"li",function(){i.deletable&&e(this).removeClass("selected")}),e(s).on(h,"li",function(){i.deletable&&e(this).addClass("selected")}),e(s).on("singletap",".move-up",function(){var t=e(this).closest("li");if(!t.is("li:first-child")){e(s).data("list-edit",!0);var i=e(this).closest("li").clone();t.prev().before(i),t.remove()}}),e(s).on("singletap",".move-down",function(){var t=e(this).closest("li");if(!t.is("li:last-child")){e(s).data("list-edit",!0);var i=e(this).closest("li").clone();t.next().after(i),t.remove()}}),e(s).on("singletap",".delete",function(){var t=this;e(s).data("list-edit",!0);var i="-1000%";"rtl"===e("html").attr("dir")&&(i="1000%"),e(this).siblings().css({"-webkit-transform":"translate3d("+i+",0,0)","-webkit-transition":"all 1s ease-out"}),setTimeout(function(){e(t).parent().remove()},500)})})};return f(i.callback,e(this),o)}}}),e.fn.extend({UISelectList:function(t){var i=t&&t.name?t.name:e.Uuid(),s=this[0];s.classList.add("select"),e(s).find("li").forEach(function(s,n){var a=null!==s.getAttribute("data-select-value")?s.getAttribute("data-select-value"):"";s.setAttribute("role","radio"),e(s).removeClass("selected").find("input").removeAttr("checked"),t&&t.selected===n?(s.setAttribute("aria-checked","true"),s.classList.add("selected"),e(s).find("input")[0]?e(s).find("input").prop("checked",!0).attr("value",a):e(s).append('<input type="radio" checked="checked" name="'+i+'" value="'+a+'">')):e(s).find("input")[0]||e(s).append('<input type="radio" name="'+i+'" value="'+a+'">')}),e(s).on("singletap","li",function(){var i=this;e(i).siblings("li").removeClass("selected"),e(i).siblings("li").removeAttr("aria-checked"),e(i).siblings("li").find("input").removeAttr("checked"),e(i).addClass("selected"),i.setAttribute("aria-checked",!0),e(i).find("input").prop("checked",!0),t&&t.callback&&t.callback.apply(this,arguments)})}}),e.extend({UISheet:function(t){var i=e.Uuid(),s="",n="";t&&(i=t.id?t.id:i,s=t.listClass?" "+t.listClass:"",n=' style="background-color:'+t.background+';" '||"");var a='<div id="'+i+'" class="sheet'+s+'"><div class="handle"></div><section class="scroller-vertical"></section></div>';e("body").append(a),e(".sheet .handle").on(e.eventStart,function(){e.UIHideSheet()})},UIShowSheet:function(){e("article.current").addClass("blurred"),e.isAndroid||e.isChrome?(e(".sheet").css("display","block"),setTimeout(function(){e(".sheet").addClass("opened")},20)):e(".sheet").addClass("opened")},UIHideSheet:function(){e(".sheet").removeClass("opened"),e("article.current").addClass("removeBlurSlow"),setTimeout(function(){e("article").removeClass("blurred"),e("article").removeClass("removeBlurSlow")},500)}}),e.extend({UISlideout:function(t){var i,s,n=e.noop;i=t&&t.position?t.position:"left",s=t&&t.dynamic?t.dynamic:!1,t&&t.callback&&(n=t.callback);var a=e("<a class='button slide-out-button' href='javascript:void(null)'></a>"),o='<div class="slide-out"><section></section></div>';e("article").removeClass("next"),e("article").removeClass("current"),e("article").prev().removeClass("next"),e("article").prev().removeClass("current"),e("body").append(o),e("body").addClass("slide-out-app"),e("article:first-of-type").addClass("show"),e("article:first-of-type").prev().addClass("show"),e("#global-nav").append(a),e(".slide-out-button").on(e.eventStart,function(){e(".slide-out").toggleClass("open")}),s?e(".slide-out").on("singletap","li",function(){n(this)}):e(".slide-out").on("singletap","li",function(){var t="#"+e(this).attr("data-show-article");e.UINavigationHistory[0]=t,e.UISetHashOnUrl(t),e.publish("chui/navigate/leave",e("article.show")[0].id),e.publish("chui/navigate/enter",t),e(".slide-out").removeClass("open"),e("article").removeClass("show"),e("article").prev().removeClass("show"),e(t).addClass("show"),e(t).prev().addClass("show")})}}),e.extend(e.UISlideout,{populate:function(t){var i=e(".slide-out");if(i[0]&&e.isArray(t)){i.find("section").append('<ul class="list"></ul>');var s=i.find("ul");t.forEach(function(e){for(var t in e)s.append("header"===t?'<li class="slideout-header"><h2>'+e[t]+"</h2></li>":'<li data-show-article="'+t+'"><h3>'+e[t]+"</h3></li>")})}}}),e.fn.extend({UIStepper:function(t){if(!t)return[];if(!t.start)return[];if(!t.end)return[];var i=e(this),s=t.start,n=t.end,a=t.defaultValue?t.defaultValue:t.start,o="+",r="-";e.isWin&&(o="",r="");var l='<a href="javascript:void(null)" class="button decrease">'+r+"</a>",c="<label>"+a+'</label><input type="text" value="'+a+'">',d='<a href="javascript:void(null)" class="button increase">'+o+"</a>";i.append(l+c+d),i.data("ui-value",{start:s,end:n,defaultValue:a});var u=function(){var t,s=i.find("input").val(),n=i.data("ui-value"),a=n.start;a>=s?e(this).addClass("disabled"):(t=Number(s)-1,i.find(".button:last-of-type").removeClass("disabled"),i.find("label").text(t),i.find("input")[0].value=t,s===a&&e(this).addClass("disabled"))},h=function(){var t,s=i.find("input").val(),n=i.data("ui-value"),a=n.end;s>=a?e(this).addClass("disabled"):(t=Number(s)+1,i.find(".button:first-of-type").removeClass("disabled"),i.find("label").text(t),i.find("input")[0].value=t,s===a&&e(this).addClass("disabled"))};i.find(".button:first-of-type").on("singletap",function(){u.call(this,i)}),i.find(".button:last-of-type").on("singletap",function(){h.call(this,i)})}}),e.extend({UIResetStepper:function(e){var t=e.data("ui-value").defaultValue;e.find("label").html(t),e.find("input")[0].value=t}}),e.fn.extend({UISwitch:function(){var t=!1;this.forEach(function(i){i.setAttribute("role","checkbox"),e(i).data("ui-setup")!==!0&&(i.querySelector("input")||i.insertAdjacentHTML("afterBegin",'<input type="checkbox">'),i.classList.contains("on")&&i.querySelector("input").setAttribute("checked","checked"),i.querySelector("em")&&(t=!0),t||i.insertAdjacentHTML("afterBegin","<em></em>"),e(i).on("singletap",function(){var e=i.querySelector("input");i.classList.contains("on")?(i.classList.remove("on"),i.removeAttribute("aria-checked"),e.removeAttribute("checked")):(i.classList.add("on"),e.setAttribute("checked","checked"),i.setAttribute("aria-checked",!0))}),e(i).on("swipeleft",function(){var e=i.querySelector("input");i.classList.contains("on")&&(i.classList.remove("on"),i.removeAttribute("aria-checked"),e.removeAttribute("checked"))}),e(i).on("swiperight",function(){var e=i.querySelector("input");i.classList.contains("on")||(i.classList.add("on"),e.setAttribute("checked","checked"),i.setAttribute("aria-checked",!0))}),e(i).data("ui-setup",!0))})}}),e.extend({UICreateSwitch:function(t){var i=t?t.id:e.Uuid(),s=t&&t.name?' name="'+t.name+'"':"",n=t&&t.value?' value="'+t.value+'"':"",a=t&&"on"===t.state?" "+t.state:"",o=t&&"on"===t.state?' checked="checked"':"",r=e.concat('<span class="switch',a,'" id="',i,'"><em></em>','<input type="checkbox"',s,o,n,"></span>");return e(r)}}),e(function(){e(".switch").UISwitch()}),document.addEventListener("touchstart",function(e){var t=e.target,i=0;for(i=0;10>i;i+=1)null!==t&&(void 0!==t.className&&t.className.match("navigable")&&(0===t.scrollTop?t.scrollTop=1:t.scrollTop+t.offsetHeight===t.scrollHeight&&(t.scrollTop=t.scrollTop-1)),t=t.parentNode)}),e.extend({UITabbar:function(t){if(t){var i={id:e.Uuid(),selected:0};e.extend(i,t),e("body").addClass("hasTabBar"),e.isiOS6&&e("body").addClass("isiOS6");
9
+ for(var s='<div class="tabbar" id="'+i.id+'">',n=e.isiOS||e.isSafari?'<span class="icon"></span>':"",a=e("article"),o=0;o<i.tabs;o++)s+='<a class="button '+i.icons[o],i.selected===o+1&&(s+=" selected"),s+='">'+n+"<label>"+i.labels[o]+"</label></a>";s+="</div>",e("body").append(s),e("#"+i.id).find(".button").each(function(t,i){e(i).data("history",["#"+a.eq(t)[0].id])}),e("nav").removeClass("current").addClass("next"),e("#global-nav").removeClass("next"),e("nav").eq(i.selected).removeClass("next").addClass("current"),e("article").removeClass("current").addClass("next"),e("article").eq(i.selected-1).removeClass("next").addClass("current"),e(".tabbar").on("singletap",".button",function(){var t,i,s=this;e.publish("chui/navigate/leave",e("article.current")[0].id),e(this).siblings(".selected").data("history",e.UINavigationHistory),s.classList.add("selected"),e(s).siblings("a").removeClass("selected"),t=e(this).index(),e("article.previous").removeClass("previous").addClass("next"),e("nav.previous").removeClass("previous").addClass("next");var n=e(this).data("history");if(n.length>1){e("article.current").removeClass("current").addClass("next"),e("nav.current").removeClass("current").addClass("next"),e(n[n.length-1]).removeClass("next").addClass("current"),e(n[n.length-1]).prev().removeClass("next").addClass("current");for(var a=n.length-1,o=0;a>o;o++)e(n[o]).removeClass("next").addClass("previous"),e(n[o]).prev().removeClass("next").addClass("previous")}else e("article.current").removeClass("current").addClass("next"),e("nav.current").removeClass("current").addClass("next"),e("article").eq(t).removeClass("next").addClass("current"),e("nav").eq(t+1).removeClass("next").addClass("current");i=e("article").eq(t)[0].id,e.publish("chui/navigate/enter",i),e("article").forEach(function(t){window.jQuery?e(t).scrollTop(0):window.$chocolatechipjs&&(t.scrollTop=0)}),e.UISetHashOnUrl("#"+i),e.UINavigationHistory=e(this).data("history")})}}}),e.extend({templates:{},template:function(e,t){var i;t=t||"data",i=/\[\[=([\s\S]+?)\]\]/g;var s=new Function(t,"var p=[];p.push('"+e.replace(/[\r\t\n]/g," ").split("'").join("\\'").replace(i,"',$1,'").split("[[").join("');").split("]]").join("p.push('")+"');return p.join('');");return s}}),e.extend({UISearch:function(t){var i=t&&t.articleId||e("article").eq(0),s=t&&t.id||e.Uuid(),n=t&&t.placeholder||"search",a=t&&t.results||1,o='<div class="searchBar"><input placeholder="'+n+'" type="search" results="'+a+'" id="'+s+'"></div>';e(i).find("section").prepend(o),e.isWin&&(e(i).prev().append(o),e("#"+s).parent().append('<span class="searchGlyph">&#xe11A;</span>'))}}),e(function(){var t=function(){function t(e){return""===s?e:(e=e.charAt(0).toUpperCase()+e.substr(1),s+e)}var i=document.createElement("div").style,s=function(){for(var e,t="t,webkitT".split(","),s=t.length,n=0;s>n;n++)if(e=t[n]+"ransform",e in i)return t[n].substr(0,t[n].length-1);return!1}(),n=s?"-"+s.toLowerCase()+"-":"",a=t("transform"),o=t("transitionDuration"),r="ontouchstart"in window,l=e.eventStart,c=e.eventMove,d=e.eventEnd,u=e.eventCancel,h=function(){if(s===!1)return!1;var e={"":"transitionend",webkit:"webkitTransitionEnd"};return e[s]}(),p=function(t){if(t){var i,s,a;this.carouselContainer="string"==typeof t.target?document.querySelector(t.target):t.target,this.options={panels:t.panels||3,snapThreshold:null,loop:t.loop||!0},e.isRTL&&(t.loop=!0);for(var o in t)this.options[o]=t[o];this.carouselContainer.style.overflow="hidden",this.carouselContainer.style.position="relative",this.carouselPanels=[],i=document.createElement("ul"),i.className="carousel-track",i.style.cssText="position:relative;top:0;height:100%;width:100%;"+n+"transition-duration:0;"+n+"transform:translateZ(0);"+n+"transition-timing-function:ease-out",this.carouselContainer.appendChild(i),this.track=i,this.refreshSize();for(var r,u=-1;2>u;u++)s=document.createElement("li"),s.id="carousel-panel-"+(u+1),s.style.cssText=n+"transform:translateZ(0);position:absolute;top:0;height:100%;width:100%;left:"+100*u+"%",r=-1===u?this.options.panels-1:u,e(s).data("upcomingPanelIndex",r),this.options.loop||-1!==u||(s.style.visibility="hidden"),this.track.appendChild(s),this.carouselPanels.push(s);a=this.carouselPanels[1].className,this.carouselPanels[1].className=a?a+" carousel-panel-active":"carousel-panel-active",this.carouselContainer.addEventListener(l,this,!1),this.carouselContainer.addEventListener(c,this,!1),this.carouselContainer.addEventListener(d,this,!1),this.track.addEventListener(h,this,!1);var p;if(t.pagination){p=document.createElement("ul"),p.className="pagination";for(var v=0;v<this.options.panels.length;v++)s=document.createElement("li"),0===v&&(s.className="selected"),p.appendChild(s);window.$chocolatechipjs?this.carouselContainer.insertAdjacentElement("afterEnd",p):e(this.carouselContainer).after(p)}}};return p.prototype={currentPanel:1,x:0,panel:0,customEvents:[],onSlide:function(e){this.carouselContainer.addEventListener("carousel-panel-move",e,!1),this.customEvents.push(["move",e])},destroy:function(){for(;this.customEvents.length;)this.carouselContainer.removeEventListener("carousel-panel-"+this.customEvents[0][0],this.customEvents[0][1],!1),this.customEvents.shift();this.carouselContainer.removeEventListener(l,this,!1),this.carouselContainer.removeEventListener(c,this,!1),this.carouselContainer.removeEventListener(d,this,!1),this.track.removeEventListener(h,this,!1)},refreshSize:function(){this.carouselContainerWidth=this.carouselContainer.clientWidth,this.carouselContainerHeight=this.carouselContainer.clientHeight,this.panelWidth=this.carouselContainerWidth,this.maxX=-this.options.panels*this.panelWidth+this.carouselContainerWidth,this.snapThreshold=null===this.options.snapThreshold?Math.round(.15*this.panelWidth):/%/.test(this.options.snapThreshold)?Math.round(this.panelWidth*this.options.snapThreshold.replace("%","")/100):this.options.snapThreshold},updatePanelCount:function(e){this.options.panels=e,this.maxX=-this.options.panels*this.panelWidth+this.carouselContainerWidth},goToPanel:function(t){this.carouselPanels[this.currentPanel].className=this.carouselPanels[this.currentPanel].className.replace(/(^|\s)carousel-panel-active(\s|$)/,""),t=0>t?0:t>this.options.panels-1?this.options.panels-1:t,console.log("p: ",t),this.panel=t,this.track.style[o]="0s",this.getPosition(-t*this.panelWidth),this.currentPanel=this.panel+1-3*Math.floor((this.panel+1)/3),this.carouselPanels[this.currentPanel].className=this.carouselPanels[this.currentPanel].className+" carousel-panel-active",0===this.currentPanel?(this.carouselPanels[2].style.left=100*this.panel-100+"%",this.carouselPanels[0].style.left=100*this.panel+"%",this.carouselPanels[1].style.left=100*this.panel+100+"%",e(this.carouselPanels[2]).data("upcomingPanelIndex",0===this.panel?this.options.panels-1:this.panel-1),e(this.carouselPanels[0]).data("upcomingPanelIndex",this.panel),e(this.carouselPanels[1]).data("upcomingPanelIndex",this.panel===this.options.panels-1?0:this.panel+1)):1===this.currentPanel?(this.carouselPanels[0].style.left=100*this.panel-100+"%",this.carouselPanels[1].style.left=100*this.panel+"%",this.carouselPanels[2].style.left=100*this.panel+100+"%",e(this.carouselPanels[0]).data("upcomingPanelIndex",0===this.panel?this.options.panels-1:this.panel-1),e(this.carouselPanels[1]).data("upcomingPanelIndex",this.panel),e(this.carouselPanels[2]).data("upcomingPanelIndex",this.panel===this.options.panels-1?0:this.panel+1)):(this.carouselPanels[1].style.left=100*this.panel-100+"%",this.carouselPanels[2].style.left=100*this.panel+"%",this.carouselPanels[0].style.left=100*this.panel+100+"%",e(this.carouselPanels[1]).data("upcomingPanelIndex",0===this.panel?this.options.panels-1:this.panel-1),e(this.carouselPanels[2]).data("upcomingPanelIndex",this.panel),e(this.carouselPanels[0]).data("upcomingPanelIndex",this.panel===this.options.panels-1?0:this.panel+1)),this.slide()},handleEvent:function(e){switch(e.type){case l:this.start(e);break;case c:this.move(e);break;case u:case d:this.end(e)}},getPosition:function(e){this.x=e,this.track.style[a]="translate("+e+"px,0) translateZ(0)"},resize:function(){this.refreshSize(),this.track.style[o]="0s",this.getPosition(-this.panel*this.panelWidth)},start:function(e){if(!this.initiated){var t=r?e.touches[0]:e;this.initiated=!0,this.moved=!1,this.thresholdExceeded=!1,this.startX=t.pageX,this.startY=t.pageY,this.pointX=t.pageX,this.pointY=t.pageY,this.stepsX=0,this.stepsY=0,this.directionX=0,this.directionLocked=!1,this.track.style[o]="0s",this.event("touchstart")}},move:function(e){if(this.initiated){{var t=r?e.touches[0]:e,i=t.pageX-this.pointX,s=t.pageY-this.pointY,n=this.x+i;Math.abs(t.pageX-this.startX)}if(this.moved=!0,this.pointX=t.pageX,this.pointY=t.pageY,this.directionX=i>0?1:0>i?-1:0,this.stepsX+=Math.abs(i),this.stepsY+=Math.abs(s),!(this.stepsX<10&&this.stepsY<10)){if(!this.directionLocked&&this.stepsY>this.stepsX)return void(this.initiated=!1);e.preventDefault(),this.directionLocked=!0,!this.options.loop&&(n>0||n<this.maxX)&&(n=this.x+i/2),this.getPosition(n)}}},end:function(e){if(this.initiated){var t=r?e.changedTouches[0]:e,i=Math.abs(t.pageX-this.startX);if(this.initiated=!1,this.moved)return!this.options.loop&&(this.x>0||this.x<this.maxX)&&(i=0),i<this.snapThreshold?(this.track.style[o]=Math.floor(300*i/this.snapThreshold)+"ms",void this.getPosition(-this.panel*this.panelWidth)):void this.checkPosition()}},checkPosition:function(){var t,i,s;this.carouselPanels[this.currentPanel].className="",this.directionX>0?(this.panel=-Math.ceil(this.x/this.panelWidth),this.currentPanel=this.panel+1-3*Math.floor((this.panel+1)/3),t=this.currentPanel-1,t=0>t?2:t,this.carouselPanels[t].style.left=100*this.panel-100+"%",i=this.panel-1):(this.panel=-Math.floor(this.x/this.panelWidth),this.currentPanel=this.panel+1-3*Math.floor((this.panel+1)/3),t=this.currentPanel+1,t=t>2?0:t,this.carouselPanels[t].style.left=100*this.panel+100+"%",i=this.panel+1),s=this.carouselPanels[this.currentPanel].className,/(^|\s)carousel-panel-active(\s|$)/.test(s)||(this.carouselPanels[this.currentPanel].className=s?s+" carousel-panel-active":"carousel-panel-active"),s=this.carouselPanels[t].className,i-=Math.floor(i/this.options.panels)*this.options.panels,e(this.carouselPanels[t]).data("upcomingPanelIndex",i);var n=-this.panel*this.panelWidth;this.track.style[o]=Math.floor(500*Math.abs(this.x-n)/this.panelWidth)+"ms",this.options.loop||(this.carouselPanels[t].style.visibility=0===n||n===this.maxX?"hidden":""),this.x===n?this.slide():(this.getPosition(n),this.slide())},slide:function(){this.event("move")},event:function(e){var t=document.createEvent("Event");t.initEvent("carousel-panel-"+e,!0,!0),this.carouselContainer.dispatchEvent(t)}},p}();e.extend({UISetupCarousel:function(i){function s(e){var t=e.shift(0);return e.reverse(),e.unshift(t),e}if(i){i.loop=i.loop||!1;var n=new t({target:i.target,panels:i.panels.length,loop:i.loop,pagination:i.pagination});e(i.target).data("carousel",n),e.isRTL&&(i.panels=s(i.panels));for(var a,o=0;3>o;o++)a=0===o?i.panels.length-1:o-1,n.carouselPanels[o].innerHTML=i.panels[Number(a)];var r=0,l=e(i.target).next(".pagination");n.onSlide(function(){for(var t=0;3>t;t++){var s=e(n.carouselPanels[t]).data("upcomingPanelIndex");n.carouselPanels[t].innerHTML=i.panels[Number(s)]}r=e(".carousel-panel-active").data("upcomingPanelIndex"),l.find("li").removeClass("selected"),e.isRTL?(l.find("li").removeClass("selected"),1>r?l.find("li").eq(0).addClass("selected"):l.find("li").eq(i.panels.length-r).addClass("selected")):l.find("li").eq(r).addClass("selected")}),e(i.target).on("mousedown","img",function(){return!1});var c=e(i.target).css("width");l.css("width",c),l.on("click","li",function(){e(this).siblings("li").removeClass("selected"),e(this).addClass("selected");var t=0;if(e.isRTL){var i=e(this).parent().children("li").length;0===e(this).index()?n.goToPanel(0):(t=i-e(this).index(),n.goToPanel(t)),e(this).siblings("li").removeClass("selected"),e(this).addClass("selected")}else n.goToPanel(0===e(this).index()?0:e(this).index())})}}})}),e.fn.extend({UIRange:function(){if(!e.isWin&&"INPUT"===this[0].nodeName){var t,i=e(this),s=i.width(),n=(i.val()-i.attr("min"))/(i.attr("max")-i.attr("min")),a=-1.3;0>n?t=0:n>1?t=s:(t=s*n+a,a-=n),i.css({"background-size":Math.round(t)+"px 10px"})}}}),e(function(){e("input[type=range]").forEach(function(t){e(t).UIRange()}),e("body").on("input","input[type=range]",function(){e(this).UIRange()})}),e.extend({UISelectBox:function(){if(!e.isDesktop&&e.isiOS)e(".select-box-label").forEach(function(t){var i=e(t),s=i.prev();s[0].id||s.attr("id",e.Uuid()),s.trigger("singletap"),i.text(s.val()),i.attr("for",s.attr("id"))}),e(".select-box select").on("change",function(){e(this).next().text(e(this).val())});else if(!e.isDesktop){var t=function(e){var t;t=document.createEvent("MouseEvents"),t.initMouseEvent("mousedown",!0,!0,window),e.dispatchEvent(t)};e.isDesktop||(e(".select-box-label").forEach(function(t){t.id||e(t).prev().attr("id",e.Uuid());var i=e(t).siblings("select").val();e(t).text(i)}),e(".select-box select").on("change",function(){var t=e(this).find("option:selected").text(),i=e(this);i.next("label").text(e(this).val()),i.siblings("label").text(t)}),e("body").on("singletap",".select-box-label",function(){t(e("select")[0])}))}}}),e(function(){e.UISelectBox()}),e.fn.extend({UIHorizontalScrollPanel:function(){return this.each(function(){var t=e(this).find("ul"),i=0;t.find("li").each(function(t,s){i+=parseInt(e(s).outerWidth(!0))});var s=parseInt(e(this).css("padding-left"))+parseInt(e(this).css("padding-right"));t.css("width",i+(s+s/2))})}}),e.extend(e,{UIBindData:function(){var t=e("[data-controller]"),i=[],s=function(t){var s="data-binding-"+e(t).attr("data-controller");i.push(s)};t.each(function(t,n){var a=e(n).attr("data-controller");s(n),e.subscribe(i[t],function(t,i){var s="[data-model="+a+"]";e(s).text(i)})}),e("body").on("input change","[data-controller]",function(){var t="data-binding-"+e(this).attr("data-controller");e.publish(t,e(this).val())})}})}(window.CHUIJSLIB);
@@ -0,0 +1,2970 @@
1
+ /*
2
+ pO\
3
+ 6 /\
4
+ /OO\
5
+ /OOOO\
6
+ /OOOOOO\
7
+ (OOOOOOOO)
8
+ \:~==~:/
9
+
10
+ ChocolateChip-UI
11
+ ChUI-Android.css
12
+ Copyright 2014 Sourcebits www.sourcebits.com
13
+ License: MIT
14
+ Version: 3.7.0
15
+ */
16
+ /*
17
+ To create a custom theme, adjust the color for @primaryColor. If you want a secondary color, uncomment the line for @secondaryColor and set it's value to what you want.
18
+ */
19
+ .attentionGrapper {
20
+ color: #007aff !important;
21
+ }
22
+ /*
23
+ Flex parameters:
24
+ #flex > .display(<flex> | <inline-flex>);
25
+ #flex > .flex-direction(row | row-reverse | column | column-reverse);
26
+ #flex > .justify-content(flex-start | flex-end | center | space-between | space-around);
27
+ #flex > .align-content(flex-start | flex-end | center | space-between | space-around | stretch);
28
+ #fkex > .flex(none | [ <flex-grow> <flex-shrink> | <flex-basis> ]);
29
+ */
30
+ /* ==============================
31
+ Body
32
+ =========================== */
33
+ html,
34
+ body {
35
+ padding: 0;
36
+ margin: 0;
37
+ position: absolute;
38
+ top: 0;
39
+ right: 0;
40
+ bottom: 0;
41
+ left: 0;
42
+ overflow: hidden;
43
+ -webkit-font-smoothing: subpixel-antialiased;
44
+ }
45
+ body {
46
+ /* Change background color for your app: */
47
+ background-color: #fafafa;
48
+ font: 100 14px/18px Roboto, SegoeWP, HelveticaNeue, Sans-serif;
49
+ -webkit-user-select: none;
50
+ -webkit-tap-highlight-color: transparent;
51
+ }
52
+ /* ==============================
53
+ Article (view) styles
54
+ =========================== */
55
+ article {
56
+ position: absolute;
57
+ top: 52px;
58
+ right: 0;
59
+ bottom: 0;
60
+ left: 0;
61
+ padding-top: 1px;
62
+ -webkit-transition: all 0.15s ease-out;
63
+ -moz-transition: all 0.15s ease-out;
64
+ transition: all 0.15s ease-out;
65
+ overflow-x: hidden;
66
+ overflow-y: auto;
67
+ -webkit-overflow-scrolling: touch;
68
+ display: -moz-box;
69
+ display: flex;
70
+ display: -webkit-flex;
71
+ display: -webkit-box;
72
+ -webkit-box-orient: vertical;
73
+ -moz-box-orient: vertical;
74
+ -webkit-flex-direction: column;
75
+ flex-direction: column;
76
+ -moz-box-pack: center;
77
+ -webkit-justify-content: center;
78
+ justify-content: center;
79
+ -webkit-box-align: start;
80
+ -moz-box-align: start;
81
+ -webkit-align-items: flex-start;
82
+ align-items: flex-start;
83
+ }
84
+ .hide-navbars article {
85
+ top: 0;
86
+ }
87
+ /* ==============================
88
+ Article navigation states
89
+ =========================== */
90
+ .current {
91
+ -webkit-transform: translate3d(0, 0, 0);
92
+ -moz-transform: translate3d(0, 0, 0);
93
+ transform: translate3d(0, 0, 0);
94
+ visibility: visible;
95
+ }
96
+ .next {
97
+ -webkit-transform: translate3d(105%, 0, 0);
98
+ -moz-transform: translate3d(105%, 0, 0);
99
+ transform: translate3d(105%, 0, 0);
100
+ visibility: hidden;
101
+ }
102
+ .previous {
103
+ -webkit-transform: translate3d(-100%, 0, 0);
104
+ -moz-transform: translate3d(-100%, 0, 0);
105
+ transform: translate3d(-100%, 0, 0);
106
+ visibility: hidden;
107
+ }
108
+ html[dir=rtl] .current {
109
+ -webkit-transform: translate3d(0, 0, 0);
110
+ -moz-transform: translate3d(0, 0, 0);
111
+ transform: translate3d(0, 0, 0);
112
+ }
113
+ html[dir=rtl] .next {
114
+ -webkit-transform: translate3d(-100%, 0, 0);
115
+ -moz-transform: translate3d(-100%, 0, 0);
116
+ transform: translate3d(-100%, 0, 0);
117
+ }
118
+ html[dir=rtl] .previous {
119
+ -webkit-transform: translate3d(105%, 0, 0);
120
+ -moz-transform: translate3d(105%, 0, 0);
121
+ transform: translate3d(105%, 0, 0);
122
+ }
123
+ /* ==============================
124
+ Scrollers
125
+ =========================== */
126
+ .scroller-vertical,
127
+ .scroller-horizontal {
128
+ -webkit-box-flex: 1 !important;
129
+ -moz-box-flex: 1 !important;
130
+ -webkit-flex: 1 !important;
131
+ flex: 1 !important;
132
+ padding-bottom: 100px;
133
+ overflow-x: hidden;
134
+ overflow-y: auto;
135
+ -webkit-overflow-scrolling: touch;
136
+ }
137
+ .scroller-horizontal {
138
+ overflow-y: hidden;
139
+ overflow-x: auto;
140
+ }
141
+ article > section,
142
+ .scroller-vertical {
143
+ padding-top: 10px;
144
+ padding-bottom: 100px;
145
+ min-height: 100%;
146
+ width: 100%;
147
+ }
148
+ article > section > :last-child::after,
149
+ .scroller-vertical > :last-child::after {
150
+ margin-bottom: 100px;
151
+ }
152
+ /* ==============================
153
+ Horizontal Panels
154
+ =========================== */
155
+ .vertical,
156
+ li.comp > aside.vertical {
157
+ display: -moz-box;
158
+ display: flex;
159
+ display: -webkit-flex;
160
+ display: -webkit-box;
161
+ -webkit-box-orient: vertical;
162
+ -moz-box-orient: vertical;
163
+ -webkit-flex-direction: column;
164
+ flex-direction: column;
165
+ -moz-box-pack: start;
166
+ -webkit-justify-content: start;
167
+ justify-content: flex-start;
168
+ -webkit-box-align: start;
169
+ -moz-box-align: start;
170
+ -webkit-align-items: flex-start;
171
+ align-items: flex-start;
172
+ }
173
+ .horizontal {
174
+ display: -moz-box;
175
+ display: flex;
176
+ display: -webkit-flex;
177
+ display: -webkit-box;
178
+ -webkit-box-orient: horizontal;
179
+ -moz-box-orient: horizontal;
180
+ -webkit-flex-direction: row;
181
+ flex-direction: row;
182
+ -moz-box-pack: start;
183
+ -webkit-justify-content: start;
184
+ justify-content: flex-start;
185
+ -webkit-box-align: start;
186
+ -moz-box-align: start;
187
+ -webkit-align-items: flex-start;
188
+ align-items: flex-start;
189
+ }
190
+ .horizontal.centered {
191
+ -webkit-box-orient: horizontal;
192
+ -moz-box-orient: horizontal;
193
+ -webkit-flex-direction: row;
194
+ flex-direction: row;
195
+ -moz-box-pack: center;
196
+ -webkit-justify-content: center;
197
+ justify-content: center;
198
+ -webkit-box-align: start;
199
+ -moz-box-align: start;
200
+ -webkit-align-items: flex-start;
201
+ align-items: flex-start;
202
+ }
203
+ /* ==============================
204
+ Buttons
205
+ =========================== */
206
+ @-webkit-keyframes animate-icon {
207
+ 0% {
208
+ box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.25);
209
+ }
210
+ 65% {
211
+ box-shadow: inset 0 0 5px 30px rgba(255, 255, 255, 0.25);
212
+ }
213
+ 100% {
214
+ box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.25);
215
+ }
216
+ }
217
+ @-webkit-keyframes focused {
218
+ 0% {
219
+ background-size: 0% 0%;
220
+ }
221
+ 100% {
222
+ background-size: 300% 200%;
223
+ }
224
+ }
225
+ .align-flush {
226
+ position: absolute;
227
+ top: auto;
228
+ bottom: auto;
229
+ right: 10px;
230
+ left: auto;
231
+ }
232
+ a.button {
233
+ box-shadow: none;
234
+ border: none;
235
+ color: #2d2d2d;
236
+ display: -webkit-inline-box;
237
+ display: -webkit-inline-flex;
238
+ display: inline-flex;
239
+ -webkit-box-orient: horizontal;
240
+ -moz-box-orient: horizontal;
241
+ -webkit-flex-direction: row;
242
+ flex-direction: row;
243
+ -moz-box-pack: center;
244
+ -webkit-justify-content: center;
245
+ justify-content: center;
246
+ -webkit-box-align: center;
247
+ -moz-box-align: center;
248
+ -webkit-align-items: center;
249
+ align-items: center;
250
+ font-size: 12px;
251
+ height: 40px;
252
+ -webkit-box-sizing: border-box;
253
+ -moz-box-sizing: border-box;
254
+ box-sizing: border-box;
255
+ -webkit-tap-highlight-color: transparent;
256
+ -webkit-user-select: none;
257
+ margin: 0px 10px;
258
+ position: relative;
259
+ cursor: pointer;
260
+ text-align: center;
261
+ text-decoration: none;
262
+ padding: 12px 20px 10px;
263
+ text-transform: uppercase;
264
+ font-family: 'Roboto Regular', HeveticaNeue, Sans-serif;
265
+ border-radius: 2px;
266
+ -webkit-transition: all 0.35s ease-out;
267
+ -moz-transition: all 0.35s ease-out;
268
+ transition: all 0.35s ease-out;
269
+ -webkit-animation-duration: 0.5s;
270
+ -webkit-animation-timing-function: ease-out;
271
+ animation-duration: 0.5s;
272
+ animation-timing-function: ease-out;
273
+ background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.125) 50%, rgba(0, 0, 0, 0) 60%);
274
+ background-size: 0 0;
275
+ background-repeat: no-repeat;
276
+ background-position: center center;
277
+ -webkit-animation-fill-mode: forwards;
278
+ }
279
+ a.button:hover {
280
+ -webkit-animation-name: focused;
281
+ animation-name: focused;
282
+ }
283
+ a.button.no-border {
284
+ border: none !important;
285
+ }
286
+ a.button.action {
287
+ color: #2d2d2d;
288
+ background-color: #e0e0e0;
289
+ margin: 0 auto;
290
+ width: auto;
291
+ height: 40px;
292
+ min-width: 200px;
293
+ max-width: 300px;
294
+ box-shadow: 0 1px 4px #666666;
295
+ }
296
+ section > a.button.action.action {
297
+ margin-left: 16px;
298
+ }
299
+ .isDesktop a.button.action:hover {
300
+ box-shadow: 0 3px 7px #666666;
301
+ background-color: #cecece;
302
+ }
303
+ a.button.back,
304
+ a.button.backTo {
305
+ text-align: left;
306
+ padding: 0 12px 0 12px !important;
307
+ margin: 0 16px 0 0;
308
+ line-height: 28px;
309
+ color: #eaeaea;
310
+ font-size: 0;
311
+ border: none;
312
+ background-color: transparent;
313
+ border-radius: 50%;
314
+ width: 40px;
315
+ height: 40px;
316
+ -webkit-transition: all 0.5s ease-out;
317
+ -moz-transition: all 0.5s ease-out;
318
+ transition: all 0.5s ease-out;
319
+ -webkit-animation-delay: .5s;
320
+ }
321
+ a.button.back::after,
322
+ a.button.backTo::after {
323
+ content: '';
324
+ display: block;
325
+ width: 40px;
326
+ height: 40px;
327
+ position: absolute;
328
+ left: 0;
329
+ top: 0;
330
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22120px%22%20height%3D%22120px%22%20viewBox%3D%220%200%20120%20120%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22BackButton%22%20stroke-linecap%3D%22square%22%20stroke%3D%22%23000000%22%20stroke-width%3D%228%22%3E%3Cg%20id%3D%22Line-2-+-Line-+-Line%22%20transform%3D%22translate%2815.000000,%2022.000000%29%22%3E%3Cpath%20d%3D%22M0.62909796,38.5%20L37.1384668,76.3699524%22%20id%3D%22Line-2%22%3E%3C/path%3E%3Cpath%20d%3D%22M89.3478261,39%20L3.2313744,39%22%20id%3D%22Line%22%3E%3C/path%3E%3Cpath%20d%3D%22M0.62909796,38.5%20L37.1384668,0.63004759%22%20id%3D%22Line%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
331
+ background-position: 50% 50%;
332
+ background-size: 90% 90%;
333
+ background-repeat: no-repeat;
334
+ }
335
+ .isDesktop a.button.back:hover,
336
+ .isDesktop a.button.backTo:hover {
337
+ background-color: rgba(0, 0, 0, 0.35) !important;
338
+ -webkit-animation: animate-icon 0.5s none;
339
+ }
340
+ .isDesktop a.button.back:hover::after,
341
+ .isDesktop a.button.backTo:hover::after {
342
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22120px%22%20height%3D%22120px%22%20viewBox%3D%220%200%20120%20120%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22BackButton%22%20stroke-linecap%3D%22square%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%228%22%3E%3Cg%20id%3D%22Line-2-+-Line-+-Line%22%20transform%3D%22translate%2815.000000,%2022.000000%29%22%3E%3Cpath%20d%3D%22M0.62909796,38.5%20L37.1384668,76.3699524%22%20id%3D%22Line-2%22%3E%3C/path%3E%3Cpath%20d%3D%22M89.3478261,39%20L3.2313744,39%22%20id%3D%22Line%22%3E%3C/path%3E%3Cpath%20d%3D%22M0.62909796,38.5%20L37.1384668,0.63004759%22%20id%3D%22Line%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
343
+ }
344
+ body.isChrome a.button.back,
345
+ body.isChrome a.button.backTo {
346
+ top: 6px;
347
+ }
348
+ body.isNativeAndroidBrowser a.button.back,
349
+ body.isNativeAndroidBrowser a.button.backTo {
350
+ top: 0;
351
+ bottom: 0;
352
+ }
353
+ body.isNativeAndroidBrowser a.button.back::after,
354
+ body.isNativeAndroidBrowser a.button.backTo::after {
355
+ top: -2px;
356
+ }
357
+ body.isNativeAndroidBrowser a.button.backTo::after {
358
+ top: 2px;
359
+ }
360
+ body.isNativeAndroidBrowser a.button.back::before {
361
+ top: 8px;
362
+ }
363
+ html[dir=rtl] a.button {
364
+ line-height: 12pt;
365
+ }
366
+ html[dir=rtl] a.button.back,
367
+ html[dir=rtl] a.button.backTo {
368
+ margin: 0 0 0 16px;
369
+ }
370
+ html[dir=rtl] a.button.back::after,
371
+ html[dir=rtl] a.button.backTo::after {
372
+ -webkit-transform: rotate(180deg);
373
+ -moz-transform: rotate(180deg);
374
+ transform: rotate(180deg);
375
+ right: auto;
376
+ }
377
+ html[dir=rtl] a.button.align-flush {
378
+ left: 10px;
379
+ right: auto;
380
+ }
381
+ /* ==============================
382
+ Nav bars
383
+ =========================== */
384
+ #global-nav {
385
+ background-color: #eaeaea;
386
+ overflow: hidden;
387
+ box-shadow: 0 1px 2px #666666;
388
+ }
389
+ nav {
390
+ height: 50px;
391
+ -webkit-box-sizing: border-box;
392
+ -moz-box-sizing: border-box;
393
+ box-sizing: border-box;
394
+ display: -moz-box;
395
+ display: -webkit-flex;
396
+ display: -webkit-box;
397
+ -webkit-box-orient: horizontal;
398
+ -moz-box-orient: horizontal;
399
+ -webkit-flex-direction: row;
400
+ flex-direction: row;
401
+ -moz-box-pack: start;
402
+ -webkit-justify-content: start;
403
+ justify-content: flex-start;
404
+ -webkit-box-align: center;
405
+ -moz-box-align: center;
406
+ -webkit-align-items: center;
407
+ align-items: center;
408
+ display: flex;
409
+ text-align: center;
410
+ position: absolute;
411
+ top: 0;
412
+ left: 0;
413
+ right: 0;
414
+ -webkit-transition: opacity 0.5s ease-in;
415
+ -moz-transition: opacity 0.5s ease-in;
416
+ transition: opacity 0.5s ease-in;
417
+ padding: 0 10px;
418
+ vertical-align: middle;
419
+ }
420
+ nav > h1 {
421
+ text-align: left;
422
+ display: inline-block;
423
+ margin: 0 16px 0 8px;
424
+ -webkit-box-flex: 1 !important;
425
+ -moz-box-flex: 1 !important;
426
+ -webkit-flex: 1 !important;
427
+ flex: 1 !important;
428
+ font: 100 16pt/36pt Roboto, SegoeWP, HelveticaNeue, Sans-serif !important;
429
+ position: relative;
430
+ z-index: -1;
431
+ white-space: nowrap;
432
+ overflow: hidden;
433
+ color: #000000;
434
+ }
435
+ nav > h1 + a.button {
436
+ margin: 5px 0 0 0;
437
+ position: absolute;
438
+ top: 0;
439
+ right: 16px;
440
+ }
441
+ nav > a.button,
442
+ nav > div > a.button {
443
+ position: relative;
444
+ color: #000000 !important;
445
+ }
446
+ nav > a.button:hover,
447
+ nav > div > a.button:hover {
448
+ background-color: rgba(0, 0, 0, 0.25) !important;
449
+ color: #000000 !important;
450
+ }
451
+ .isDesktop nav .back:hover,
452
+ .isDesktop nav .backTo:hover {
453
+ background-color: #000000 !important;
454
+ -webkit-animation: animate-icon 0.5s none;
455
+ color: #000000;
456
+ }
457
+ html[dir=rtl] nav > h1 {
458
+ text-align: right;
459
+ margin-right: 8px;
460
+ }
461
+ /* ==============================
462
+ Lists
463
+ =========================== */
464
+ .list {
465
+ list-style: none;
466
+ margin: 16px 0 0;
467
+ padding: 0;
468
+ border-top: solid 1px #cbcbcb;
469
+ border-bottom: solid 1px #cbcbcb;
470
+ background-color: #ffffff;
471
+ }
472
+ .list > li {
473
+ padding: 13px 16px 13px 16px;
474
+ -webkit-transition: all 0.3s ease-out;
475
+ -moz-transition: all 0.3s ease-out;
476
+ transition: all 0.3s ease-out;
477
+ position: relative;
478
+ background-color: #ffffff;
479
+ font-size: 12pt;
480
+ border-bottom: solid 1px #cbcbcb;
481
+ }
482
+ .list > li.nav::after {
483
+ display: block;
484
+ content: '';
485
+ width: 7px;
486
+ height: 7px;
487
+ border-right: solid 3px #666666;
488
+ border-top: solid 3px #666666;
489
+ -webkit-transform: rotate(45deg);
490
+ -moz-transform: rotate(45deg);
491
+ transform: rotate(45deg);
492
+ float: right;
493
+ position: absolute;
494
+ top: 16px;
495
+ right: 15px;
496
+ -webkit-transition: all 0.4s ease-out;
497
+ -moz-transition: all 0.4s ease-out;
498
+ transition: all 0.4s ease-out;
499
+ }
500
+ .list > li.show-detail::after {
501
+ content: 'i';
502
+ display: block;
503
+ width: 22px;
504
+ height: 20px;
505
+ border-radius: 20px;
506
+ border: solid 1px #007aff;
507
+ color: #007aff;
508
+ font: bold 14px/0 Roboto, SegoeWP, HelveticaNeue, Sans-serif;
509
+ -webkit-box-sizing: border-box;
510
+ -moz-box-sizing: border-box;
511
+ box-sizing: border-box;
512
+ padding: 10px 8px;
513
+ position: absolute;
514
+ top: 10px;
515
+ right: 16px;
516
+ }
517
+ .list + .button {
518
+ margin-top: 20px !important;
519
+ }
520
+ h2 + .list {
521
+ margin-top: 0;
522
+ }
523
+ /* ==============================
524
+ List Footer
525
+ =========================== */
526
+ p {
527
+ font-family: 'Roboto Regular', 'HeveletcaNeue', Helvetica, sans-serif;
528
+ }
529
+ .list ~ p {
530
+ margin: 10px 16px 0;
531
+ }
532
+ .list ~ p + p {
533
+ margin-top: 5pt;
534
+ }
535
+ .isDesktop .list > li[data-goto]:hover,
536
+ .list > li[data-goto].touched,
537
+ .isDesktop li[data-show-article]:hover,
538
+ li[data-show-article].touched,
539
+ .isDesktop .list.select > li:hover {
540
+ cursor: pointer;
541
+ background-color: #007aff;
542
+ }
543
+ .isDesktop .list > li[data-goto]:hover h3,
544
+ .list > li[data-goto].touched h3,
545
+ .isDesktop li[data-show-article]:hover h3,
546
+ li[data-show-article].touched h3,
547
+ .isDesktop .list.select > li:hover h3,
548
+ .isDesktop .list > li[data-goto]:hover h4,
549
+ .list > li[data-goto].touched h4,
550
+ .isDesktop li[data-show-article]:hover h4,
551
+ li[data-show-article].touched h4,
552
+ .isDesktop .list.select > li:hover h4,
553
+ .isDesktop .list > li[data-goto]:hover h5,
554
+ .list > li[data-goto].touched h5,
555
+ .isDesktop li[data-show-article]:hover h5,
556
+ li[data-show-article].touched h5,
557
+ .isDesktop .list.select > li:hover h5,
558
+ .isDesktop .list > li[data-goto]:hover p,
559
+ .list > li[data-goto].touched p,
560
+ .isDesktop li[data-show-article]:hover p,
561
+ li[data-show-article].touched p,
562
+ .isDesktop .list.select > li:hover p,
563
+ .isDesktop .list > li[data-goto]:hover div,
564
+ .list > li[data-goto].touched div,
565
+ .isDesktop li[data-show-article]:hover div,
566
+ li[data-show-article].touched div,
567
+ .isDesktop .list.select > li:hover div,
568
+ .isDesktop .list > li[data-goto]:hover span,
569
+ .list > li[data-goto].touched span,
570
+ .isDesktop li[data-show-article]:hover span,
571
+ li[data-show-article].touched span,
572
+ .isDesktop .list.select > li:hover span {
573
+ color: #ffffff;
574
+ }
575
+ .isDesktop .list > li[data-goto]:hover .nav::after,
576
+ .list > li[data-goto].touched .nav::after,
577
+ .isDesktop li[data-show-article]:hover .nav::after,
578
+ li[data-show-article].touched .nav::after,
579
+ .isDesktop .list.select > li:hover .nav::after {
580
+ border-color: #ffffff;
581
+ }
582
+ .isDesktop .list > li[data-goto].nav:hover::after {
583
+ border-color: #ffffff;
584
+ }
585
+ .isDesktop .list > li[data-goto].show-detail:hover::after,
586
+ .isDesktop .list > li[data-goto]:hover .show-detail::after {
587
+ border: solid 1px #ffffff;
588
+ color: #ffffff;
589
+ }
590
+ /* ==============================
591
+ list title & subtitle
592
+ ============================ */
593
+ .list > li {
594
+ color: #2d2d2d;
595
+ }
596
+ .list > li > h3,
597
+ .list > li > h4 {
598
+ width: 80%;
599
+ font-weight: 200;
600
+ margin: 0;
601
+ }
602
+ .list > li h3 {
603
+ font-family: 'Roboto Thin', 'HeveletcaNeue Light', Helvetica, sans-serif;
604
+ font-weight: normal;
605
+ font-size: 16pt;
606
+ line-height: 20pt;
607
+ margin-bottom: 2px;
608
+ color: #2d2d2d;
609
+ }
610
+ .list > li h4 {
611
+ font-family: 'Roboto Regular', 'HeveletcaNeue', Helvetica, sans-serif;
612
+ font-weight: normal;
613
+ line-height: 14pt;
614
+ color: #2d2d2d;
615
+ }
616
+ .list > li > h4,
617
+ .list > li > div > h4,
618
+ .list > li > p,
619
+ .list > li > div > p {
620
+ font-size: 13pt;
621
+ line-height: 16pt;
622
+ margin: 0;
623
+ }
624
+ .list > li > p,
625
+ .list > li > div > p {
626
+ font-size: 13pt;
627
+ line-height: 16pt;
628
+ }
629
+ .list > li > p + p,
630
+ .list > li > div > p + p {
631
+ margin-top: 6px;
632
+ }
633
+ .list > li + .button.action {
634
+ margin-top: 40px;
635
+ }
636
+ /* ==============================
637
+ List detail
638
+ ============================ */
639
+ .list > li > p {
640
+ margin: 6px 16px 6px 0;
641
+ font-size: 13pt;
642
+ line-height: 16pt;
643
+ color: #666666;
644
+ }
645
+ /* ==============================
646
+ List title
647
+ =========================== */
648
+ section h2 {
649
+ font: normal 11pt/12pt 'Roboto Regular', SegoeWP, HelveticaNeue, Sans-serif;
650
+ color: #4d4d4d;
651
+ margin: 26px 0 6px 0;
652
+ padding-left: 16px;
653
+ text-transform: uppercase;
654
+ white-space: nowrap;
655
+ overflow: hidden;
656
+ text-overflow: ellipsis;
657
+ padding-bottom: 6px;
658
+ }
659
+ section h2.normal-case {
660
+ text-transform: none;
661
+ }
662
+ section h2.normal-case {
663
+ text-transform: none;
664
+ }
665
+ html[dir=rtl] section h2 {
666
+ padding-right: 16px;
667
+ }
668
+ html[dir=rtl] li {
669
+ padding: 13px 16px 13px 16px;
670
+ }
671
+ html[dir=rtl] li > h3,
672
+ html[dir=rtl] li > h4 {
673
+ text-align: right;
674
+ }
675
+ html[dir=rtl] li > p {
676
+ margin-right: 0;
677
+ }
678
+ html[dir=rtl] .list > li.nav::after {
679
+ right: auto;
680
+ left: 16px;
681
+ border: none;
682
+ border-left: solid 3px #666666;
683
+ border-bottom: solid 3px #666666;
684
+ }
685
+ html[dir=rtl] li.show-detail::after {
686
+ left: 16px;
687
+ right: auto;
688
+ }
689
+ /* ==============================
690
+ Comp List Items
691
+ =========================== */
692
+ li.comp {
693
+ display: -webkit-box;
694
+ -webkit-box-orient: horizontal;
695
+ -webkit-box-align: stretch;
696
+ -display: flex;
697
+ -webkit-direction: row;
698
+ -webkit-align-items: stretch;
699
+ display: flex;
700
+ direction: row;
701
+ align-items: stretch;
702
+ padding-bottom: 0;
703
+ }
704
+ li.comp.wrap > div > h3,
705
+ li.comp.wrap > div > h4 {
706
+ white-space: wrap;
707
+ overflow: visible;
708
+ }
709
+ li.comp > div {
710
+ -webkit-box-flex: 1 !important;
711
+ -moz-box-flex: 1 !important;
712
+ -webkit-flex: 1 !important;
713
+ flex: 1 !important;
714
+ padding: 0 0 10px 0;
715
+ }
716
+ li.comp > div:first-child {
717
+ padding: 8px 0 10px 0;
718
+ min-width: 48%;
719
+ }
720
+ li.comp > div:first-child + aside > h4 {
721
+ overflow: hidden;
722
+ text-overflow: ellipsis;
723
+ white-space: nowrap;
724
+ max-width: 60%;
725
+ }
726
+ li.comp > div:first-child + aside > h4:nth-child(1) {
727
+ max-width: 100% !important;
728
+ }
729
+ li.comp > div > div > h3,
730
+ li.comp > div > div > h4 {
731
+ white-space: nowrap;
732
+ overflow: hidden;
733
+ text-overflow: ellipsis;
734
+ font-family: 'Roboto Thin', SegoeWP, HelveticaNeue, Sans-serif;
735
+ font-weight: 200;
736
+ }
737
+ li.comp > div > h3 {
738
+ font-family: 'Roboto Thin', SegoeWP, HelveticaNeue, Sans-serif;
739
+ line-height: 20pt;
740
+ margin: 0 0 10px 0;
741
+ font-weight: 200;
742
+ }
743
+ li.comp > div > h4 {
744
+ margin: 0;
745
+ }
746
+ li.comp > aside {
747
+ display: -moz-box;
748
+ display: flex;
749
+ display: -webkit-flex;
750
+ display: -webkit-box;
751
+ -webkit-box-orient: horizontal;
752
+ -moz-box-orient: horizontal;
753
+ -webkit-flex-direction: row;
754
+ flex-direction: row;
755
+ -moz-box-pack: center;
756
+ -webkit-justify-content: center;
757
+ justify-content: center;
758
+ -webkit-box-align: center;
759
+ -moz-box-align: center;
760
+ -webkit-align-items: center;
761
+ align-items: center;
762
+ padding: 0 0 10px 0;
763
+ }
764
+ li.comp > aside:first-child {
765
+ -webkit-box-align: start;
766
+ -webkit-align-items: flex-start;
767
+ align-items: flex-start;
768
+ margin-right: 10px;
769
+ padding: 0 0px 10px 0px;
770
+ }
771
+ li.comp > aside > h4 {
772
+ margin: 0;
773
+ font-weight: normal;
774
+ color: #666666;
775
+ }
776
+ li.comp > aside > label,
777
+ li.comp > aside > span {
778
+ display: inline-block;
779
+ margin-left: 6px;
780
+ }
781
+ li.comp > aside > .nav {
782
+ display: block;
783
+ width: 12px;
784
+ height: 12px;
785
+ }
786
+ li.comp > aside > .nav::after {
787
+ display: block;
788
+ content: '';
789
+ width: 7px;
790
+ height: 7px;
791
+ border-right: solid 3px #666666;
792
+ border-top: solid 3px #666666;
793
+ -webkit-transform: rotate(45deg) translate3d(2px, -2px, 0);
794
+ -moz-transform: rotate(45deg) translate3d(2px, -2px, 0);
795
+ transform: rotate(45deg) translate3d(2px, -2px, 0);
796
+ }
797
+ li.comp > aside > .show-detail {
798
+ display: inline-block;
799
+ margin-bottom: -4px;
800
+ }
801
+ li.comp > aside > .show-detail::after {
802
+ content: 'i';
803
+ display: block;
804
+ width: 22px;
805
+ height: 20px;
806
+ border-radius: 20px;
807
+ border: solid 1px #007aff;
808
+ color: #007aff;
809
+ font: bold 14px/0 Roboto, Times, serif;
810
+ -webkit-box-sizing: border-box;
811
+ -moz-box-sizing: border-box;
812
+ box-sizing: border-box;
813
+ padding: 10px 8px;
814
+ float: right;
815
+ margin: -20px 0 0 0;
816
+ }
817
+ li.comp:last-of-type > aside:last-child {
818
+ border: none;
819
+ }
820
+ p {
821
+ color: #707070;
822
+ font-size: 13pt;
823
+ line-height: 16pt;
824
+ }
825
+ html[dir=rtl] li.comp {
826
+ padding: 13px 16px 13px 16px;
827
+ }
828
+ html[dir=rtl] li.comp > aside:first-child {
829
+ margin-right: 0;
830
+ padding: 0 0 10px 10px;
831
+ }
832
+ html[dir=rtl] li.comp > aside:last-child {
833
+ margin-right: 10px;
834
+ }
835
+ html[dir=rtl] li.comp aside > span.counter,
836
+ html[dir=rtl] li.comp aside > span.date-time {
837
+ margin-right: 5px;
838
+ margin-left: 5px;
839
+ white-space: nowrap;
840
+ }
841
+ html[dir=rtl] li.comp aside > span.nav {
842
+ margin-left: 4px;
843
+ margin-right: 0;
844
+ }
845
+ html[dir=rtl] li.comp aside > span.nav::after {
846
+ right: auto;
847
+ left: 16px;
848
+ border: none;
849
+ border-left: solid 3px #666666;
850
+ border-bottom: solid 3px #666666;
851
+ }
852
+ html[dir=rtl] li.comp aside > h4 {
853
+ margin-left: 5px;
854
+ width: 90%;
855
+ }
856
+ html[dir=rtl] li.comp div > h3 + h4 {
857
+ text-align: right !important;
858
+ }
859
+ @media only screen and (max-device-width: 320px) and (orientation: portrait) {
860
+ li.comp > aside > h4 {
861
+ max-width: 100px;
862
+ white-space: nowrap;
863
+ overflow: hidden;
864
+ text-overflow: ellipsis;
865
+ }
866
+ }
867
+ @media only screen and (max-width: 480px) and (orientation: portrait) {
868
+ li.comp > div:first-child + aside > h4:nth-child(1) {
869
+ max-width: 45% !important;
870
+ flex: 1;
871
+ }
872
+ li.comp > div:first-child + aside {
873
+ -webkit-box-pack: end;
874
+ -webkit-justify-content: end;
875
+ justify-content: flex-end;
876
+ }
877
+ }
878
+ /* ==============================
879
+ Grids
880
+ =========================== */
881
+ /* Grid: */
882
+ .grid {
883
+ display: -webkit-box;
884
+ -webkit-box-orientation: horizontal;
885
+ -webkit-box-align: stretch;
886
+ display: -webkit-flex;
887
+ -webkit-flex-direction: row;
888
+ -webkit-align-items: stretch;
889
+ display: -ms-flexbox;
890
+ -ms-flex-direction: row;
891
+ -ms-align-items: stretch;
892
+ display: flex;
893
+ flex-direction: row;
894
+ align-items: stretch;
895
+ }
896
+ /* Allow columns to wrap */
897
+ .grid.wrap {
898
+ -webkit-box-wrap: wrap;
899
+ -webkit-flex-wrap: wrap;
900
+ -ms-flex-wrap: wrap;
901
+ flex-wrap: wrap;
902
+ }
903
+ /* Column: */
904
+ .col {
905
+ -webkit-box-flex: 1 1 auto;
906
+ -webkit-flex: 1 1 auto;
907
+ -ms-flex: 1 1 auto;
908
+ flex: 1 1 auto;
909
+ }
910
+ /* Centered grids: */
911
+ .grid.center {
912
+ -webkit-box-pack: center;
913
+ -webkit-justify-content: center;
914
+ -ms-justify-content: center;
915
+ justify-content: center;
916
+ }
917
+ .center .col {
918
+ -webkit-flex-grow: 0;
919
+ -webkit-flex-shrink: 0;
920
+ -ms-flex-grow: 0;
921
+ -ms-flex-shrink: 0;
922
+ flex-grow: 0;
923
+ flex-shrink: 0;
924
+ }
925
+ /* Columns: */
926
+ .flex-1 {
927
+ -webkit-flex-basis: 10%;
928
+ -ms-flex-basis: 10%;
929
+ flex-basis: 10%;
930
+ }
931
+ .flex-2 {
932
+ -webkit-flex-basis: 20%;
933
+ -ms-flex-basis: 20%;
934
+ flex-basis: 20%;
935
+ }
936
+ .flex-3 {
937
+ -webkit-flex-basis: 30%;
938
+ -ms-flex-basis: 30%;
939
+ flex-basis: 30%;
940
+ }
941
+ .flex-4 {
942
+ -webkit-flex-basis: 40%;
943
+ -ms-flex-basis: 40%;
944
+ flex-basis: 40%;
945
+ }
946
+ .flex-5 {
947
+ -webkit-flex-basis: 50%;
948
+ -ms-flex-basis: 50%;
949
+ flex-basis: 50%;
950
+ }
951
+ .flex-6 {
952
+ -webkit-flex-basis: 60%;
953
+ -ms-flex-basis: 60%;
954
+ flex-basis: 60%;
955
+ }
956
+ .flex-7 {
957
+ -webkit-flex-basis: 70%;
958
+ -ms-flex-basis: 70%;
959
+ flex-basis: 70%;
960
+ }
961
+ .flex-8 {
962
+ -webkit-flex-basis: 80%;
963
+ -ms-flex-basis: 80%;
964
+ flex-basis: 80%;
965
+ }
966
+ .flex-9 {
967
+ -webkit-flex-basis: 90%;
968
+ -ms-flex-basis: 90%;
969
+ flex-basis: 90%;
970
+ }
971
+ .flex-10 {
972
+ -webkit-flex-basis: 100%;
973
+ -ms-flex-basis: 100%;
974
+ flex-basis: 100%;
975
+ }
976
+ .gutter-5 .col {
977
+ margin: 5px;
978
+ }
979
+ .gutter-10 .col {
980
+ margin: 10px;
981
+ }
982
+ html[dir=rtl] .grid {
983
+ -webkit-box-direction: horizontal;
984
+ -webkit-flex-direction: row;
985
+ -ms-flex-direction: row;
986
+ flex-direction: row;
987
+ }
988
+ /* Mobile */
989
+ @media only screen and (max-width: 599px) {
990
+ .grid {
991
+ -webkit-box-wrap: wrap;
992
+ -webkit-flex-wrap: wrap;
993
+ -ms-flex-wrap: wrap;
994
+ flex-wrap: wrap;
995
+ -wekbit-flex-direction: vertical;
996
+ -webkit-flex-direction: column;
997
+ -ms-flex-direction: column;
998
+ flex-direction: column;
999
+ margin: 0 !important;
1000
+ }
1001
+ .col.flex-1,
1002
+ .col.flex-2,
1003
+ .col.flex-3,
1004
+ .col.flex-4 {
1005
+ -webkit-box-flex: 1 !important;
1006
+ -webkit-flex: 1 !important;
1007
+ -ms-flex: 1 !important;
1008
+ flex: 1 !important;
1009
+ -webkit-flex-basis: 50%;
1010
+ -ms-flex-basis: 50%;
1011
+ flex-basis: 50%;
1012
+ }
1013
+ .col.flex-5,
1014
+ .col.flex-6,
1015
+ .col.flex-7,
1016
+ .col.flex-8,
1017
+ .col.flex-9,
1018
+ .col.flex-10 {
1019
+ -webkit-box-flex: 2 !important;
1020
+ -webkit-flex: 2 !important;
1021
+ -ms-flex: 2 !important;
1022
+ flex: 2 !important;
1023
+ }
1024
+ .isWindows .grid,
1025
+ .isWindows .col {
1026
+ display: block;
1027
+ }
1028
+ }
1029
+ /* ==============================
1030
+ Segmented Control
1031
+ =========================== */
1032
+ .segmented:not(.paging) {
1033
+ display: -moz-box;
1034
+ display: inline-flex;
1035
+ display: -webkit-inline-flex;
1036
+ display: -webkit-box;
1037
+ -webkit-box-orient: horizontal;
1038
+ -moz-box-orient: horizontal;
1039
+ -webkit-flex-direction: row;
1040
+ flex-direction: row;
1041
+ -moz-box-pack: center;
1042
+ -webkit-justify-content: center;
1043
+ justify-content: center;
1044
+ -webkit-box-sizing: border-box;
1045
+ -moz-box-sizing: border-box;
1046
+ box-sizing: border-box;
1047
+ margin: 0px 10px;
1048
+ -webkit-box-flex: 1 !important;
1049
+ -moz-box-flex: 1 !important;
1050
+ -webkit-flex: 1 !important;
1051
+ flex: 1 !important;
1052
+ }
1053
+ .segmented:not(.paging).align-flush {
1054
+ position: absolute;
1055
+ right: 15px;
1056
+ top: 4px;
1057
+ }
1058
+ .segmented:not(.paging) > .button {
1059
+ display: -moz-box;
1060
+ display: flex;
1061
+ display: -webkit-flex;
1062
+ display: -webkit-box;
1063
+ -webkit-box-orient: vertical;
1064
+ -moz-box-orient: vertical;
1065
+ -webkit-flex-direction: column;
1066
+ flex-direction: column;
1067
+ -moz-box-pack: center;
1068
+ -webkit-justify-content: center;
1069
+ justify-content: center;
1070
+ -webkit-box-align: center;
1071
+ -moz-box-align: center;
1072
+ -webkit-align-items: center;
1073
+ align-items: center;
1074
+ border: solid 1px #979797;
1075
+ text-align: center !important;
1076
+ border-left: none;
1077
+ border-right: solid 1px #979797;
1078
+ box-shadow: none;
1079
+ font-size: 13px;
1080
+ -webkit-box-sizing: border-box;
1081
+ -moz-box-sizing: border-box;
1082
+ box-sizing: border-box;
1083
+ height: 30px;
1084
+ cursor: pointer;
1085
+ margin: 0px !important;
1086
+ padding: 6px 10px 0px !important;
1087
+ border-radius: 0;
1088
+ }
1089
+ .segmented:not(.paging) > .button:first-of-type {
1090
+ border-left: solid 1px #979797;
1091
+ border-top-left-radius: 2px;
1092
+ border-bottom-left-radius: 2px;
1093
+ }
1094
+ .segmented:not(.paging) > .button:last-of-type {
1095
+ border-top-right-radius: 2px;
1096
+ border-bottom-right-radius: 2px;
1097
+ }
1098
+ .isDesktop .segmented:not(.paging) > .button:hover,
1099
+ .segmented:not(.paging) > .button.selected {
1100
+ background-color: #007aff;
1101
+ opacity: 1 !important;
1102
+ box-shadow: none;
1103
+ color: #ffffff;
1104
+ }
1105
+ div.horizontal.centered > .segmented {
1106
+ display: -moz-box;
1107
+ display: flex;
1108
+ display: -webkit-flex;
1109
+ display: -webkit-box;
1110
+ -webkit-box-flex: 1 !important;
1111
+ -moz-box-flex: 1 !important;
1112
+ -webkit-flex: 1 !important;
1113
+ flex: 1 !important;
1114
+ margin: 10px 16px;
1115
+ width: 100%;
1116
+ }
1117
+ html[dir=rtl] .segmented.align-flush {
1118
+ left: 15px;
1119
+ right: auto;
1120
+ }
1121
+ html[dir=rtl] .segmented:not(.paging) > .button {
1122
+ border-radius: 0px;
1123
+ }
1124
+ html[dir=rtl] .segmented:not(.paging) > .button:first-child {
1125
+ border-top-right-radius: 2px;
1126
+ border-bottom-right-radius: 2px;
1127
+ border-left: none;
1128
+ }
1129
+ html[dir=rtl] .segmented:not(.paging) > .button:last-child {
1130
+ border-top-left-radius: 2px;
1131
+ border-bottom-left-radius: 2px;
1132
+ border-left: solid 1px #979797;
1133
+ }
1134
+ /* ==============================
1135
+ Segmented Paging Control
1136
+ =========================== */
1137
+ .isNativeAndroidBrowser .segmented.paging {
1138
+ top: 0px !important;
1139
+ }
1140
+ .segmented.paging > a.button {
1141
+ top: 4px;
1142
+ background: none !important;
1143
+ }
1144
+ .segmented.paging.horizontal > a.button {
1145
+ border: none !important;
1146
+ background-color: none !important;
1147
+ margin: 0 !important;
1148
+ width: 30px !important;
1149
+ height: 40px !important;
1150
+ }
1151
+ .segmented.paging.horizontal > a.button:first-of-type::before,
1152
+ html[dir=rtl] .segmented.paging.horizontal > a.button:last-of-type::before {
1153
+ content: '';
1154
+ display: block;
1155
+ width: 16px;
1156
+ height: 16px;
1157
+ border-left: solid 3px #000000;
1158
+ border-top: solid 3px #000000;
1159
+ -webkit-transform: rotate(-45deg);
1160
+ -moz-transform: rotate(-45deg);
1161
+ transform: rotate(-45deg);
1162
+ position: absolute;
1163
+ top: 10px;
1164
+ left: 14px;
1165
+ }
1166
+ .segmented.paging.horizontal > a.button:last-of-type::before,
1167
+ html[dir=rtl] .segmented.paging.horizontal > a.button:first-of-type::before {
1168
+ content: '';
1169
+ display: block;
1170
+ width: 16px;
1171
+ height: 16px;
1172
+ margin: 0 !important;
1173
+ border-right: solid 3px #000000;
1174
+ border-bottom: solid 3px #000000;
1175
+ -webkit-transform: rotate(-45deg);
1176
+ -moz-transform: rotate(-45deg);
1177
+ transform: rotate(-45deg);
1178
+ position: absolute;
1179
+ top: 10px;
1180
+ right: 16px;
1181
+ }
1182
+ html[dir=rtl] .segmented.paging.horizontal > a.button:last-of-type::before {
1183
+ border-right: none;
1184
+ border-bottom: none;
1185
+ right: 6px !important;
1186
+ left: 0px !important;
1187
+ }
1188
+ html[dir=rtl] .segmented.paging.horizontal > a.button:first-of-type::before {
1189
+ border-left: none;
1190
+ border-top: none;
1191
+ }
1192
+ .segmented.paging.vertical {
1193
+ -webkit-box-orient: horizontal;
1194
+ -moz-box-orient: horizontal;
1195
+ -webkit-flex-direction: row;
1196
+ flex-direction: row;
1197
+ }
1198
+ .segmented.paging.vertical > a.button {
1199
+ margin: 0 !important;
1200
+ background-color: none !important;
1201
+ }
1202
+ .segmented.paging.vertical > a.button:first-of-type::before {
1203
+ content: '';
1204
+ display: block;
1205
+ width: 16px;
1206
+ height: 16px;
1207
+ border-right: solid 3px #000000;
1208
+ border-bottom: solid 3px #000000;
1209
+ -webkit-transform: rotate(45deg);
1210
+ -moz-transform: rotate(45deg);
1211
+ transform: rotate(45deg);
1212
+ position: absolute;
1213
+ top: 6px;
1214
+ left: 10px;
1215
+ }
1216
+ .segmented.paging.vertical > a.button:last-of-type::before {
1217
+ content: '';
1218
+ display: block;
1219
+ width: 16px;
1220
+ height: 16px;
1221
+ border-right: solid 3px #000000;
1222
+ border-top: solid 3px #000000;
1223
+ -webkit-transform: rotate(-45deg);
1224
+ -moz-transform: rotate(-45deg);
1225
+ transform: rotate(-45deg);
1226
+ position: absolute;
1227
+ top: 17px;
1228
+ left: 10px;
1229
+ }
1230
+ article.paging > section {
1231
+ position: fixed;
1232
+ width: 100%;
1233
+ top: 0 !important;
1234
+ left: 0;
1235
+ right: 0;
1236
+ bottom: 0;
1237
+ opacity: 1;
1238
+ padding: 10px 0 40px 0 !important;
1239
+ -webkit-transition: all 0.15s ease-out;
1240
+ -moz-transition: all 0.15s ease-out;
1241
+ transition: all 0.15s ease-out;
1242
+ overflow-y: auto;
1243
+ overflow-x: hidden;
1244
+ padding-bottom: 40px;
1245
+ }
1246
+ article.paging.horizontal > section.previous {
1247
+ -webkit-transform: translate3d(-100%, 0, 0);
1248
+ -moz-transform: translate3d(-100%, 0, 0);
1249
+ transform: translate3d(-100%, 0, 0);
1250
+ }
1251
+ article.paging.horizontal > section.current {
1252
+ -webkit-transform: translate3d(0, 0, 0);
1253
+ -moz-transform: translate3d(0, 0, 0);
1254
+ transform: translate3d(0, 0, 0);
1255
+ }
1256
+ article.paging.horizontal > section.next {
1257
+ -webkit-transform: translate3d(100%, 0, 0);
1258
+ -moz-transform: translate3d(100%, 0, 0);
1259
+ transform: translate3d(100%, 0, 0);
1260
+ }
1261
+ article.paging.vertical > section.previous {
1262
+ -webkit-transform: translate3d(0, -100%, 0);
1263
+ -moz-transform: translate3d(0, -100%, 0);
1264
+ transform: translate3d(0, -100%, 0);
1265
+ }
1266
+ article.paging.vertical > section.current {
1267
+ -webkit-transform: translate3d(0, 0, 0);
1268
+ -moz-transform: translate3d(0, 0, 0);
1269
+ transform: translate3d(0, 0, 0);
1270
+ }
1271
+ article.paging.vertical > section.next {
1272
+ -webkit-transform: translate3d(0, -100%, 0);
1273
+ -moz-transform: translate3d(0, -100%, 0);
1274
+ transform: translate3d(0, -100%, 0);
1275
+ }
1276
+ html[dir=rtl] .segmented.paging.horizontal {
1277
+ -webkit-box-orient: horizontal;
1278
+ -moz-box-orient: horizontal;
1279
+ -webkit-flex-direction: row-reverse;
1280
+ flex-direction: row-reverse;
1281
+ display: -webkit-flex;
1282
+ }
1283
+ html[dir=rtl] .segmented.paging.horizontal .button:first-child {
1284
+ -webkit-box-ordinal-group: 2;
1285
+ -webkit-order: 2;
1286
+ order: 2;
1287
+ float: right;
1288
+ }
1289
+ html[dir=rtl] .segmented.paging.horizontal .button:last-child {
1290
+ -webkit-box-ordinal-group: 1;
1291
+ -webkit-order: 1;
1292
+ order: 1;
1293
+ }
1294
+ html[dir=rtl] article.paging.horizontal > section.previous {
1295
+ -webkit-transform: translate3d(100%, 0, 0);
1296
+ -moz-transform: translate3d(100%, 0, 0);
1297
+ transform: translate3d(100%, 0, 0);
1298
+ }
1299
+ html[dir=rtl] article.paging.horizontal > section.next {
1300
+ -webkit-transform: translate3d(-100%, 0, 0);
1301
+ -moz-transform: translate3d(-100%, 0, 0);
1302
+ transform: translate3d(-100%, 0, 0);
1303
+ }
1304
+ html[dir=rtl] article.paging.horizontal > section.current {
1305
+ -webkit-transform: translate3d(0, 0, 0);
1306
+ -moz-transform: translate3d(0, 0, 0);
1307
+ transform: translate3d(0, 0, 0);
1308
+ }
1309
+ /* ==============================
1310
+ Toolbar Styles
1311
+ =========================== */
1312
+ .toolbar {
1313
+ position: fixed;
1314
+ bottom: 0;
1315
+ left: 0;
1316
+ right: 0;
1317
+ height: 50px;
1318
+ padding: 0 15px;
1319
+ -webkit-box-sizing: border-box;
1320
+ -moz-box-sizing: border-box;
1321
+ box-sizing: border-box;
1322
+ display: -moz-box;
1323
+ display: flex;
1324
+ display: -webkit-flex;
1325
+ display: -webkit-box;
1326
+ -webkit-box-orient: horizontal;
1327
+ -moz-box-orient: horizontal;
1328
+ -webkit-flex-direction: row;
1329
+ flex-direction: row;
1330
+ -moz-box-pack: start;
1331
+ -webkit-justify-content: start;
1332
+ justify-content: flex-start;
1333
+ -webkit-box-align: center;
1334
+ -moz-box-align: center;
1335
+ -webkit-align-items: center;
1336
+ align-items: center;
1337
+ display: -webkit-box !important;
1338
+ -webkit-transition: all 0.15s ease-out;
1339
+ -moz-transition: all 0.15s ease-out;
1340
+ transition: all 0.15s ease-out;
1341
+ -webkit-transform: translate3d(0, 0, 0);
1342
+ -moz-transform: translate3d(0, 0, 0);
1343
+ transform: translate3d(0, 0, 0);
1344
+ padding: 0 16px;
1345
+ vertical-align: middle;
1346
+ background-color: #eaeaea;
1347
+ overflow: hidden;
1348
+ border-top: solid 1px #666666;
1349
+ }
1350
+ .toolbar > .button {
1351
+ color: #000000 !important;
1352
+ }
1353
+ .toolbar > .button:hover {
1354
+ background-color: rgba(255, 255, 255, 0.25);
1355
+ }
1356
+ .splitlayout > .master + .toolbar {
1357
+ left: 0;
1358
+ width: 320px;
1359
+ border-right: solid 1px #c8c8c7 !important;
1360
+ }
1361
+ .splitlayout > .detail + .toolbar {
1362
+ left: 320px;
1363
+ }
1364
+ article.has-toolbar {
1365
+ bottom: 50px !important;
1366
+ }
1367
+ div.toolbar.current {
1368
+ -webkit-transform: translate3d(0, 0, 0);
1369
+ -moz-transform: translate3d(0, 0, 0);
1370
+ transform: translate3d(0, 0, 0);
1371
+ }
1372
+ div.toolbar.next {
1373
+ -webkit-transform: translate3d(105%, 0, 0);
1374
+ -moz-transform: translate3d(105%, 0, 0);
1375
+ transform: translate3d(105%, 0, 0);
1376
+ }
1377
+ div.toolbar.previous {
1378
+ -webkit-transform: translate3d(-100%, 0, 0);
1379
+ -moz-transform: translate3d(-100%, 0, 0);
1380
+ transform: translate3d(-100%, 0, 0);
1381
+ }
1382
+ html[dir=rtl] div.toolbar.current {
1383
+ -webkit-transform: translate3d(0, 0, 0);
1384
+ -moz-transform: translate3d(0, 0, 0);
1385
+ transform: translate3d(0, 0, 0);
1386
+ }
1387
+ html[dir=rtl] div.toolbar.next {
1388
+ -webkit-transform: translate3d(-100%, 0, 0);
1389
+ -moz-transform: translate3d(-100%, 0, 0);
1390
+ transform: translate3d(-100%, 0, 0);
1391
+ }
1392
+ html[dir=rtl] div.toolbar.previous {
1393
+ -webkit-transform: translate3d(105%, 0, 0);
1394
+ -moz-transform: translate3d(105%, 0, 0);
1395
+ transform: translate3d(105%, 0, 0);
1396
+ }
1397
+ html[dir=rtl] .splitlayout > .master + .toolbar {
1398
+ right: 0;
1399
+ left: 320px;
1400
+ width: 320px;
1401
+ border-right: none;
1402
+ border-left: solid 1px #c8c8c7 !important;
1403
+ }
1404
+ html[dir=rtl] .splitlayout > .detail + .toolbar {
1405
+ right: 320px;
1406
+ left: 0;
1407
+ }
1408
+ /* ==============================
1409
+ Split Layout Styles
1410
+ =========================== */
1411
+ body.splitlayout {
1412
+ display: -moz-box;
1413
+ display: flex;
1414
+ display: -webkit-flex;
1415
+ display: -webkit-box;
1416
+ -webkit-box-orient: horizontal;
1417
+ -moz-box-orient: horizontal;
1418
+ -webkit-flex-direction: row;
1419
+ flex-direction: row;
1420
+ -moz-box-pack: start;
1421
+ -webkit-justify-content: start;
1422
+ justify-content: flex-start;
1423
+ -webkit-box-align: stretch;
1424
+ -moz-box-align: stretch;
1425
+ -webkit-align-items: stretch;
1426
+ align-items: stretch;
1427
+ }
1428
+ .splitlayout > nav {
1429
+ background-color: #eaeaea;
1430
+ border-bottom: solid 1px #a7a7aa;
1431
+ }
1432
+ .splitlayout > nav:first-of-type {
1433
+ width: 320px;
1434
+ border-right: solid 1px #c8c8c7 !important;
1435
+ }
1436
+ .splitlayout > nav:last-of-type {
1437
+ left: 320px;
1438
+ }
1439
+ .splitlayout > nav h1 {
1440
+ z-index: auto;
1441
+ text-align: left;
1442
+ }
1443
+ .splitlayout > article.master {
1444
+ top: 50px;
1445
+ left: 0;
1446
+ bottom: 0;
1447
+ right: 320px;
1448
+ -webkit-box-sizing: border-box;
1449
+ -moz-box-sizing: border-box;
1450
+ box-sizing: border-box;
1451
+ width: 320px;
1452
+ border-right: solid 1px #c8c8c7 !important;
1453
+ }
1454
+ .splitlayout > article.detail {
1455
+ top: 50px;
1456
+ left: 320px !important;
1457
+ bottom: 0;
1458
+ left: 0;
1459
+ -webkit-box-flex: 1 !important;
1460
+ -moz-box-flex: 1 !important;
1461
+ -webkit-flex: 1 !important;
1462
+ flex: 1 !important;
1463
+ }
1464
+ .master .list > li.selected {
1465
+ background-color: #d9d9d9;
1466
+ }
1467
+ html[dir=rtl] body.splitlayout > nav:first-of-type {
1468
+ right: 0;
1469
+ left: 320px;
1470
+ border-right: none;
1471
+ border-left: solid 1px #c8c8c7 !important;
1472
+ }
1473
+ html[dir=rtl] body.splitlayout > nav:last-of-type {
1474
+ left: 0;
1475
+ right: 320px;
1476
+ }
1477
+ html[dir=rtl] body.splitlayout > nav > h1 {
1478
+ text-align: right;
1479
+ }
1480
+ html[dir=rtl] body.splitlayout > article.master {
1481
+ left: 320px !important;
1482
+ right: 0 !important;
1483
+ border-right: none !important;
1484
+ border-left: solid 1px #c8c8c7 !important;
1485
+ }
1486
+ html[dir=rtl] body.splitlayout > article.detail {
1487
+ right: 320px !important;
1488
+ left: 0 !important;
1489
+ }
1490
+ @media only screen and (max-device-width: 320px) and (orientation: portrait) {
1491
+ .splitlayout > article.master {
1492
+ right: 260px !important;
1493
+ }
1494
+ .splitlayout > article.detail {
1495
+ left: 260px !important;
1496
+ }
1497
+ .splitlayout > nav:first-of-type {
1498
+ width: 260px !important;
1499
+ }
1500
+ .splitlayout > nav:last-of-type {
1501
+ left: 260px !important;
1502
+ }
1503
+ }
1504
+ /* ==============================
1505
+ Mask Control
1506
+ =========================== */
1507
+ .mask {
1508
+ display: block;
1509
+ background-color: rgba(0, 0, 0, 0.5);
1510
+ position: absolute;
1511
+ top: 0;
1512
+ bottom: 0;
1513
+ left: 0;
1514
+ right: 0;
1515
+ width: 100%;
1516
+ height: 100%;
1517
+ z-index: 9999;
1518
+ cursor: pointer;
1519
+ }
1520
+ /* ==============================
1521
+ Busy Control
1522
+ =========================== */
1523
+ .busy {
1524
+ -webkit-animation: spin 1.77s infinite ease-out;
1525
+ -webkit-transform-origin: center center;
1526
+ display: block;
1527
+ position: absolute;
1528
+ }
1529
+ .busy circle {
1530
+ -webkit-transform-origin: center center;
1531
+ fill: none;
1532
+ stroke: #4288ef;
1533
+ stroke-width: 10;
1534
+ stroke-linecap: round;
1535
+ stroke-dasharray: 0.001, 180;
1536
+ stroke-dashoffset: 0;
1537
+ -webkit-animation: loading 1.5s infinite ease-out;
1538
+ }
1539
+ @-webkit-keyframes spin {
1540
+ 0% {
1541
+ -webkit-transform: rotate(0);
1542
+ }
1543
+ 100% {
1544
+ -webkit-transform: rotate(360deg);
1545
+ }
1546
+ }
1547
+ @-webkit-keyframes loading {
1548
+ 0% {
1549
+ stroke-dasharray: 0.001, 180;
1550
+ stroke-dashoffset: 0;
1551
+ }
1552
+ 50% {
1553
+ stroke-dasharray: 140,140;
1554
+ stroke-dashoffset: 20;
1555
+ }
1556
+ 100% {
1557
+ stroke-dasharray: 180, 180;
1558
+ stroke-dashoffset: -179;
1559
+ }
1560
+ }
1561
+ :not(.isNativeAndroidBrowser) .busy {
1562
+ -webkit-animation: spin 2s infinite linear;
1563
+ }
1564
+ /* ==============================
1565
+ Popover Control
1566
+ =========================== */
1567
+ .popover {
1568
+ width: 300px;
1569
+ background-color: #f5f5f5;
1570
+ box-shadow: 0 0 5px #000000;
1571
+ border-radius: 4px;
1572
+ height: 250px;
1573
+ max-height: 300px;
1574
+ position: absolute;
1575
+ z-index: 111111;
1576
+ margin-top: 10px;
1577
+ }
1578
+ .popover header {
1579
+ display: none;
1580
+ }
1581
+ .popover > section {
1582
+ overflow-x: hidden;
1583
+ overflow-y: auto;
1584
+ -webkit-overflow-scrolling: touch;
1585
+ padding-bottom: 0;
1586
+ position: absolute;
1587
+ top: 4px;
1588
+ bottom: 4px;
1589
+ width: 100%;
1590
+ padding-bottom: 20px;
1591
+ }
1592
+ .isDesktop .popover .list > li:hover,
1593
+ .isDesktop .popover .list > li.selected {
1594
+ background-color: #007aff !important;
1595
+ color: #ffffff !important;
1596
+ }
1597
+ .isDesktop .popover .list > li:hover h3,
1598
+ .isDesktop .popover .list > li.selected h3,
1599
+ .isDesktop .popover .list > li:hover h4,
1600
+ .isDesktop .popover .list > li.selected h4 {
1601
+ color: #ffffff !important;
1602
+ }
1603
+ .button.show-popover {
1604
+ position: relative;
1605
+ background-color: transparent !important;
1606
+ border: none !important;
1607
+ padding: 6px 22px 2px 10px !important;
1608
+ margin: 0 10px 0 !important;
1609
+ box-shadow: none !important;
1610
+ font-size: 18px !important;
1611
+ }
1612
+ .button.show-popover.align-flush {
1613
+ position: absolute;
1614
+ }
1615
+ .button.show-popover.selected {
1616
+ background-color: #007aff;
1617
+ }
1618
+ .segmented > a.button.show-popover:first-of-type {
1619
+ border-left: none !important;
1620
+ }
1621
+ .button.show-popover::after {
1622
+ content: '';
1623
+ display: block;
1624
+ position: absolute;
1625
+ right: 2px;
1626
+ bottom: 2px;
1627
+ width: 0px;
1628
+ height: 0px;
1629
+ border-right: solid 6px #000000;
1630
+ border-bottom: solid 6px #000000;
1631
+ border-top: solid 6px transparent;
1632
+ border-left: solid 6px transparent;
1633
+ }
1634
+ nav > .button.show-popover::after {
1635
+ border-right: solid 6px #000000;
1636
+ border-bottom: solid 6px #000000;
1637
+ }
1638
+ nav > h1 + .button.show-popover.align-flush {
1639
+ margin: 8px 0 0 0 !important;
1640
+ }
1641
+ html[dir=rtl] .button.show-popover {
1642
+ padding: 6px 10px 2px 20px !important;
1643
+ }
1644
+ html[dir=rtl] .button.show-popover::after {
1645
+ left: 2px;
1646
+ right: auto;
1647
+ border: none;
1648
+ border-left: solid 6px #000000;
1649
+ border-bottom: solid 6px #000000;
1650
+ border-top: solid 6px transparent;
1651
+ border-right: solid 6px transparent;
1652
+ }
1653
+ html[dir=rtl] .button.show-popover + .button {
1654
+ -webkit-box-ordinal-group: 1;
1655
+ -webkit-order: 1;
1656
+ }
1657
+ html[dir=rtl] .isDesktop .button.show-popover:hover::after {
1658
+ border-left: solid 6px #000000 !important;
1659
+ border-bottom: solid 6px #000000;
1660
+ border-top: solid 6px transparent;
1661
+ border-right: solid 6px transparent;
1662
+ }
1663
+ /* ==============================
1664
+ Popup Control
1665
+ =========================== */
1666
+ .isNativeAndroidBrowser .popup {
1667
+ box-shadow: 0 0 6px 4px #666;
1668
+ }
1669
+ .isNativeAndroidBrowser .popup > .panel > header {
1670
+ padding-top: 1px;
1671
+ }
1672
+ .popup {
1673
+ display: block;
1674
+ -webkit-box-sizeing: border-box;
1675
+ width: 320px;
1676
+ padding: 1px;
1677
+ background-color: #ffffff;
1678
+ position: absolute;
1679
+ z-index: 10000;
1680
+ margin-left: auto;
1681
+ margin-right: auto;
1682
+ box-shadow: 0 0 6px 4px #888888;
1683
+ border-radius: 3px;
1684
+ }
1685
+ .popup.opened {
1686
+ display: block;
1687
+ opacity: 1;
1688
+ -webkit-transition: all 0.5s ease-in-out;
1689
+ -moz-transition: all 0.5s ease-in-out;
1690
+ transition: all 0.5s ease-in-out;
1691
+ }
1692
+ .popup > .panel {
1693
+ display: -moz-box;
1694
+ display: flex;
1695
+ display: -webkit-flex;
1696
+ display: -webkit-box;
1697
+ -webkit-box-orient: vertical;
1698
+ -moz-box-orient: vertical;
1699
+ -webkit-flex-direction: column;
1700
+ flex-direction: column;
1701
+ -moz-box-pack: center;
1702
+ -webkit-justify-content: center;
1703
+ justify-content: center;
1704
+ -webkit-box-align: center;
1705
+ -moz-box-align: center;
1706
+ -webkit-align-items: center;
1707
+ align-items: center;
1708
+ padding: 4px 16px;
1709
+ }
1710
+ .popup > .panel > header,
1711
+ .popup > .panel > footer {
1712
+ display: -moz-box;
1713
+ display: flex;
1714
+ display: -webkit-flex;
1715
+ display: -webkit-box;
1716
+ -moz-box-pack: justify;
1717
+ -webkit-justify-content: justify;
1718
+ justify-content: space-between;
1719
+ -webkit-box-align: stretch;
1720
+ -moz-box-align: stretch;
1721
+ -webkit-align-items: stretch;
1722
+ align-items: stretch;
1723
+ }
1724
+ .popup > .panel > header > h1 {
1725
+ position: static;
1726
+ text-align: center;
1727
+ margin: 0 15px;
1728
+ line-height: 32pt;
1729
+ font-weight: bold;
1730
+ }
1731
+ .popup > footer {
1732
+ width: 320px;
1733
+ padding: 0;
1734
+ display: -moz-box;
1735
+ display: flex;
1736
+ display: -webkit-flex;
1737
+ display: -webkit-box;
1738
+ -webkit-box-orient: horizontal !important;
1739
+ -moz-box-orient: horizontal !important;
1740
+ -webkit-flex-direction: row !important;
1741
+ flex-direction: row !important;
1742
+ }
1743
+ .popup > footer > .button {
1744
+ display: block !important;
1745
+ -webkit-box-flex: 1 !important;
1746
+ -moz-box-flex: 1 !important;
1747
+ -webkit-flex: 1 !important;
1748
+ flex: 1 !important;
1749
+ -webkit-box-sizing: border-box;
1750
+ -moz-box-sizing: border-box;
1751
+ box-sizing: border-box;
1752
+ height: 100%;
1753
+ line-height: 30pt;
1754
+ background-color: #ffffff;
1755
+ color: #666666;
1756
+ font-size: 12pt;
1757
+ padding-top: 4px;
1758
+ max-width: 320px !important;
1759
+ font-weight: bold;
1760
+ margin: 0 !important;
1761
+ }
1762
+ .popup > footer > .button + .button {
1763
+ border-left: solid 1px #cbcbcb;
1764
+ }
1765
+ .isDesktop .popup > footer > .button:hover {
1766
+ box-shadow: none;
1767
+ background-color: #298fff;
1768
+ color: #ffffff;
1769
+ }
1770
+ .popup > p {
1771
+ padding: 0 15px;
1772
+ text-align: center;
1773
+ }
1774
+ .popup .button {
1775
+ border-top: solid 1px #cbcbcb;
1776
+ box-shadow: none;
1777
+ }
1778
+ html[dir=rtl] .popup > footer .button {
1779
+ border-top: solid 1px #cbcbcb;
1780
+ }
1781
+ html[dir=rtl] .popup > footer .button:first-child {
1782
+ border-left: solid 1px #cbcbcb;
1783
+ }
1784
+ html[dir=rtl] .popup > footer .button:first-child + .button {
1785
+ border-left: none;
1786
+ }
1787
+ /* ==============================
1788
+ Deletable Lists
1789
+ =========================== */
1790
+ .list.editable > li,
1791
+ .list.deletable > li {
1792
+ overflow: hidden;
1793
+ }
1794
+ .list.editable > li > .move-up,
1795
+ .list.deletable > li > .move-up,
1796
+ .list.editable > li > .move-down,
1797
+ .list.deletable > li > .move-down {
1798
+ width: 21px;
1799
+ height: 21px;
1800
+ display: inline-block;
1801
+ position: relative;
1802
+ float: right;
1803
+ margin-top: -20px;
1804
+ -webkit-transition: all 0.25s ease-out;
1805
+ -moz-transition: all 0.25s ease-out;
1806
+ transition: all 0.25s ease-out;
1807
+ -webkit-transform: translate3d(100px, 0, 0);
1808
+ -moz-transform: translate3d(100px, 0, 0);
1809
+ transform: translate3d(100px, 0, 0);
1810
+ }
1811
+ .list.editable > li > .move-up::before,
1812
+ .list.deletable > li > .move-up::before,
1813
+ .list.editable > li > .move-down::before,
1814
+ .list.deletable > li > .move-down::before {
1815
+ display: block;
1816
+ content: '';
1817
+ width: 21px;
1818
+ height: 21px;
1819
+ position: absolute;
1820
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22367px%22%20height%3D%22367px%22%20viewBox%3D%220%200%20367%20367%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22Sortable%22%20transform%3D%22translate%2813.000000,%2013.000000%29%22%20stroke%3D%22%23007aff%22%20stroke-width%3D%2225%22%3E%3Ccircle%20id%3D%22Oval-1%22%20cx%3D%22170.5%22%20cy%3D%22170.5%22%20r%3D%22170.5%22%3E%3C/circle%3E%3Cpath%20d%3D%22M55.3736267,209.778395%20L172.745285,100.706186%20L286.306656,209.611568%22%20id%3D%22Path-2%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
1821
+ background-repeat: no-repeat;
1822
+ background-position: center center;
1823
+ background-size: 100% 100%;
1824
+ }
1825
+ .list.editable > li > .move-down,
1826
+ .list.deletable > li > .move-down {
1827
+ margin-right: 10px !important;
1828
+ }
1829
+ .list.editable > li:first-of-type > .move-up,
1830
+ .list.deletable > li:first-of-type > .move-up {
1831
+ opacity: .35;
1832
+ }
1833
+ .list.editable > li:last-of-type > .move-down,
1834
+ .list.deletable > li:last-of-type > .move-down {
1835
+ opacity: .35;
1836
+ }
1837
+ .deletion-indicator {
1838
+ display: -webkit-box;
1839
+ -webkit-box-sizing: border-box;
1840
+ -moz-box-sizing: border-box;
1841
+ box-sizing: border-box;
1842
+ padding: 2px 5px 13px 1px;
1843
+ width: 24px;
1844
+ height: 24px;
1845
+ border: solid 2px #007aff;
1846
+ position: absolute;
1847
+ top: 14px;
1848
+ left: -32px;
1849
+ -webkit-transition: all 0.25s ease-out;
1850
+ -moz-transition: all 0.25s ease-out;
1851
+ transition: all 0.25s ease-out;
1852
+ cursor: pointer;
1853
+ }
1854
+ .isDesktop .deletion-indicator:hover,
1855
+ li.selected > .deletion-indicator {
1856
+ color: #004999 !important;
1857
+ background-color: #007aff;
1858
+ box-shadow: 0 0 3px 1px rgba(0, 122, 255, 0.5);
1859
+ border-color: #007aff;
1860
+ }
1861
+ li.selected > .deletion-indicator::before {
1862
+ content: '';
1863
+ display: block !important;
1864
+ width: 22px;
1865
+ height: 22px;
1866
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22140px%22%20height%3D%22144px%22%20viewBox%3D%220%200%20140%20144%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M47.9487979,122.136928%20L92.9487978,122.136928%20L92.9487978,22.1369286%20L81.3308475,22.1369281%20L81.3308475,109.597461%20L47.9487979,109.597462%20L47.9487979,122.136928%20Z%22%20id%3D%22Rectangle-1%22%20fill%3D%22%23ffffff%22%20transform%3D%22translate%2870.448798,%2072.136929%29%20rotate%2835.000000%29%20translate%28-70.448798,%20-72.136929%29%20%22%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
1867
+ background-position: 50% 50%;
1868
+ background-size: 100% 100%;
1869
+ background-repeat: no-repeat;
1870
+ font-size: 24pt;
1871
+ position: relative;
1872
+ top: 1px;
1873
+ left: -1px;
1874
+ }
1875
+ .isAndroid li.selected > .deletion-indicator::before {
1876
+ margin: -6px 0 0 -2px !important;
1877
+ }
1878
+ .isDesktopChrome li.selected > .deletion-indicator::before {
1879
+ margin: -7px 0 0 -2px !important;
1880
+ }
1881
+ .list.showIndicators .deletion-indicator {
1882
+ margin-left: 40px;
1883
+ }
1884
+ .list.showIndicators li {
1885
+ padding-left: 38px;
1886
+ }
1887
+ .list.showIndicators li > h3 {
1888
+ width: 55%;
1889
+ white-space: nowrap;
1890
+ overflow: hidden;
1891
+ text-overflow: ellipsis;
1892
+ }
1893
+ .list.showIndicators li .move-up {
1894
+ -webkit-transform: translate3d(0, 0, 0);
1895
+ -moz-transform: translate3d(0, 0, 0);
1896
+ transform: translate3d(0, 0, 0);
1897
+ }
1898
+ .list.showIndicators li .move-down {
1899
+ -webkit-transform: translate3d(0, 0, 0) rotate(180deg);
1900
+ -moz-transform: translate3d(0, 0, 0) rotate(180deg);
1901
+ transform: translate3d(0, 0, 0) rotate(180deg);
1902
+ }
1903
+ .list.showIndicators > li.selected > .move-up {
1904
+ margin-right: 60px;
1905
+ }
1906
+ .list.showIndicators > li.selected > .move-down {
1907
+ margin-right: 100px;
1908
+ }
1909
+ .button.delete {
1910
+ float: right;
1911
+ text-align: center;
1912
+ -webkit-box-sizing: border-box;
1913
+ -moz-box-sizing: border-box;
1914
+ box-sizing: border-box;
1915
+ width: 60px;
1916
+ height: 100%;
1917
+ position: absolute;
1918
+ top: 0;
1919
+ right: -10px;
1920
+ bottom: 0;
1921
+ display: -moz-box;
1922
+ display: flex;
1923
+ display: -webkit-flex;
1924
+ display: -webkit-box;
1925
+ -webkit-box-orient: vertical;
1926
+ -moz-box-orient: vertical;
1927
+ -webkit-flex-direction: column;
1928
+ flex-direction: column;
1929
+ -moz-box-pack: center;
1930
+ -webkit-justify-content: center;
1931
+ justify-content: center;
1932
+ -webkit-box-align: center;
1933
+ -moz-box-align: center;
1934
+ -webkit-align-items: center;
1935
+ align-items: center;
1936
+ -webkit-transition: all 0.15s ease-out;
1937
+ -moz-transition: all 0.15s ease-out;
1938
+ transition: all 0.15s ease-out;
1939
+ -webkit-transform: translate3d(60px, 0, 0);
1940
+ -moz-transform: translate3d(60px, 0, 0);
1941
+ transform: translate3d(60px, 0, 0);
1942
+ visibility: hidden;
1943
+ cursor: pointer;
1944
+ font-weight: 200;
1945
+ margin-right: 0 !important;
1946
+ color: transparent;
1947
+ background-color: #eeeeee;
1948
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2283px%22%20height%3D%22108px%22%20viewBox%3D%220%200%2083%20108%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle-1%22%20fill%3D%22%233A3A3A%22%20x%3D%225%22%20y%3D%2224%22%20width%3D%2272%22%20height%3D%2284%22%20rx%3D%228%22%3E%3C/rect%3E%3Cpath%20d%3D%22M-0.411132812,17.9316406%20L-0.411132812,6.22558594%20L20.1357422,6.48730469%20L25.3134766,0.25390625%20L57.4667969,0.25390625%20L62.6025391,6.48730469%20L82.9248047,6.48730469%20L82.9248047,17.8554688%20L-0.411132812,17.9316406%20Z%22%20id%3D%22Path-1%22%20fill%3D%22%233A3A3A%22%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
1949
+ background-position: 50% 50%;
1950
+ background-size: auto 20px;
1951
+ background-repeat: no-repeat;
1952
+ box-shadow: inset 2px 2px 2px #bbbbbb;
1953
+ border-radius: 0;
1954
+ border-bottom: 1px solid #bbbbbb;
1955
+ border-right: 1px solid #bbbbbb;
1956
+ -webkit-animation-name: 'none' !important;
1957
+ animation-name: 'none' !important;
1958
+ }
1959
+ li.selected > .button.delete {
1960
+ display: block;
1961
+ }
1962
+ li.selected > .button.delete {
1963
+ visibility: visible;
1964
+ -webkit-transform: translate3d(-10px, 0, 0);
1965
+ -moz-transform: translate3d(-10px, 0, 0);
1966
+ transform: translate3d(-10px, 0, 0);
1967
+ }
1968
+ html[dir=rtl] .list.editable li > .move-up,
1969
+ html[dir=rtl] .list.deletable li > .move-up {
1970
+ float: left !important;
1971
+ -webkit-transform: translate3d(-100px, 0, 0);
1972
+ -moz-transform: translate3d(-100px, 0, 0);
1973
+ transform: translate3d(-100px, 0, 0);
1974
+ }
1975
+ html[dir=rtl] .list.editable li > .move-down,
1976
+ html[dir=rtl] .list.deletable li > .move-down {
1977
+ float: left !important;
1978
+ -webkit-transform: translate3d(-140px, 0, 0) rotate(180deg);
1979
+ -moz-transform: translate3d(-140px, 0, 0) rotate(180deg);
1980
+ transform: translate3d(-140px, 0, 0) rotate(180deg);
1981
+ }
1982
+ html[dir=rtl] .list.editable.showIndicators .deletion-indicator,
1983
+ html[dir=rtl] .list.deletable.showIndicators .deletion-indicator {
1984
+ margin-left: auto;
1985
+ margin-right: 50px;
1986
+ }
1987
+ html[dir=rtl] .list.editable.showIndicators li,
1988
+ html[dir=rtl] .list.deletable.showIndicators li {
1989
+ padding-left: 0;
1990
+ padding-right: 40px;
1991
+ }
1992
+ html[dir=rtl] .list.editable.showIndicators li > .button.delete,
1993
+ html[dir=rtl] .list.deletable.showIndicators li > .button.delete {
1994
+ float: left !important;
1995
+ left: 0;
1996
+ right: auto;
1997
+ -webkit-transform: translate3d(-60px, 0, 0);
1998
+ -moz-transform: translate3d(-60px, 0, 0);
1999
+ transform: translate3d(-60px, 0, 0);
2000
+ border-right: none;
2001
+ border-left: 1px solid #bbbbbb !important;
2002
+ box-shadow: inset -2px 2px 2px #bbbbbb;
2003
+ }
2004
+ html[dir=rtl] .list.editable.showIndicators li.selected > .button.delete,
2005
+ html[dir=rtl] .list.deletable.showIndicators li.selected > .button.delete {
2006
+ -webkit-transform: translate3d(-10px, 0, 0);
2007
+ -moz-transform: translate3d(-10px, 0, 0);
2008
+ transform: translate3d(-10px, 0, 0);
2009
+ }
2010
+ html[dir=rtl] .list.editable.showIndicators li > .move-up,
2011
+ html[dir=rtl] .list.deletable.showIndicators li > .move-up {
2012
+ -webkit-transform: translate3d(10px, 0, 0) !important;
2013
+ -moz-transform: translate3d(10px, 0, 0) !important;
2014
+ transform: translate3d(10px, 0, 0) !important;
2015
+ }
2016
+ html[dir=rtl] .list.editable.showIndicators li > .move-down,
2017
+ html[dir=rtl] .list.deletable.showIndicators li > .move-down {
2018
+ -webkit-transform: translate3d(20px, 0, 0) rotate(180deg) !important;
2019
+ -moz-transform: translate3d(20px, 0, 0) rotate(180deg) !important;
2020
+ transform: translate3d(20px, 0, 0) rotate(180deg) !important;
2021
+ }
2022
+ html[dir=rtl] .list.editable.showIndicators li.selected > .move-up,
2023
+ html[dir=rtl] .list.deletable.showIndicators li.selected > .move-up {
2024
+ -webkit-transform: translate3d(90px, 0, 0) !important;
2025
+ -moz-transform: translate3d(90px, 0, 0) !important;
2026
+ transform: translate3d(90px, 0, 0) !important;
2027
+ }
2028
+ html[dir=rtl] .list.editable.showIndicators li.selected > .move-down,
2029
+ html[dir=rtl] .list.deletable.showIndicators li.selected > .move-down {
2030
+ -webkit-transform: translate3d(45px, 0, 0) rotate(180deg) !important;
2031
+ -moz-transform: translate3d(45px, 0, 0) rotate(180deg) !important;
2032
+ transform: translate3d(45px, 0, 0) rotate(180deg) !important;
2033
+ }
2034
+ html[dir=rtl] .deletion-indicator {
2035
+ right: -40px;
2036
+ left: auto;
2037
+ }
2038
+ /* ==============================
2039
+ Form Styles
2040
+ =========================== */
2041
+ input[type=text],
2042
+ input[type=email],
2043
+ input[type=password],
2044
+ input[type=text],
2045
+ input[type=url],
2046
+ input[type=number],
2047
+ textarea {
2048
+ -webkit-appearance: none;
2049
+ border: none;
2050
+ background-color: transparent;
2051
+ /* Create the bracket around inputs: */
2052
+ background-image: -webkit-linear-gradient(left, #888888, #888888);
2053
+ background-image: linear-gradient(left, #888888, #888888);
2054
+ background-size: 100% 1px;
2055
+ background-position: bottom left;
2056
+ background-repeat: no-repeat;
2057
+ margin: 0;
2058
+ padding: 0 0 2px 5px;
2059
+ color: #888888;
2060
+ -webkit-user-modify: read-write-plaintext-only;
2061
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
2062
+ outline-style: none;
2063
+ }
2064
+ input:focus,
2065
+ textarea:focus {
2066
+ outline: none !important;
2067
+ /* Create the bracket around inputs: */
2068
+ background-image: -webkit-linear-gradient(left, #007aff, #007aff);
2069
+ background-image: linear-gradient(left, #007aff, #007aff);
2070
+ background-size: 100% 2px;
2071
+ }
2072
+ .isAndroid:not(.isDesktop) .select-box > select {
2073
+ opacity: 1;
2074
+ position: absolute;
2075
+ left: -100000px;
2076
+ -wekbit-appearance: none;
2077
+ }
2078
+ .isDesktop .select-box > select {
2079
+ max-width: 120px;
2080
+ }
2081
+ .select-box-label {
2082
+ border: solid 1px #888888;
2083
+ padding: 2px 30px 2px 10px;
2084
+ font-size: 11px;
2085
+ background-image: -webkit-linear-gradient(top, #888888, #888888);
2086
+ background-position: top right;
2087
+ background-size: 20px 100%;
2088
+ background-repeat: no-repeat;
2089
+ height: 20px;
2090
+ box-sizing: border-box;
2091
+ min-width: 100px;
2092
+ max-width: 160px;
2093
+ width: auto;
2094
+ cursor: pointer;
2095
+ display: inline-block;
2096
+ overflow-x: hidden;
2097
+ text-overflow: ellipsis;
2098
+ white-space: nowrap;
2099
+ position: relative;
2100
+ }
2101
+ .select-box-label::after {
2102
+ content: '';
2103
+ display: block;
2104
+ height: 10px;
2105
+ width: 1px;
2106
+ border-top: solid 7px #fff;
2107
+ border-left: solid 5px transparent;
2108
+ border-right: solid 5px transparent;
2109
+ position: absolute;
2110
+ top: 6px;
2111
+ right: 5px;
2112
+ }
2113
+ .isDesktop .select-box-label {
2114
+ display: none !important;
2115
+ }
2116
+ section > div.searchBar {
2117
+ -webkit-box-sizing: border-box;
2118
+ -moz-box-sizing: border-box;
2119
+ box-sizing: border-box;
2120
+ background-color: transparent;
2121
+ padding: 5px 10px;
2122
+ }
2123
+ input[type="search"] {
2124
+ display: block;
2125
+ padding: 7px 0 7px 5px;
2126
+ -webkit-appearance: none;
2127
+ -webkit-transtion: all 0.5s ease-out;
2128
+ background-image: -webkit-linear-gradient(left, #888888, #888888), -webkit-linear-gradient(left, #888888, #888888), -webkit-linear-gradient(left, #888888, #888888);
2129
+ background-image: linear-gradient(left, #888888, #888888), linear-gradient(left, #888888, #888888), linear-gradient(left, #888888, #888888);
2130
+ text-align: left;
2131
+ -webkit-user-select: ignore;
2132
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
2133
+ border: none;
2134
+ background-color: transparent;
2135
+ /* Create the bracket around inputs: */
2136
+ background-size: 2px 4px, 2px 4px, 100% 2px;
2137
+ background-position: bottom left, bottom right, bottom left;
2138
+ background-repeat: no-repeat;
2139
+ }
2140
+ input[type="search"]:focus {
2141
+ text-align: left;
2142
+ outline: none;
2143
+ outline: none !important;
2144
+ /* Create the bracket around inputs: */
2145
+ background-image: -webkit-linear-gradient(left, #81cfeb, #81cfeb), -webkit-linear-gradient(left, #81cfeb, #81cfeb), -webkit-linear-gradient(left, #81cfeb, #81cfeb);
2146
+ background-image: linear-gradient(left, #81cfeb, #81cfeb), linear-gradient(left, #81cfeb, #81cfeb), linear-gradient(left, #81cfeb, #81cfeb);
2147
+ }
2148
+ /* ==============================
2149
+ Icon Styles
2150
+ =========================== */
2151
+ /*
2152
+ Put a class or id on each icon.
2153
+ The use a png or svg image as
2154
+ a background image. Apply a
2155
+ background color too.
2156
+ See page article of demo
2157
+ paging control for example.
2158
+ */
2159
+ .icon {
2160
+ width: 40px;
2161
+ height: 40px;
2162
+ background-repeat: no-repeat;
2163
+ background-position: center center;
2164
+ background-size: auto 70%;
2165
+ border-radius: 50%;
2166
+ }
2167
+ li > aside > span.icon {
2168
+ margin-left: 0;
2169
+ }
2170
+ /* ==============================
2171
+ Range Control
2172
+ =========================== */
2173
+ input[type="range"] {
2174
+ -webkit-appearance: none !important;
2175
+ outline: none;
2176
+ display: block;
2177
+ margin-top: 20px;
2178
+ margin-bottom: 20px;
2179
+ width: auto;
2180
+ height: 2px;
2181
+ border-radius: 2px;
2182
+ background-color: #aaaaaa;
2183
+ background-image: -webkit-linear-gradient(top, #007aff, #007aff);
2184
+ background-size: 0px 2px;
2185
+ background-position: left center;
2186
+ background-repeat: no-repeat;
2187
+ padding: 0;
2188
+ }
2189
+ input[type="range"]::-webkit-slider-thumb {
2190
+ -webkit-appearance: none;
2191
+ display: block;
2192
+ width: 18px;
2193
+ height: 18px;
2194
+ border-radius: 20px;
2195
+ margin: 0;
2196
+ background-color: #007aff;
2197
+ border: solid 1px transparent;
2198
+ }
2199
+ input[type="range"]:focus::-webkit-slider-thumb,
2200
+ .isDesktop input[type="range"]::-webkit-slider-thumb:hover {
2201
+ width: 40px;
2202
+ height: 40px;
2203
+ background-color: transparent;
2204
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22102px%22%20height%3D%22102px%22%20viewBox%3D%220%200%20102%20102%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22range-thumb%22%20transform%3D%22translate%281.000000,%201.000000%29%22%3E%3Ccircle%20id%3D%22Oval-1%22%20stroke%3D%22%23007aff%22%20stroke-width%3D%222%22%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%3E%3C/circle%3E%3Ccircle%20id%3D%22Oval-2%22%20fill-opacity%3D%220.598698103%22%20fill%3D%22%23007aff%22%20cx%3D%2249.5%22%20cy%3D%2249.5%22%20r%3D%2232.5%22%3E%3C/circle%3E%3Ccircle%20id%3D%22Oval-3%22%20fill%3D%22%23007aff%22%20cx%3D%2249.5%22%20cy%3D%2249.5%22%20r%3D%2213.5%22%3E%3C/circle%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
2205
+ background-repeat: no-repeat;
2206
+ background-position: center center;
2207
+ background-size: 100% 100%;
2208
+ }
2209
+ .isDesktop input[type="range"]::-webkit-slider-thumb:hover::before {
2210
+ content: '';
2211
+ display: block;
2212
+ width: 40px;
2213
+ height: 40px;
2214
+ background-color: #007aff;
2215
+ border-radius: 50%;
2216
+ position: absolute;
2217
+ top: 0;
2218
+ left: 0;
2219
+ }
2220
+ .isNativeAndroidBrowser input[type="range"] {
2221
+ -webkit-appearance: none !important;
2222
+ outline: none;
2223
+ display: block;
2224
+ margin-top: 20px;
2225
+ margin-bottom: 20px;
2226
+ width: auto;
2227
+ height: 2px;
2228
+ border-radius: 2px;
2229
+ background-color: #aaaaaa;
2230
+ background-image: -webkit-linear-gradient(top, #0062cc, #0062cc);
2231
+ background-size: 0px 2px;
2232
+ background-position: left center;
2233
+ background-repeat: no-repeat;
2234
+ padding: 0;
2235
+ }
2236
+ .isNativeAndroidBrowser input[type="range"]::-webkit-slider-thumb {
2237
+ -webkit-appearance: none;
2238
+ display: block;
2239
+ width: 30px;
2240
+ height: 30px;
2241
+ border-radius: 20px;
2242
+ margin: 0;
2243
+ background-color: transparent;
2244
+ background-image: -webkit-radial-gradient(#0053ad 4px, rgba(0, 102, 214, 0.8) 4px);
2245
+ border: solid 1px #0053ad;
2246
+ }
2247
+ .isNativeAndroidBrowser input[type="range"]:focus::-webkit-slider-thumb,
2248
+ .isNativeAndroidBrowser .isDesktop input[type="range"]::-webkit-slider-thumb:hover {
2249
+ background-image: -webkit-radial-gradient(#0053ad 4px, rgba(0, 122, 255, 0.5) 4px);
2250
+ }
2251
+ html[dir=rtl] input[type="range"] {
2252
+ background-position: right center;
2253
+ }
2254
+ /* ==============================
2255
+ Select List
2256
+ =========================== */
2257
+ .isDesktop .list.select li:hover {
2258
+ background-color: #007aff;
2259
+ }
2260
+ .isDesktop .list.select li:hover::after {
2261
+ background-color: #007aff;
2262
+ -webkit-transition: all 0.125s ease-in-out;
2263
+ -moz-transition: all 0.125s ease-in-out;
2264
+ transition: all 0.125s ease-in-out;
2265
+ opacity: 1;
2266
+ box-shadow: 0 0 0 3px #007aff, inset 0 0px 0px 3px #ffffff;
2267
+ }
2268
+ .list.select li.selected {
2269
+ color: #000000;
2270
+ }
2271
+ .list.select li.selected::after {
2272
+ background-color: #007aff;
2273
+ -webkit-transition: all 0.125s ease-in-out;
2274
+ -moz-transition: all 0.125s ease-in-out;
2275
+ transition: all 0.125s ease-in-out;
2276
+ opacity: 1;
2277
+ box-shadow: 0 0 0 3px #007aff, inset 0 0px 0px 3px #ffffff;
2278
+ }
2279
+ .list.select li.selected *,
2280
+ .isDesktop .list.select li:hover * {
2281
+ color: #000000;
2282
+ }
2283
+ .list.select li::after {
2284
+ content: '';
2285
+ display: block;
2286
+ float: right;
2287
+ margin-top: -25px;
2288
+ width: 20px;
2289
+ height: 20px;
2290
+ -webkit-transition: all 0.125s ease-in-out;
2291
+ -moz-transition: all 0.125s ease-in-out;
2292
+ transition: all 0.125s ease-in-out;
2293
+ opacity: 1;
2294
+ border: solid 2px #525252;
2295
+ border-radius: 15px;
2296
+ }
2297
+ .list.select li > input {
2298
+ display: none;
2299
+ }
2300
+ html[dir=rtl] .list.select li::after {
2301
+ float: left;
2302
+ }
2303
+ /* ==============================
2304
+ Sheet Control
2305
+ =========================== */
2306
+ .sheet {
2307
+ position: absolute;
2308
+ top: 0;
2309
+ left: 0;
2310
+ bottom: 0;
2311
+ right: 0;
2312
+ background-color: rgba(240, 240, 240, 0.9);
2313
+ -webkit-transition: all 0.25s ease-in;
2314
+ -moz-transition: all 0.25s ease-in;
2315
+ transition: all 0.25s ease-in;
2316
+ -webkit-transform: translate3d(0, -100%, 0);
2317
+ -moz-transform: translate3d(0, -100%, 0);
2318
+ transform: translate3d(0, -100%, 0);
2319
+ display: none;
2320
+ }
2321
+ .sheet.opened {
2322
+ -webkit-transform: translate3d(0, 0, 0);
2323
+ -moz-transform: translate3d(0, 0, 0);
2324
+ transform: translate3d(0, 0, 0);
2325
+ }
2326
+ .sheet.opened > section.scroller-vertical {
2327
+ top: 36px;
2328
+ padding: 10px 0 100px 0 !important;
2329
+ }
2330
+ .sheet > section.scroller-vertical {
2331
+ position: absolute;
2332
+ top: 0;
2333
+ left: 0;
2334
+ bottom: 0;
2335
+ height: auto;
2336
+ right: 0;
2337
+ padding: 0 !important;
2338
+ }
2339
+ .sheet > section > .list {
2340
+ border: none;
2341
+ background-color: transparent !important;
2342
+ }
2343
+ .sheet > section > .list > li {
2344
+ background-color: transparent !important;
2345
+ border-bottom: solid 1px #cbcbcb;
2346
+ }
2347
+ .sheet > section > .list > li::before {
2348
+ content: none;
2349
+ }
2350
+ .sheet .button {
2351
+ display: block;
2352
+ margin: 0 auto;
2353
+ padding: 10px 20px !important;
2354
+ width: auto;
2355
+ height: auto;
2356
+ }
2357
+ .sheet div.handle {
2358
+ display: block;
2359
+ text-align: center;
2360
+ margin: 0 auto;
2361
+ cursor: pointer;
2362
+ -webkit-transform: translate3d(0, 0, 0);
2363
+ transform: translate3d(0, 0, 0);
2364
+ height: 29pt;
2365
+ background-color: rgba(0, 0, 0, 0.001);
2366
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2294px%22%20height%3D%2237px%22%20viewBox%3D%220%200%2094%2037%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20transform%3D%22translate%281.000000,%201.000000%29%22%20id%3D%22Artboard-1%22%20fill%3D%22%23666666%22%3E%3Cpath%20d%3D%22M46,10.1317773%20L4.17415422,35.2632809%20L-0.46118846,27.5487752%20L45.8258458,-0.2632809%20L46,0.0265604%20L46.1741542,-0.2632809%20L92.4611885,27.5487752%20L87.8258458,35.2632809%20L46,10.1317773%20L46,10.1317773%20Z%22%20id%3D%22Rectangle-2%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
2367
+ background-position: 50% 50%;
2368
+ background-size: auto 40%;
2369
+ background-repeat: no-repeat;
2370
+ margin: 10px auto 0;
2371
+ }
2372
+ .isDesktop .sheet div.handle:hover {
2373
+ background-color: #007aff;
2374
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2294px%22%20height%3D%2237px%22%20viewBox%3D%220%200%2094%2037%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20transform%3D%22translate%281.000000,%201.000000%29%22%20id%3D%22Artboard-1%22%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M46,10.1317773%20L4.17415422,35.2632809%20L-0.46118846,27.5487752%20L45.8258458,-0.2632809%20L46,0.0265604%20L46.1741542,-0.2632809%20L92.4611885,27.5487752%20L87.8258458,35.2632809%20L46,10.1317773%20L46,10.1317773%20Z%22%20id%3D%22Rectangle-2%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
2375
+ }
2376
+ .isNativeAndroidBrowser .sheet div.handle {
2377
+ background-size: 20% auto;
2378
+ }
2379
+ html[dir=rtl] .sheet > section > h2 {
2380
+ font-weight: bold !important;
2381
+ font-size: 16pt !important;
2382
+ line-height: 20pt !important;
2383
+ }
2384
+ /* ==============================
2385
+ Slide Out
2386
+ =========================== */
2387
+ body.isNativeAndroidBrowser .slide-out {
2388
+ visibility: visible;
2389
+ }
2390
+ .slide-out {
2391
+ position: absolute;
2392
+ top: 52px;
2393
+ left: 0;
2394
+ bottom: 0;
2395
+ background-color: #fafafa;
2396
+ z-index: 111111111;
2397
+ width: 100%;
2398
+ visibility: hidden;
2399
+ -webkit-transform: translate3d(-100%, 0, 0);
2400
+ -moz-transform: translate3d(-100%, 0, 0);
2401
+ transform: translate3d(-100%, 0, 0);
2402
+ -webkit-transition: all 0.25s ease-out;
2403
+ -moz-transition: all 0.25s ease-out;
2404
+ transition: all 0.25s ease-out;
2405
+ overflow-x: hidden;
2406
+ overflow-y: auto;
2407
+ -webkit-overflow-scrolling: touch;
2408
+ display: -moz-box;
2409
+ display: flex;
2410
+ display: -webkit-flex;
2411
+ display: -webkit-box;
2412
+ -webkit-box-orient: vertical;
2413
+ -moz-box-orient: vertical;
2414
+ -webkit-flex-direction: column;
2415
+ flex-direction: column;
2416
+ -moz-box-pack: center;
2417
+ -webkit-justify-content: center;
2418
+ justify-content: center;
2419
+ -webkit-box-align: start;
2420
+ -moz-box-align: start;
2421
+ -webkit-align-items: flex-start;
2422
+ align-items: flex-start;
2423
+ }
2424
+ .slide-out.open {
2425
+ visibility: visible;
2426
+ -webkit-transform: translate3d(0, 0, 0);
2427
+ -moz-transform: translate3d(0, 0, 0);
2428
+ transform: translate3d(0, 0, 0);
2429
+ }
2430
+ .slide-out > section {
2431
+ -webkit-box-flex: 1 !important;
2432
+ -moz-box-flex: 1 !important;
2433
+ -webkit-flex: 1 !important;
2434
+ flex: 1 !important;
2435
+ padding-bottom: 100px;
2436
+ overflow-x: hidden;
2437
+ overflow-y: auto;
2438
+ width: 100%;
2439
+ }
2440
+ .button.slide-out-button {
2441
+ position: absolute;
2442
+ z-index: 1111111;
2443
+ top: 5px;
2444
+ left: 15px;
2445
+ width: 35px;
2446
+ height: 35px;
2447
+ box-sizing: border-box;
2448
+ padding: 0 !important;
2449
+ margin-left: 0;
2450
+ }
2451
+ .button.slide-out-button::before {
2452
+ content: '';
2453
+ display: block;
2454
+ width: 35px;
2455
+ height: 35px;
2456
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2281px%22%20height%3D%2260px%22%20viewBox%3D%220%200%2081%2060%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22slideout%22%20fill%3D%22%23000000%22%3E%3Crect%20id%3D%22Rectangle%22%20x%3D%228%22%20y%3D%220%22%20width%3D%2264.167%22%20height%3D%227.666%22%3E%3C/rect%3E%3Crect%20id%3D%22Rectangle%22%20x%3D%228%22%20y%3D%2226%22%20width%3D%2264.167%22%20height%3D%227.667%22%3E%3C/rect%3E%3Crect%20id%3D%22Rectangle%22%20x%3D%228%22%20y%3D%2252%22%20width%3D%2264.167%22%20height%3D%227.666%22%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
2457
+ background-position: 50% 50%;
2458
+ background-size: 70% 70%;
2459
+ background-repeat: no-repeat;
2460
+ }
2461
+ body.slide-out-app > article {
2462
+ display: none !important;
2463
+ }
2464
+ body.slide-out-app > article.show {
2465
+ display: block !important;
2466
+ z-index: 100;
2467
+ }
2468
+ body.slide-out-app > nav.show:not(:first-of-type) {
2469
+ display: block !important;
2470
+ z-index: 100;
2471
+ }
2472
+ body.slide-out-app > nav:not(:first-of-type) {
2473
+ display: none !important;
2474
+ }
2475
+ .slideout-header {
2476
+ background-color: #fafafa !important;
2477
+ border-bottom: none !important;
2478
+ }
2479
+ .slideout-header h2 {
2480
+ margin-left: 0;
2481
+ color: #4d4d4d !important;
2482
+ }
2483
+ html[dir=rtl] .button.slide-out-button {
2484
+ right: 15px;
2485
+ left: auto;
2486
+ }
2487
+ html[dir=rtl] .slide-out {
2488
+ -webkit-transform: translate3d(100%, 0, 0);
2489
+ transform: translate3d(100%, 0, 0);
2490
+ }
2491
+ html[dir=rtl] .slide-out.open {
2492
+ -webkit-transform: translate3d(0, 0, 0);
2493
+ transform: translate3d(0, 0, 0);
2494
+ }
2495
+ /* ==============================
2496
+ Stepper Control
2497
+ =========================== */
2498
+ .stepper {
2499
+ display: -moz-box;
2500
+ display: inline-flex;
2501
+ display: -webkit-inline-flex;
2502
+ display: -webkit-box;
2503
+ -webkit-box-orient: horizontal;
2504
+ -moz-box-orient: horizontal;
2505
+ -webkit-flex-direction: row;
2506
+ flex-direction: row;
2507
+ -moz-box-pack: center;
2508
+ -webkit-justify-content: center;
2509
+ justify-content: center;
2510
+ -webkit-box-align: start;
2511
+ -moz-box-align: start;
2512
+ -webkit-align-items: flex-start;
2513
+ align-items: flex-start;
2514
+ padding: 1px;
2515
+ }
2516
+ .stepper > input {
2517
+ margin: 0;
2518
+ display: none;
2519
+ }
2520
+ .stepper > label {
2521
+ display: block;
2522
+ -webkit-box-sizing: border-box;
2523
+ -moz-box-sizing: border-box;
2524
+ box-sizing: border-box;
2525
+ border: solid 1px #cbcbcb;
2526
+ width: 40px;
2527
+ height: 30px;
2528
+ font: bold 16px/30px Helvetica;
2529
+ text-align: center;
2530
+ background-color: #ffffff;
2531
+ }
2532
+ .stepper > .button {
2533
+ display: inline-box;
2534
+ width: 30px;
2535
+ height: 30px;
2536
+ -webkit-box-sizing: border-box;
2537
+ -moz-box-sizing: border-box;
2538
+ box-sizing: border-box;
2539
+ text-align: center;
2540
+ font-weight: bold;
2541
+ font-size: 16pt;
2542
+ cursor: pointer !important;
2543
+ margin: 0;
2544
+ box-shadow: none;
2545
+ border: solid 1px #cbcbcb;
2546
+ padding: 0 !important;
2547
+ border-radius: 0;
2548
+ }
2549
+ .isDesktop .stepper > .button:hover {
2550
+ box-shadow: none !important;
2551
+ }
2552
+ .stepper > .button:first-of-type {
2553
+ border-right: none;
2554
+ border-top-left-radius: 2px;
2555
+ border-bottom-left-radius: 2px;
2556
+ }
2557
+ .stepper > .button:last-of-type {
2558
+ border-left: none;
2559
+ border-top-right-radius: 2px;
2560
+ border-bottom-right-radius: 2px;
2561
+ }
2562
+ body:not(.isDesktop) .stepper > .button:last-of-type {
2563
+ padding-top: 4px !important;
2564
+ }
2565
+ html[dir=rtl] .stepper > .button:first-of-type {
2566
+ border-left: none;
2567
+ border-right: solid 1px #cbcbcb;
2568
+ border-radius: 0;
2569
+ border-top-right-radius: 2px;
2570
+ border-bottom-right-radius: 2px;
2571
+ }
2572
+ html[dir=rtl] .stepper > .button:last-of-type {
2573
+ border-right: none;
2574
+ border-left: solid 1px #cbcbcb;
2575
+ border-radius: 0;
2576
+ border-top-left-radius: 2px;
2577
+ border-bottom-left-radius: 2px;
2578
+ }
2579
+ /* ==============================
2580
+ Switched List Items
2581
+ =========================== */
2582
+ li.switched {
2583
+ display: -webkit-box;
2584
+ -webkit-box-orient: horizontal;
2585
+ -webkit-box-direction: reverse;
2586
+ box-direction: reverse;
2587
+ }
2588
+ li.switched h3 {
2589
+ width: auto;
2590
+ font-size: 13pt;
2591
+ line-height: 24pt;
2592
+ color: #33b5e5;
2593
+ white-space: nowrap;
2594
+ overflow: hidden;
2595
+ text-overflow: ellipsis;
2596
+ }
2597
+ li.switched h4 {
2598
+ width: 48%;
2599
+ text-align: right;
2600
+ margin-right: 10px;
2601
+ font-size: 14pt;
2602
+ line-height: 24pt;
2603
+ white-space: nowrap;
2604
+ overflow: hidden;
2605
+ text-overflow: ellipsis;
2606
+ max-width: 50%;
2607
+ }
2608
+ html[dir=rtl] li.switched h3 {
2609
+ text-align: right;
2610
+ width: 50%;
2611
+ }
2612
+ html[dir=rtl] li.switched h4 {
2613
+ text-align: left;
2614
+ margin-left: 10px;
2615
+ }
2616
+ /* ==============================
2617
+ Switch
2618
+ =========================== */
2619
+ .switch {
2620
+ display: inline-block;
2621
+ width: 70px;
2622
+ height: 24px;
2623
+ border: 1px solid #979797;
2624
+ background-color: #fafafa;
2625
+ display: -moz-box;
2626
+ display: inline-flex;
2627
+ display: -webkit-inline-flex;
2628
+ display: -webkit-box;
2629
+ -webkit-box-orient: horizontal;
2630
+ -moz-box-orient: horizontal;
2631
+ -webkit-flex-direction: row;
2632
+ flex-direction: row;
2633
+ -moz-box-pack: justify;
2634
+ -webkit-justify-content: distribute;
2635
+ justify-content: space-around;
2636
+ -webkit-box-sizing: border-box;
2637
+ -moz-box-sizing: border-box;
2638
+ box-sizing: border-box;
2639
+ border-radius: 2px;
2640
+ -webkit-tap-highlight-color: transparent;
2641
+ overflow: hidden;
2642
+ cursor: pointer;
2643
+ -webkit-user-select: none;
2644
+ -webkit-animation-duration: .65s;
2645
+ -webkit-animation-timing-function: ease-in-out;
2646
+ -webkit-animation-fill-mode: forwards;
2647
+ -webkit-animation-name: switchAnimationOff;
2648
+ user-select: none;
2649
+ animation-duration: .65s;
2650
+ animation-timing-function: ease-in-out;
2651
+ animation-fill-mode: forwards;
2652
+ animation-name: switchAnimationOff;
2653
+ }
2654
+ .isDesktop .switch:hover {
2655
+ box-shadow: 0 0 2px 2px #007aff;
2656
+ }
2657
+ .switch > em {
2658
+ display: block;
2659
+ position: relative;
2660
+ z-index: 30;
2661
+ top: -1px;
2662
+ border: solid 1px #919191;
2663
+ border-top: solid 1px #e5e5e5;
2664
+ width: 30px;
2665
+ height: 22px;
2666
+ background-color: #cecece;
2667
+ pointer-events: none;
2668
+ -webkit-transform: translate3d(-1px, 0, 0);
2669
+ -moz-transform: translate3d(-1px, 0, 0);
2670
+ transform: translate3d(-1px, 0, 0);
2671
+ -webkit-transition: all 0.1s ease-in-out;
2672
+ -moz-transition: all 0.1s ease-in-out;
2673
+ transition: all 0.1s ease-in-out;
2674
+ }
2675
+ .switch.on {
2676
+ border-color: #003166;
2677
+ }
2678
+ .switch.on > em {
2679
+ -webkit-transform: translate3d(36px, 0, 0);
2680
+ -moz-transform: translate3d(36px, 0, 0);
2681
+ transform: translate3d(36px, 0, 0);
2682
+ background-color: #007aff;
2683
+ border: solid 1px #007aff;
2684
+ border-top: solid 1px #3d9aff;
2685
+ border-left-color: #003166;
2686
+ }
2687
+ .switch > input {
2688
+ display: none;
2689
+ }
2690
+ html[dir=rtl] .switch.on > em {
2691
+ -webkit-transform: translate3d(-36px, 0, 0);
2692
+ -moz-transform: translate3d(-36px, 0, 0);
2693
+ transform: translate3d(-36px, 0, 0);
2694
+ border-left-color: #007aff;
2695
+ border-right-color: #003166;
2696
+ }
2697
+ html[dir=rtl] .switch > em {
2698
+ -webkit-transform: translate3d(2px, 0, 0);
2699
+ -moz-transform: translate3d(2px, 0, 0);
2700
+ transform: translate3d(2px, 0, 0);
2701
+ }
2702
+ /* ==============================
2703
+ Tab Bar
2704
+ =========================== */
2705
+ body.hasTabBar article {
2706
+ top: 77px !important;
2707
+ }
2708
+ body.hasTabBar article .previous:not(.navigable),
2709
+ body.hasTabBar article .next:not(.navigable) {
2710
+ display: none;
2711
+ -webkiit-transform: none;
2712
+ }
2713
+ .tabbar {
2714
+ /* Old syntax */
2715
+ display: -webkit-box;
2716
+ -webkit-box-orient: horizontal;
2717
+ -webkit-box-align: center;
2718
+ -webkit-box-sizing: border-box;
2719
+ -moz-box-sizing: border-box;
2720
+ box-sizing: border-box;
2721
+ height: 30px;
2722
+ position: absolute;
2723
+ left: 0;
2724
+ top: 47px;
2725
+ right: 0;
2726
+ background-color: #cecece;
2727
+ }
2728
+ .tabbar > .button {
2729
+ color: #000000;
2730
+ background-color: #cecece;
2731
+ position: relative;
2732
+ display: block !important;
2733
+ -webkit-box-flex: 1 !important;
2734
+ -moz-box-flex: 1 !important;
2735
+ -webkit-flex: 1 !important;
2736
+ flex: 1 !important;
2737
+ margin: 0;
2738
+ height: 100%;
2739
+ text-align: center;
2740
+ line-height: 17px;
2741
+ padding: 6px 10px 4px;
2742
+ border: none;
2743
+ border-bottom: solid 3px #cecece;
2744
+ border-right: solid 1px #666666;
2745
+ box-shadow: none;
2746
+ border-radius: 0 !important;
2747
+ }
2748
+ .tabbar > .button:last-of-type {
2749
+ border-right: none;
2750
+ border-left: none;
2751
+ }
2752
+ .isDesktop .tabbar > .button:hover {
2753
+ opacity: 1 !important;
2754
+ box-shadow: none !important;
2755
+ border-bottom: solid 3px #007aff;
2756
+ background-color: #007aff !important;
2757
+ color: #ffffff !important;
2758
+ }
2759
+ .tabbar > .button.selected {
2760
+ color: #666666 !important;
2761
+ opacity: 1 !important;
2762
+ box-shadow: none !important;
2763
+ border-bottom: solid 3px #007aff;
2764
+ }
2765
+ .tabbar > .button.more {
2766
+ font-size: 0;
2767
+ display: -moz-box;
2768
+ display: flex;
2769
+ display: -webkit-flex;
2770
+ display: -webkit-box;
2771
+ -webkit-box-orient: vertical;
2772
+ -moz-box-orient: vertical;
2773
+ -webkit-flex-direction: column;
2774
+ flex-direction: column;
2775
+ -moz-box-pack: center;
2776
+ -webkit-justify-content: center;
2777
+ justify-content: center;
2778
+ -webkit-box-align: center;
2779
+ -moz-box-align: center;
2780
+ -webkit-align-items: center;
2781
+ align-items: center;
2782
+ }
2783
+ .tabbar > .button.more::before {
2784
+ content: '';
2785
+ display: block;
2786
+ height: 20px;
2787
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2239px%22%20height%3D%2211px%22%20viewBox%3D%220%200%2039%2011%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22more%22%20fill%3D%22%23666666%22%3E%3Ccircle%20id%3D%22Oval%22%20cx%3D%225.172%22%20cy%3D%225.172%22%20r%3D%225.172%22%3E%3C/circle%3E%3Ccircle%20id%3D%22Oval%22%20cx%3D%2219.172%22%20cy%3D%225.172%22%20r%3D%225.172%22%3E%3C/circle%3E%3Ccircle%20id%3D%22Oval%22%20cx%3D%2233.172%22%20cy%3D%225.172%22%20r%3D%225.172%22%3E%3C/circle%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
2788
+ background-position: 50% 50%;
2789
+ background-size: 40% 40%;
2790
+ background-repeat: no-repeat;
2791
+ }
2792
+ .tabbar > .button.more:hover::before {
2793
+ background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2239px%22%20height%3D%2211px%22%20viewBox%3D%220%200%2039%2011%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22more%22%20fill%3D%22%23ffffff%22%3E%3Ccircle%20id%3D%22Oval%22%20cx%3D%225.172%22%20cy%3D%225.172%22%20r%3D%225.172%22%3E%3C/circle%3E%3Ccircle%20id%3D%22Oval%22%20cx%3D%2219.172%22%20cy%3D%225.172%22%20r%3D%225.172%22%3E%3C/circle%3E%3Ccircle%20id%3D%22Oval%22%20cx%3D%2233.172%22%20cy%3D%225.172%22%20r%3D%225.172%22%3E%3C/circle%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
2794
+ }
2795
+ .tabbar > .button > span,
2796
+ .tabbar > .button > .icon {
2797
+ display: block;
2798
+ -webkit-box-flex: 1 !important;
2799
+ -moz-box-flex: 1 !important;
2800
+ -webkit-flex: 1 !important;
2801
+ flex: 1 !important;
2802
+ }
2803
+ html[dir=rtl] .tabbar > .button:first-child {
2804
+ border-right: none !important;
2805
+ }
2806
+ html[dir=rtl] .tabbar > .button:last-child {
2807
+ border-right: solid 1px #666666 !important;
2808
+ }
2809
+ /* ==============================
2810
+ Carousel styles
2811
+ =========================== */
2812
+ #carousel {
2813
+ width: 100%;
2814
+ height: 100%;
2815
+ margin: 10px auto;
2816
+ -webkit-box-sizing: border-box;
2817
+ -moz-box-sizing: border-box;
2818
+ box-sizing: border-box;
2819
+ background-color: #ccc;
2820
+ }
2821
+ .carousel-track {
2822
+ margin: 0;
2823
+ padding: 0;
2824
+ }
2825
+ .carousel-track > li {
2826
+ -webkit-box-sizing: border-box;
2827
+ -moz-box-sizing: border-box;
2828
+ box-sizing: border-box;
2829
+ list-style: none;
2830
+ margin: 0;
2831
+ padding: 1px !important;
2832
+ position: relative;
2833
+ display: -moz-box;
2834
+ display: flex;
2835
+ display: -webkit-flex;
2836
+ display: -webkit-box;
2837
+ -webkit-box-orient: vertical;
2838
+ -moz-box-orient: vertical;
2839
+ -webkit-flex-direction: column;
2840
+ flex-direction: column;
2841
+ -moz-box-pack: start;
2842
+ -webkit-justify-content: start;
2843
+ justify-content: flex-start;
2844
+ -webkit-box-align: center;
2845
+ -moz-box-align: center;
2846
+ -webkit-align-items: center;
2847
+ align-items: center;
2848
+ overflow: hidden;
2849
+ border-left: solid 1px #999;
2850
+ padding-bottom: 10px;
2851
+ -webkit-user-select: none;
2852
+ }
2853
+ .carousel-track > li.carousel-panel-active {
2854
+ border: none;
2855
+ }
2856
+ .carousel-track > li h2 {
2857
+ width: 100%;
2858
+ -webkit-box-sizing: border-box;
2859
+ -moz-box-sizing: border-box;
2860
+ box-sizing: border-box;
2861
+ }
2862
+ .pagination {
2863
+ list-style: none;
2864
+ height: 10px;
2865
+ padding: 0;
2866
+ margin: 0 auto;
2867
+ display: -moz-box;
2868
+ display: flex;
2869
+ display: -webkit-flex;
2870
+ display: -webkit-box;
2871
+ -webkit-box-orient: horizontal;
2872
+ -moz-box-orient: horizontal;
2873
+ -webkit-flex-direction: row;
2874
+ flex-direction: row;
2875
+ -moz-box-pack: justify;
2876
+ -webkit-justify-content: distribute;
2877
+ justify-content: space-around;
2878
+ }
2879
+ .pagination::after {
2880
+ content: '';
2881
+ display: block;
2882
+ clear: both;
2883
+ }
2884
+ .pagination > li {
2885
+ list-style: none;
2886
+ padding: 0;
2887
+ margin: 0;
2888
+ height: 10px;
2889
+ width: 10px;
2890
+ background-color: #666;
2891
+ margin-right: 5px;
2892
+ border-radius: 50%;
2893
+ }
2894
+ .pagination > li.selected {
2895
+ background-color: #007aff;
2896
+ cursor: pointer;
2897
+ }
2898
+ .pagination > li:last-of-type {
2899
+ margin-right: 0;
2900
+ }
2901
+ .isDesktop .pagination > li:hover {
2902
+ background-color: #007aff;
2903
+ cursor: pointer;
2904
+ }
2905
+ html[dir=rtl] .pagination > li {
2906
+ margin-right: 0;
2907
+ margin-left: 5px;
2908
+ padding: 0 !important;
2909
+ }
2910
+ html[dir=rtl] .pagination > li:last-of-type {
2911
+ margin-left: 0;
2912
+ }
2913
+ .horizontal-scroll-panel {
2914
+ width: 100%;
2915
+ height: 200px;
2916
+ background-color: #ccc;
2917
+ padding: 20px;
2918
+ overflow-x: hidden;
2919
+ overflow-y: auto;
2920
+ -webkit-overflow-scrolling: touch;
2921
+ -ms-overflow-style: -ms-autohiding-scrollbar;
2922
+ overflow-y: hidden !important;
2923
+ overflow-x: auto;
2924
+ }
2925
+ .horizontal-scroll-panel > ul {
2926
+ list-style: none;
2927
+ margin: 0;
2928
+ padding: 0;
2929
+ -webkit-padding-start: 0;
2930
+ font-size: 0;
2931
+ }
2932
+ .horizontal-scroll-panel > ul li {
2933
+ display: inline-block;
2934
+ border: solid 1px #666;
2935
+ box-shadow: 0 0 4px #666;
2936
+ width: 200px;
2937
+ height: 200px;
2938
+ overflow: hidden;
2939
+ margin-right: 20px;
2940
+ font-size: 0;
2941
+ }
2942
+ .horizontal-scroll-panel > ul:first-of-type {
2943
+ margin-left: 0 !important;
2944
+ }
2945
+ .horizontal-scroll-panel > ul:last-of-type {
2946
+ margin-right: 0 !important;
2947
+ }
2948
+ body.isWindows .horizontal-scroll-panel {
2949
+ background-color: #333;
2950
+ }
2951
+ [dir=rtl] .horizontal-scroll-panel li {
2952
+ margin-right: 0 !important;
2953
+ margin-left: 20px !important;
2954
+ }
2955
+ [dir=rtl] .horizontal-scroll-panel li:first-of-type {
2956
+ margin-right: 0 !important;
2957
+ }
2958
+ [dir=rtl] .horizontal-scroll-panel li:last-of-type {
2959
+ margin-left: 0 !important;
2960
+ }
2961
+ @media only screen and (max-device-width: 320px) {
2962
+ .horizontal-scroll-panel {
2963
+ height: 125px;
2964
+ padding: 10px;
2965
+ }
2966
+ .horizontal-scroll-panel li {
2967
+ height: 125px;
2968
+ width: 125px;
2969
+ }
2970
+ }