initial commit

This commit is contained in:
2017-12-14 10:17:13 +01:00
commit db72cb61d3
6942 changed files with 1773088 additions and 0 deletions
+341
View File
@@ -0,0 +1,341 @@
.ladda-button {
position: relative;
}
.ladda-button .ladda-spinner {
position: absolute;
top: 50%;
z-index: 2;
display: inline-block;
width: 32px;
height: 32px;
margin-top: 0;
pointer-events: none;
opacity: 0;
}
.ladda-button .ladda-label {
position: relative;
z-index: 3;
}
.ladda-button .ladda-progress {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
visibility: hidden;
background: rgba(0, 0, 0, .2);
opacity: 0;
transition: .1s linear all;
}
.ladda-button[data-loading] .ladda-progress {
visibility: visible;
opacity: 1;
}
.ladda-button, .ladda-button .ladda-spinner, .ladda-button .ladda-label {
transition: .3s cubic-bezier(.175, .885, .32, 1.275) all;
}
.ladda-button[data-style=zoom-in], .ladda-button[data-style=zoom-in] .ladda-spinner, .ladda-button[data-style=zoom-in] .ladda-label, .ladda-button[data-style=zoom-out], .ladda-button[data-style=zoom-out] .ladda-spinner, .ladda-button[data-style=zoom-out] .ladda-label {
transition: .3s ease all;
}
.ladda-button[data-style=expand-right] .ladda-spinner {
right: -6px;
}
.ladda-button[data-style=expand-right][data-size="s"] .ladda-spinner, .ladda-button[data-style=expand-right][data-size="xs"] .ladda-spinner, .ladda-button[data-style=expand-right].btn-xs .ladda-spinner {
right: -12px;
}
.ladda-button[data-style=expand-right][data-loading] {
padding-right: 45px;
}
.ladda-button[data-style=expand-right][data-loading] .ladda-spinner {
opacity: 1;
}
.ladda-button[data-style=expand-right][data-loading][data-size="s"], .ladda-button[data-style=expand-right][data-loading][data-size="xs"], .ladda-button[data-style=expand-right][data-loading] .btn-xs {
padding-right: 30px;
}
.ladda-button[data-style=expand-left] .ladda-spinner {
left: 26px;
}
.ladda-button[data-style=expand-left][data-size="s"] .ladda-spinner, .ladda-button[data-style=expand-left][data-size="xs"] .ladda-spinner, .ladda-button[data-style=expand-left].btn-xs .ladda-spinner {
left: 15px;
}
.ladda-button[data-style=expand-left][data-loading] {
padding-left: 45px;
}
.ladda-button[data-style=expand-left][data-loading] .ladda-spinner {
opacity: 1;
}
.ladda-button[data-style=expand-left][data-loading][data-size="s"], .ladda-button[data-style=expand-left][data-loading][data-size="xs"], .ladda-button[data-style=expand-left][data-loading].btn-xs {
padding-left: 30px;
}
.ladda-button[data-style=expand-up] {
overflow: hidden;
}
.ladda-button[data-style=expand-up] .ladda-spinner {
top: -32px;
left: 50%;
margin-left: 0;
}
.ladda-button[data-style=expand-up][data-loading] {
padding-top: 30px;
}
.ladda-button[data-style=expand-up][data-loading] .ladda-spinner {
top: 16px;
margin-top: 0;
opacity: 1;
}
.ladda-button[data-style=expand-up][data-loading][data-size="s"], .ladda-button[data-style=expand-up][data-loading][data-size="xs"], .ladda-button[data-style=expand-up][data-loading].btn-xs {
padding-top: 32px;
}
.ladda-button[data-style=expand-up][data-loading][data-size="s"] .ladda-spinner, .ladda-button[data-style=expand-up][data-loading][data-size="xs"] .ladda-spinner, .ladda-button[data-style=expand-up][data-loading].btn-xs .ladda-spinner {
top: 4px;
}
.ladda-button[data-style=expand-down] {
overflow: hidden;
}
.ladda-button[data-style=expand-down] .ladda-spinner {
top: 44px;
left: 50%;
margin-left: 0;
}
.ladda-button[data-style=expand-down][data-size="s"] .ladda-spinner, .ladda-button[data-style=expand-down][data-size="xs"] .ladda-spinner, .ladda-button[data-style=expand-down].btn-xs .ladda-spinner {
top: 30px;
}
.ladda-button[data-style=expand-down][data-loading] {
padding-bottom: 30px;
}
.ladda-button[data-style=expand-down][data-loading] .ladda-spinner {
opacity: 1;
}
.ladda-button[data-style=expand-down][data-loading][data-size="s"], .ladda-button[data-style=expand-down][data-loading][data-size="xs"], .ladda-button[data-style=expand-down][data-loading].btn-xs {
padding-bottom: 23px;
}
.ladda-button[data-style=slide-left] {
overflow: hidden;
}
.ladda-button[data-style=slide-left] .ladda-label {
position: relative;
}
.ladda-button[data-style=slide-left] .ladda-spinner {
left: 100%;
margin-left: 0;
}
.ladda-button[data-style=slide-left][data-loading] .ladda-label {
left: -100%;
opacity: 0;
}
.ladda-button[data-style=slide-left][data-loading] .ladda-spinner {
left: 50%;
opacity: 1;
}
.ladda-button[data-style=slide-right] {
overflow: hidden;
}
.ladda-button[data-style=slide-right] .ladda-label {
position: relative;
}
.ladda-button[data-style=slide-right] .ladda-spinner {
right: 100%;
left: 16px;
margin-left: 0;
}
.ladda-button[data-style=slide-right][data-loading] .ladda-label {
left: 100%;
opacity: 0;
}
.ladda-button[data-style=slide-right][data-loading] .ladda-spinner {
left: 50%;
opacity: 1;
}
.ladda-button[data-style=slide-up] {
overflow: hidden;
}
.ladda-button[data-style=slide-up] .ladda-label {
position: relative;
}
.ladda-button[data-style=slide-up] .ladda-spinner {
left: 50%;
margin-top: 1em;
margin-left: 0;
}
.ladda-button[data-style=slide-up][data-loading] .ladda-label {
top: -1em;
opacity: 0;
}
.ladda-button[data-style=slide-up][data-loading] .ladda-spinner {
margin-top: 0;
opacity: 1;
}
.ladda-button[data-style=slide-down] {
overflow: hidden;
}
.ladda-button[data-style=slide-down] .ladda-label {
position: relative;
}
.ladda-button[data-style=slide-down] .ladda-spinner {
left: 50%;
margin-top: -2em;
margin-left: 0;
}
.ladda-button[data-style=slide-down][data-loading] .ladda-label {
top: 1em;
opacity: 0;
}
.ladda-button[data-style=slide-down][data-loading] .ladda-spinner {
margin-top: 0;
opacity: 1;
}
.ladda-button[data-style=zoom-out] {
overflow: hidden;
}
.ladda-button[data-style=zoom-out] .ladda-spinner {
left: 50%;
margin-left: 32px;
-webkit-transform: scale(2.5);
transform: scale(2.5);
}
.ladda-button[data-style=zoom-out] .ladda-label {
position: relative;
display: inline-block;
}
.ladda-button[data-style=zoom-out][data-loading] .ladda-label {
opacity: 0;
-webkit-transform: scale(.5);
transform: scale(.5);
}
.ladda-button[data-style=zoom-out][data-loading] .ladda-spinner {
margin-left: 0;
opacity: 1;
-webkit-transform: none;
transform: none;
}
.ladda-button[data-style=zoom-in] {
overflow: hidden;
}
.ladda-button[data-style=zoom-in] .ladda-spinner {
left: 50%;
margin-left: -16px;
-webkit-transform: scale(.2);
transform: scale(.2);
}
.ladda-button[data-style=zoom-in] .ladda-label {
position: relative;
display: inline-block;
}
.ladda-button[data-style=zoom-in][data-loading] .ladda-label {
opacity: 0;
-webkit-transform: scale(2.2);
transform: scale(2.2);
}
.ladda-button[data-style=zoom-in][data-loading] .ladda-spinner {
margin-left: 0;
opacity: 1;
-webkit-transform: none;
transform: none;
}
.ladda-button[data-style=contract] {
width: 100px;
overflow: hidden;
}
.ladda-button[data-style=contract] .ladda-spinner {
left: 50%;
margin-left: 0;
}
.ladda-button[data-style=contract][data-loading] {
width: 52px;
border-radius: 50%;
}
.ladda-button[data-style=contract][data-loading] .ladda-label {
opacity: 0;
}
.ladda-button[data-style=contract][data-loading] .ladda-spinner {
opacity: 1;
}
.ladda-button[data-style=contract-overlay] {
width: 100px;
overflow: hidden;
box-shadow: 0 0 0 3000px transparent;
}
.ladda-button[data-style=contract-overlay] .ladda-spinner {
left: 50%;
margin-left: 0;
}
.ladda-button[data-style=contract-overlay][data-loading] {
width: 52px;
border-radius: 50%;
/*outline: 10000px solid rgba( 0, 0, 0, 0.5 );*/
box-shadow: 0 0 0 3000px rgba(0, 0, 0, .8);
}
.ladda-button[data-style=contract-overlay][data-loading] .ladda-label {
opacity: 0;
}
.ladda-button[data-style=contract-overlay][data-loading] .ladda-spinner {
opacity: 1;
}
+8
View File
@@ -0,0 +1,8 @@
/*!
* Ladda for jQuery
* http://lab.hakim.se/ladda
* MIT licensed
*
* Copyright (C) 2015 Hakim El Hattab, http://hakim.se
*/
!function(a,i){"use strict";if(void 0===i)return console.error("jQuery required for Ladda.jQuery");var t=[];(i=i.extend(i,{ladda:function(i){"stopAll"===i&&a.stopAll()}})).fn=i.extend(i.fn,{ladda:function(d){var e=t.slice.call(arguments,1);if("bind"===d)e.unshift(i(this).selector),a.bind.apply(a,e);else{if("isLoading"===d)return i(this).data("ladda").isLoading();i(this).each(function(){var t,n=i(this);void 0===d?n.data("ladda",a.create(this)):(t=n.data("ladda"))[d].apply(t,e)})}return this}})}(this.Ladda,this.jQuery);
+1
View File
File diff suppressed because one or more lines are too long
+9
View File
@@ -0,0 +1,9 @@
/*!
* Ladda 1.0.5 (2017-09-24, 16:55)
* http://lab.hakim.se/ladda
* MIT licensed
*
* Copyright (C) 2017 Hakim El Hattab, http://hakim.se
*/
!function(t,e){"use strict";"object"==typeof exports?module.exports=e(require("spin.js")):"function"==typeof define&&define.amd?define(["spin"],e):t.Ladda=e(t.Spinner)}(this,function(t){"use strict";function e(t){if(void 0!==t){if(/ladda-button/i.test(t.className)||(t.className+=" ladda-button"),t.hasAttribute("data-style")||t.setAttribute("data-style","expand-right"),!t.querySelector(".ladda-label")){var e=document.createElement("span");e.className="ladda-label",r(t,e)}var a,u=t.querySelector(".ladda-spinner");u||((u=document.createElement("span")).className="ladda-spinner"),t.appendChild(u);var i,o={start:function(){return a||(a=n(t)),t.disabled=!0,t.setAttribute("data-loading",""),clearTimeout(i),a.spin(u),this.setProgress(0),this},startAfter:function(t){return clearTimeout(i),i=setTimeout(function(){o.start()},t),this},stop:function(){return o.isLoading()&&(t.disabled=!1,t.removeAttribute("data-loading")),clearTimeout(i),a&&(i=setTimeout(function(){a.stop()},1e3)),this},toggle:function(){return this.isLoading()?this.stop():this.start()},setProgress:function(e){e=Math.max(Math.min(e,1),0);var a=t.querySelector(".ladda-progress");0===e&&a&&a.parentNode?a.parentNode.removeChild(a):(a||((a=document.createElement("div")).className="ladda-progress",t.appendChild(a)),a.style.width=(e||0)*t.offsetWidth+"px")},enable:function(){return this.stop()},disable:function(){return this.stop(),t.disabled=!0,this},isLoading:function(){return t.hasAttribute("data-loading")},remove:function(){clearTimeout(i),t.disabled=!1,t.removeAttribute("data-loading"),a&&(a.stop(),a=null),d.splice(d.indexOf(o),1)}};return d.push(o),o}console.warn("Ladda button target must be defined.")}function a(t,e){for(;t.parentNode&&t.tagName!==e;)t=t.parentNode;return e===t.tagName?t:void 0}function u(t){var e=[];return["input","textarea","select"].forEach(function(a){for(var u=t.getElementsByTagName(a),n=0;n<u.length;n++)u[n].hasAttribute("required")&&e.push(u[n])}),e}function n(e){var a,u,n=e.offsetHeight;0===n&&(n=parseFloat(window.getComputedStyle(e).height)),n>32&&(n*=.8),e.hasAttribute("data-spinner-size")&&(n=parseInt(e.getAttribute("data-spinner-size"),10)),e.hasAttribute("data-spinner-color")&&(a=e.getAttribute("data-spinner-color")),e.hasAttribute("data-spinner-lines")&&(u=parseInt(e.getAttribute("data-spinner-lines"),10));var r=.2*n,i=.6*r,d=r<7?2:3;return new t({color:a||"#fff",lines:u||12,radius:r,length:i,width:d,zIndex:"auto",top:"auto",left:"auto",className:""})}function r(t,e){var a=document.createRange();a.selectNodeContents(t),a.surroundContents(e),t.appendChild(e)}function i(t,n){if("function"==typeof t.addEventListener){var r=e(t),i=-1;t.addEventListener("click",function(){var e=!0,d=a(t,"FORM");if(void 0!==d)if("function"==typeof d.checkValidity)e=d.checkValidity();else for(var o=u(d),s=0;s<o.length;s++){var F=o[s],l=F.getAttribute("type");if(""===F.value.replace(/^\s+|\s+$/g,"")&&(e=!1),"checkbox"!==l&&"radio"!==l||F.checked||(e=!1),"email"===l&&(e=/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i.test(F.value)),"url"===l&&(e=/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(F.value)),!e)break}e&&(r.startAfter(1),"number"==typeof n.timeout&&(clearTimeout(i),i=setTimeout(r.stop,n.timeout)),"function"==typeof n.callback&&n.callback.apply(null,[r]))},!1)}}var d=[];return{bind:function(t,e){var a;if("string"==typeof t)a=document.querySelectorAll(t);else{if("object"!=typeof t)throw new Error("target must be string or object");a=[t]}e=e||{};for(var u=0;u<a.length;u++)i(a[u],e)},create:e,stopAll:function(){for(var t=0,e=d.length;t<e;t++)d[t].stop()}}});
+1
View File
@@ -0,0 +1 @@
!function(t,i){"object"==typeof exports?module.exports=i():"function"==typeof define&&define.amd?define(i):t.Spinner=i()}(this,function(){"use strict";function t(t,i){var e,o=document.createElement(t||"div");for(e in i)o[e]=i[e];return o}function i(t){for(var i=1,e=arguments.length;i<e;i++)t.appendChild(arguments[i]);return t}function e(t,i,e,o){var n=["opacity",i,~~(100*t),e,o].join("-"),r=.01+e/o*100,s=Math.max(1-(1-t)/i*(100-r),t),a=l.substring(0,l.indexOf("Animation")).toLowerCase(),c=a&&"-"+a+"-"||"";return d[n]||(p.insertRule("@"+c+"keyframes "+n+"{0%{opacity:"+s+"}"+r+"%{opacity:"+t+"}"+(r+.01)+"%{opacity:1}"+(r+i)%100+"%{opacity:"+t+"}100%{opacity:"+s+"}}",p.cssRules.length),d[n]=1),n}function o(t,i){var e,o,n=t.style;for(i=i.charAt(0).toUpperCase()+i.slice(1),o=0;o<c.length;o++)if(e=c[o]+i,void 0!==n[e])return e;if(void 0!==n[i])return i}function n(t,i){for(var e in i)t.style[o(t,e)||e]=i[e];return t}function r(t){for(var i=1;i<arguments.length;i++){var e=arguments[i];for(var o in e)void 0===t[o]&&(t[o]=e[o])}return t}function s(t,i){return"string"==typeof t?t:t[i%t.length]}function a(t){this.opts=r(t||{},a.defaults,u)}var l,c=["webkit","Moz","ms","O"],d={},p=function(){var e=t("style",{type:"text/css"});return i(document.getElementsByTagName("head")[0],e),e.sheet||e.styleSheet}(),u={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};a.defaults={},r(a.prototype,{spin:function(i){this.stop();var e=this,o=e.opts,r=e.el=n(t(0,{className:o.className}),{position:o.position,width:0,zIndex:o.zIndex});o.radius,o.length,o.width;if(n(r,{left:o.left,top:o.top}),i&&i.insertBefore(r,i.firstChild||null),r.setAttribute("role","progressbar"),e.lines(r,e.opts),!l){var s,a=0,c=(o.lines-1)*(1-o.direction)/2,d=o.fps,p=d/o.speed,u=(1-o.opacity)/(p*o.trail/100),f=p/o.lines;!function t(){a++;for(var i=0;i<o.lines;i++)s=Math.max(1-(a+(o.lines-i)*f)%p*u,o.opacity),e.opacity(r,i*o.direction+c,s,o);e.timeout=e.el&&setTimeout(t,~~(1e3/d))}()}return e},stop:function(){var t=this.el;return t&&(clearTimeout(this.timeout),t.parentNode&&t.parentNode.removeChild(t),this.el=void 0),this},lines:function(o,r){function a(i,e){return n(t(),{position:"absolute",width:r.length+r.width+"px",height:r.width+"px",background:i,boxShadow:e,transformOrigin:"left",transform:"rotate("+~~(360/r.lines*d+r.rotate)+"deg) translate("+r.radius+"px,0)",borderRadius:(r.corners*r.width>>1)+"px"})}for(var c,d=0,p=(r.lines-1)*(1-r.direction)/2;d<r.lines;d++)c=n(t(),{position:"absolute",top:1+~(r.width/2)+"px",transform:r.hwaccel?"translate3d(0,0,0)":"",opacity:r.opacity,animation:l&&e(r.opacity,r.trail,p+d*r.direction,r.lines)+" "+1/r.speed+"s linear infinite"}),r.shadow&&i(c,n(a("#000","0 0 4px #000"),{top:"2px"})),i(o,i(c,a(s(r.color,d),"0 0 1px rgba(0,0,0,.1)")));return o},opacity:function(t,i,e){i<t.childNodes.length&&(t.childNodes[i].style.opacity=e)}});var f=n(t("group"),{behavior:"url(#default#VML)"});return!o(f,"transform")&&f.adj?function(){function e(i,e){return t("<"+i+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',e)}p.addRule(".spin-vml","behavior:url(#default#VML)"),a.prototype.lines=function(t,o){function r(){return n(e("group",{coordsize:d+" "+d,coordorigin:-c+" "+-c}),{width:d,height:d})}function a(t,a,l){i(u,i(n(r(),{rotation:360/o.lines*t+"deg",left:~~a}),i(n(e("roundrect",{arcsize:o.corners}),{width:c,height:o.width,left:o.radius,top:-o.width>>1,filter:l}),e("fill",{color:s(o.color,t),opacity:o.opacity}),e("stroke",{opacity:0}))))}var l,c=o.length+o.width,d=2*c,p=2*-(o.width+o.length)+"px",u=n(r(),{position:"absolute",top:p,left:p});if(o.shadow)for(l=1;l<=o.lines;l++)a(l,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(l=1;l<=o.lines;l++)a(l);return i(t,u)},a.prototype.opacity=function(t,i,e,o){var n=t.firstChild;o=o.shadow&&o.lines||0,n&&i+o<n.childNodes.length&&(n=(n=(n=n.childNodes[i+o])&&n.firstChild)&&n.firstChild)&&(n.opacity=e)}}():l=o(f,"animation"),a});