diff --git a/.babelrc b/.babelrc index e40a6e4..1320b9a 100644 --- a/.babelrc +++ b/.babelrc @@ -1,13 +1,3 @@ { - "presets": [ - [ - "@babel/preset-env", - { - "targets": { - "ie": "11" - }, - "useBuiltIns": "usage" - } - ] - ] + "presets": ["@babel/preset-env"] } diff --git a/README.md b/README.md index 4b3fa8a..9658856 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ -Locomotive's Front-end Boilerplate -================================== - -Front-end boilerplate for projects by [Locomotive][locomtl]. +

+ + + +

+

Locomotive Boilerplate

+

Front-end boilerplate for projects by Locomotive.

## Installation ```sh -# install mbp and gulp -npm install mbp gulp@next -g +npm install mbp gulp -g ``` ## Usage @@ -19,9 +21,7 @@ gulp ``` ## Configuration -Change the mentions of `boilerplate` for your project's name in -- `mconfig.json` -- `assets/scripts/utils/environment.js` +Change the mentions of `boilerplate` for your project's name in `mconfig.json`. ## CSS diff --git a/assets/scripts/app.js b/assets/scripts/app.js index c4732fc..afa6a36 100644 --- a/assets/scripts/app.js +++ b/assets/scripts/app.js @@ -1,161 +1,10 @@ -import { APP_NAME, $document, $pjaxWrapper } from './utils/environment'; - +import modular from 'modujs'; +import * as modules from './modules'; import globals from './globals'; -import { arrayContains, removeFromArray } from './utils/array'; -import { getNodeData } from './utils/html'; -import { isFunction } from './utils/is'; +const app = new modular({ + modules: modules +}); -// Basic modules -import * as modules from './modules'; - -const MODULE_NAME = 'App'; -const EVENT_NAMESPACE = `${APP_NAME}.${MODULE_NAME}`; - -export const EVENT = { - INIT_MODULES: `initModules.${EVENT_NAMESPACE}`, - INIT_SCOPED_MODULES: `initScopedModules.${EVENT_NAMESPACE}`, - DELETE_SCOPED_MODULES: `deleteScopedModules.${EVENT_NAMESPACE}` -}; - -class App { - constructor() { - this.modules = modules; - this.currentModules = []; - - $document.on(EVENT.INIT_MODULES, (event) => { - this.initGlobals(event.firstBlood) - .deleteModules(event) - .initModules(event); - }); - - $document.on(EVENT.INIT_SCOPED_MODULES, (event) => { - this.initModules(event); - }); - - $document.on(EVENT.DELETE_SCOPED_MODULES, (event) => { - this.deleteModules(event); - }); - } - - /** - * Destroy all existing modules or a specific scope of modules - * @param {Object} event The event being triggered. - * @return {Object} Self (allows chaining) - */ - deleteModules(event) { - let destroyAll = true; - let moduleIds = []; - - // Check for scope first - if (event.$scope instanceof jQuery && event.$scope.length > 0) { - // Modules within scope - const $modules = event.$scope.find('[data-module]'); - - // Determine their uids - moduleIds = $.makeArray($modules.map(function(index) { - return $modules.eq(index).data('uid'); - })); - - if (moduleIds.length > 0) { - destroyAll = false; - } else { - return this; - } - } - - // Loop modules and destroying all of them, or specific ones - let i = this.currentModules.length; - - while (i--) { - if (destroyAll || arrayContains(moduleIds, this.currentModules[i].uid)) { - removeFromArray(moduleIds, this.currentModules[i].uid); - this.currentModules[i].destroy(); - this.currentModules.splice(i, 1); - } - } - - return this; - } - - /** - * Execute global functions and settings - * Allows you to initialize global modules only once if you need - * (ex.: when using Barba.js or SmoothState.js) - * @return {Object} Self (allows chaining) - */ - initGlobals(firstBlood) { - globals(firstBlood); - return this; - } - - /** - * Find modules and initialize them - * @param {Object} event The event being triggered. - * @return {Object} Self (allows chaining) - */ - initModules(event) { - // Elements with module - let $moduleEls = []; - - // If first blood, load all modules in the DOM - // If scoped, render elements with modules - // If Barba, load modules contained in Barba container - if (event.firstBlood) { - $moduleEls = $document.find('[data-module]'); - } else if (event.$scope instanceof jQuery && event.$scope.length > 0) { - $moduleEls = event.$scope.find('[data-module]'); - } else if (event.isPjax) { - $moduleEls = $pjaxWrapper.find('[data-module]'); - } - - // Loop through elements - let i = 0; - const elsLen = $moduleEls.length; - - for (; i < elsLen; i++) { - - // Current element - let el = $moduleEls[i]; - - // All data- attributes considered as options - let options = getNodeData(el); - - // Add current DOM element and jQuery element - options.el = el; - options.$el = $moduleEls.eq(i); - - // Module does exist at this point - let attr = options.module; - - // Splitting modules found in the data-attribute - let moduleIdents = attr.split(/[,\s]+/g); - - // Loop modules - let j = 0; - let modulesLen = moduleIdents.length; - - for (; j < modulesLen; j++) { - let moduleAttr = moduleIdents[j]; - - if (typeof this.modules[moduleAttr] === 'function') { - let module = new this.modules[moduleAttr](options); - this.currentModules.push(module); - module.init(); - } - } - } - - return this; - } -} - -// IIFE for loading the application -// ========================================================================== -(function() { - new App(); - $document.triggerHandler({ - type: EVENT.INIT_MODULES, - firstBlood: true - }); -})(); +app.init(app); +globals(); diff --git a/assets/scripts/globals.js b/assets/scripts/globals.js index 2be37e8..73cc387 100644 --- a/assets/scripts/globals.js +++ b/assets/scripts/globals.js @@ -1,10 +1,5 @@ -import TransitionManager from './transitions/TransitionManager'; import svg4everybody from 'svg4everybody'; -export default function(firstBlood) { +export default function() { svg4everybody(); - - if (firstBlood) { - const transitionManager = new TransitionManager(); - } } diff --git a/assets/scripts/modules.js b/assets/scripts/modules.js index 911f288..a16ec92 100644 --- a/assets/scripts/modules.js +++ b/assets/scripts/modules.js @@ -1,2 +1,2 @@ -export {default as Example} from './modules/Example'; -export {default as Scroll} from './modules/Scroll'; +export {default as load} from './modules/load'; +export {default as scroll} from './modules/scroll'; diff --git a/assets/scripts/modules/AbstractModule.js b/assets/scripts/modules/AbstractModule.js deleted file mode 100644 index 55fee26..0000000 --- a/assets/scripts/modules/AbstractModule.js +++ /dev/null @@ -1,24 +0,0 @@ -let uid = 0; - -/** - * Abstract Module - */ -export default class { - constructor(options) { - this.$el = options.$el || null; - this.el = options.el || null; - - // Generate a unique module identifier - this.uid = 'm-' + uid++; - // Use jQuery's data API to "store it in the DOM" - this.$el.data('uid', this.uid); - } - - init() {} - - destroy() { - if (this.$el) { - this.$el.removeData('uid') - } - } -} diff --git a/assets/scripts/modules/Example.js b/assets/scripts/modules/Example.js index 15829a8..b24436c 100644 --- a/assets/scripts/modules/Example.js +++ b/assets/scripts/modules/Example.js @@ -1,30 +1,11 @@ -import { APP_NAME } from '../utils/environment'; -import AbstractModule from './AbstractModule'; - -const MODULE_NAME = 'Example'; -const EVENT_NAMESPACE = `${APP_NAME}.${MODULE_NAME}`; - -const EVENT = { - CLICK: `click.${EVENT_NAMESPACE}` -}; - -export default class extends AbstractModule { - constructor(options) { - super(options); - - // Declaration of properties - console.log('🔨 [module]:constructor - Example'); +import { module } from 'modujs'; +export default class extends module { + constructor(m) { + super(m); } init() { - // Set events and such } - - destroy() { - console.log('❌ [module]:destroy - Example'); - super.destroy(); - this.$el.off(`.${EVENT_NAMESPACE}`); - } } diff --git a/assets/scripts/modules/Scroll.js b/assets/scripts/modules/Scroll.js index c17a9b9..760ca8d 100644 --- a/assets/scripts/modules/Scroll.js +++ b/assets/scripts/modules/Scroll.js @@ -1,31 +1,25 @@ -import { APP_NAME, $document } from '../utils/environment'; -import AbstractModule from './AbstractModule'; +import { module } from 'modujs'; +import { $document } from '../utils/environment' import ScrollManager from '../scroll/vendors/ScrollManager'; -const MODULE_NAME = 'Scroll'; -const EVENT_NAMESPACE = `${APP_NAME}.${MODULE_NAME}`; - -export default class extends AbstractModule { - constructor(options) { - super(options); +export default class extends module { + constructor(m) { + super(m); } init() { - setTimeout(() => { - this.scrollManager = new ScrollManager({ - container: this.$el, - selector: '.js-animate', - smooth: false, - smoothMobile: false, - mobileContainer: $document, - getWay: false, - getSpeed: false - }); - }, 500); + this.scrollManager = new ScrollManager({ + container: this.$el, + selector: '.js-animate', + smooth: false, + smoothMobile: false, + mobileContainer: $document, + getWay: false, + getSpeed: false + }); } destroy() { - super.destroy(); this.scrollManager.destroy(); } } diff --git a/assets/scripts/modules/load.js b/assets/scripts/modules/load.js new file mode 100644 index 0000000..cf9b1b6 --- /dev/null +++ b/assets/scripts/modules/load.js @@ -0,0 +1,22 @@ +import { module } from 'modujs'; +import modularLoad from 'modularload'; + +export default class extends module { + constructor(m) { + super(m); + } + + init() { + const load = new modularLoad({ + enterDelay: 0 + }); + + load.on('loaded', (transition, oldContainer, newContainer) => { + this.call('destroy', oldContainer, 'app'); + }) + + load.on('ready', (transition, newContainer) => { + this.call('update', newContainer, 'app'); + }) + } +} diff --git a/package.json b/package.json index c977c24..6c1fbdf 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,9 @@ "author": "Locomotive ", "dependencies": { "locomotive-scroll": "git+https://git@github.com/locomotivemtl/locomotive-scroll.git", + "modujs": "*", + "modularload": "*", "normalize.css": "*", - "pjax": "*", "smooth-scrollbar": "git+https://git@github.com/locomotivemtl/smooth-scrollbar.git#develop", "svg4everybody": "*" }, diff --git a/www/assets/scripts/app.js b/www/assets/scripts/app.js index 88685f1..a1180a3 100644 --- a/www/assets/scripts/app.js +++ b/www/assets/scripts/app.js @@ -1 +1,641 @@ -!function i(a,s,u){function l(e,t){if(!s[e]){if(!a[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(c)return c(e,!0);var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}var o=s[e]={exports:{}};a[e][0].call(o.exports,function(t){return l(a[e][1][t]||t)},o,o.exports,i,a,s,u)}return s[e].exports}for(var c="function"==typeof require&&require,t=0;t=t.offset&&r<=t.limit;else if("below"===t.position)i=r>t.limit;else if(t.sticky)i=r>=t.offset&&r<=t.limit;else if(null!=t.viewportOffset)if(1t.offset&&at.offset&&s=t.offset&&r<=t.limit;if(t.sticky&&(r>t.limit?t.$element.addClass("is-unstuck"):t.$element.removeClass("is-unstuck"),rthis.scroll.y?"down"!==this.scroll.direction&&(this.scroll.direction="down"):n=i.offset&&this.scroll.y<=i.limit;if(this.toggleElement(i,r),t&&!u&&i.speed&&"top"!==i.position&&(s=(i.offset-this.windowMiddle-i.middle)*-i.speed),u&&i.speed)switch(i.position){case"top":s=this.scrollbar.scrollTop*-i.speed;break;case"bottom":s=(this.scrollbarLimit-a)*i.speed;break;default:s=(n-i.middle)*-i.speed}(0,j.isNumeric)(s)&&(i.horizontal?this.transformElement(i.$element,s):this.transformElement(i.$element,0,s))}}},{key:"updateElements",value:function(t){t=t||{},this.scrollbar.update(),this.windowHeight=i.$window.height(),this.windowMiddle=this.windowHeight/2,this.setScrollbarLimit(),this.setWheelDirection(this.isReversed),this.addElements(),this.transformElements(!0),"function"==typeof t.callback&&t.callback(),this.renderAnimations(!1,status)}},{key:"setWheelDirection",value:function(t){this.scrollbar.reverseWheel(t)}},{key:"destroy",value:function(){d(h(n.prototype),"destroy",this).call(this),i.$html.removeClass("has-smooth-scroll"),this.parallaxElements=[],this.scrollbar.destroy()}}])&&c(e.prototype,r),o&&c(e,o),n}();n.default=o},{"../../utils/debounce":17,"../../utils/environment":18,"../../utils/is":20,"../Scroll":7,"smooth-scrollbar":45}],12:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t("../utils/environment"),i=t("./TransitionManager");function a(t,e){for(var n=0;n/g,">")},n.unescapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},n.getNodeData=function(t){var e=t.attributes,n=/^data\-(.+)$/,r={};for(var o in e)if(e[o]){var i=e[o].name;if(i){var a=i.match(n);a&&(r[a[1]]=s(t.getAttribute(i)))}}return r},n.getData=s;var r=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/;function s(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:r.test(t)?JSON.parse(t):t)}},{}],20:[function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.isArray=function(t){return"[object Array]"===o.call(t)},n.isArrayLike=function(t){return i.test(o.call(t))},n.isEqual=function(t,e){return null===t&&null===e||"object"!==r(t)&&"object"!==r(e)&&t===e},n.isNumeric=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},n.isObject=function(t){return t&&"[object Object]"===o.call(t)},n.isFunction=function(t){return t&&"[object Function]"==={}.toString.call(t)};var o=Object.prototype.toString,i=/^\[object (?:Array|FileList)\]$/},{}],21:[function(o,t,e){var a=o("./lib/execute-scripts.js"),s=o("./lib/foreach-els.js"),n=o("./lib/parse-options.js"),r=o("./lib/switches"),u=o("./lib/uniqueid.js"),i=o("./lib/events/on.js"),l=o("./lib/events/trigger.js"),c=o("./lib/util/clone.js"),f=o("./lib/util/contains.js"),d=o("./lib/util/extend.js"),h=o("./lib/util/noop"),p=function(t){this.state={numPendingSwitches:0,href:null,options:null},this.options=n(t),this.log("Pjax options",this.options),this.options.scrollRestoration&&"scrollRestoration"in history&&(history.scrollRestoration="manual"),this.maxUid=this.lastUid=u(),this.parseDOM(document),i(window,"popstate",function(t){if(t.state){var e=c(this.options);e.url=t.state.url,e.title=t.state.title,e.history=!1,e.scrollPos=t.state.scrollPos,t.state.uid]+>/gi);if(r&&r.length&&(r=r[0].match(/\s?[a-z:]+(?:\=(?:\'|\")[^\'\">]+(?:\'|\"))*/gi)).length&&(r.shift(),r.forEach(function(t){var e=t.trim().split("=");1===e.length?n.documentElement.setAttribute(e[0],!0):n.documentElement.setAttribute(e[0],e[1].slice(1,-1))})),n.documentElement.innerHTML=t,this.log("load content",n.documentElement.attributes,n.documentElement.innerHTML.length),document.activeElement&&f(document,this.options.selectors,document.activeElement))try{document.activeElement.blur()}catch(t){}this.switchSelectors(this.options.selectors,n,document,e)},abortRequest:o("./lib/abort-request.js"),doRequest:o("./lib/send-request.js"),handleResponse:o("./lib/proto/handle-response.js"),loadUrl:function(t,e){e="object"==typeof e?d({},this.options,e):c(this.options),this.log("load href",t,e),this.abortRequest(this.request),l(document,"pjax:send",e),this.request=this.doRequest(t,e,this.handleResponse.bind(this))},afterAllSwitches:function(){var t=Array.prototype.slice.call(document.querySelectorAll("[autofocus]")).pop();t&&document.activeElement!==t&&t.focus(),this.options.selectors.forEach(function(t){s(document.querySelectorAll(t),function(t){a(t)})});var e=this.state;if(e.options.history&&(window.history.state||(this.lastUid=this.maxUid=u(),window.history.replaceState({url:window.location.href,title:document.title,uid:this.maxUid,scrollPos:[0,0]},document.title)),this.lastUid=this.maxUid=u(),window.history.pushState({url:e.href,title:e.options.title,uid:this.maxUid,scrollPos:[0,0]},e.options.title,e.href)),this.forEachSelectors(function(t){this.parseDOM(t)},this),l(document,"pjax:complete pjax:success",e.options),"function"==typeof e.options.analytics&&e.options.analytics(),e.options.history){var n=document.createElement("a");if(n.href=this.state.href,n.hash){var r=n.hash.slice(1);r=decodeURIComponent(r);var o=0,i=document.getElementById(r)||document.getElementsByName(r)[0];if(i&&i.offsetParent)for(;o+=i.offsetTop,i=i.offsetParent;);window.scrollTo(0,o)}else!1!==e.options.scrollTo&&(1 or
submit"}}},{}],36:[function(t,e,n){var f=t("./util/update-query-string");e.exports=function(e,n,r){var t,o=(n=n||{}).requestOptions||{},i=(o.requestMethod||"GET").toUpperCase(),a=o.requestParams||null,s=o.formData||null,u=null,l=new XMLHttpRequest,c=n.timeout||0;if(l.onreadystatechange=function(){4===l.readyState&&(200===l.status?r(l.responseText,l,e,n):0!==l.status&&r(null,l,e,n))},l.onerror=function(t){console.log(t),r(null,l,e,n)},l.ontimeout=function(){r(null,l,e,n)},a&&a.length)switch(t=a.map(function(t){return t.name+"="+t.value}).join("&"),i){case"GET":e=e.split("?")[0],e+="?"+t;break;case"POST":u=t}else s&&(u=s);return n.cacheBust&&(e=f(e,"t",Date.now())),l.open(i,e,!0),l.timeout=c,l.setRequestHeader("X-Requested-With","XMLHttpRequest"),l.setRequestHeader("X-PJAX","true"),l.setRequestHeader("X-PJAX-Selectors",JSON.stringify(n.selectors)),u&&"POST"===i&&!s&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),l.send(u),l}},{"./util/update-query-string":44}],37:[function(t,e,n){var r=t("./foreach-els"),c=t("./switches");e.exports=function(a,s,t,e,n,u){var l=[];t.forEach(function(o){var t=e.querySelectorAll(o),i=n.querySelectorAll(o);if(this.log&&this.log("Pjax switch",o,t,i),t.length!==i.length)throw"DOM doesn’t look the same on new loaded page: ’"+o+"’ - new "+t.length+", old "+i.length;r(t,function(t,e){var n=i[e];this.log&&this.log("newEl",t,"oldEl",n);var r=a[o]?a[o].bind(this,n,t,u,s[o]):c.outerHTML.bind(this,n,t,u);l.push(r)},this)},this),this.state.numPendingSwitches=l.length,l.forEach(function(t){t()})}},{"./foreach-els":27,"./switches":38}],38:[function(t,e,n){var f=t("./events/on.js");e.exports={outerHTML:function(t,e){t.outerHTML=e.outerHTML,this.onSwitch()},innerHTML:function(t,e){t.innerHTML=e.innerHTML,""===e.className?t.removeAttribute("class"):t.className=e.className,this.onSwitch()},switchElementsAlt:function(t,e){if(t.innerHTML=e.innerHTML,e.hasAttributes())for(var n=e.attributes,r=0;r\n \n \n \n ';var o=r.querySelector(".scroll-content");return[].concat(i(r.childNodes)).forEach(function(t){return e.appendChild(t)}),n.forEach(function(t){return o.appendChild(t)}),new l.SmoothScrollbar(e,t)},l.SmoothScrollbar.initAll=function(e){return[].concat(i(document.querySelectorAll(c.selectors))).map(function(t){return l.SmoothScrollbar.init(t,e)})},l.SmoothScrollbar.has=function(t){return c.sbList.has(t)},l.SmoothScrollbar.get=function(t){return c.sbList.get(t)},l.SmoothScrollbar.getAll=function(){return[].concat(i(c.sbList.values()))},l.SmoothScrollbar.destroy=function(t,e){return l.SmoothScrollbar.has(t)&&l.SmoothScrollbar.get(t).destroy(e)},l.SmoothScrollbar.destroyAll=function(e){c.sbList.forEach(function(t){t.destroy(e)})},t.exports=e.default},function(t,e,n){t.exports={default:n(3),__esModule:!0}},function(t,e,n){n(4),n(48),t.exports=n(12).Array.from},function(t,e,n){"use strict";var r=n(5)(!0);n(8)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var u=n(6),l=n(7);t.exports=function(s){return function(t,e){var n,r,o=String(l(t)),i=u(e),a=o.length;return i<0||a<=i?s?"":void 0:(n=o.charCodeAt(i))<55296||56319document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c[l][a[n]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[l]=o(t),n=new u,u[l]=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var a=n(16),s=n(17),u=n(31);t.exports=n(20)?Object.defineProperties:function(t,e){s(t);for(var n,r=u(e),o=r.length,i=0;io;)a(r,n=e[o++])&&(~u(i,n)||i.push(n));return i}},function(t,e,n){var r=n(34),o=n(7);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(35);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var u=n(33),l=n(37),c=n(38);t.exports=function(s){return function(t,e,n){var r,o=u(t),i=l(o.length),a=c(n,i);if(s&&e!=e){for(;a=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){e.f=n(45)},function(t,e,n){t.exports={default:n(63),__esModule:!0}},function(t,e,n){n(64),n(74),n(75),n(76),t.exports=n(12).Symbol},function(t,e,n){"use strict";var r=n(11),a=n(25),o=n(20),i=n(10),s=n(26),u=n(65).KEY,l=n(21),c=n(40),f=n(44),d=n(41),h=n(45),p=n(61),v=n(66),y=n(67),m=n(70),b=n(17),_=n(18),g=n(33),w=n(23),E=n(24),O=n(29),S=n(71),x=n(73),M=n(16),j=n(31),P=x.f,T=M.f,k=S.f,A=r.Symbol,L=r.JSON,C=L&&L.stringify,R="prototype",N=h("_hidden"),D=h("toPrimitive"),I={}.propertyIsEnumerable,$=c("symbol-registry"),H=c("symbols"),q=c("op-symbols"),V=Object[R],F="function"==typeof A,U=r.QObject,B=!U||!U[R]||!U[R].findChild,z=o&&l(function(){return 7!=O(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(V,e);r&&delete V[e],T(t,e,n),r&&t!==V&&T(V,e,r)}:T,W=function(t){var e=H[t]=O(A[R]);return e._k=t,e},G=F&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},X=function(t,e,n){return t===V&&X(q,e,n),b(t),e=w(e,!0),b(n),a(H,e)?(n.enumerable?(a(t,N)&&t[N][e]&&(t[N][e]=!1),n=O(n,{enumerable:E(0,!1)})):(a(t,N)||T(t,N,E(1,{})),t[N][e]=!0),z(t,e,n)):T(t,e,n)},Y=function(t,e){b(t);for(var n,r=y(e=g(e)),o=0,i=r.length;oo;)a(H,e=n[o++])||e==N||e==u||r.push(e);return r},Z=function(t){for(var e,n=t===V,r=k(n?q:g(t)),o=[],i=0;r.length>i;)!a(H,e=r[i++])||n&&!a(V,e)||o.push(H[e]);return o};F||(s((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=d(0et;)h(tt[et++]);for(var nt=j(h.store),rt=0;nt.length>rt;)v(nt[rt++]);i(i.S+i.F*!F,"Symbol",{for:function(t){return a($,t+="")?$[t]:$[t]=A(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in $)if($[e]===t)return e},useSetter:function(){B=!0},useSimple:function(){B=!1}}),i(i.S+i.F*!F,"Object",{create:function(t,e){return void 0===e?O(t):Y(O(t),e)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:Z}),L&&i(i.S+i.F*(!F||l(function(){var t=A();return"[null]"!=C([t])||"{}"!=C({a:t})||"{}"!=C(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!G(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,C.apply(L,r)}}),A[R][D]||n(15)(A[R],D,A[R].valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(41)("meta"),o=n(18),i=n(25),a=n(16).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(21)(function(){return u(Object.preventExtensions({}))}),c=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return l&&f.NEED&&u(t)&&!i(t,r)&&c(t),t}}},function(t,e,n){var r=n(11),o=n(12),i=n(9),a=n(61),s=n(16).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var s=n(31),u=n(68),l=n(69);t.exports=function(t){var e=s(t),n=u.f;if(n)for(var r,o=n(t),i=l.f,a=0;o.length>a;)i.call(t,r=o[a++])&&e.push(r);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(35);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(33),o=n(72).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(32),o=n(42).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(69),o=n(24),i=n(33),a=n(23),s=n(25),u=n(19),l=Object.getOwnPropertyDescriptor;e.f=n(20)?l:function(t,e){if(t=i(t),e=a(e,!0),u)try{return l(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(66)("asyncIterator")},function(t,e,n){n(66)("observable")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var l=r(n(78)),c=r(n(81)),o=r(n(85));Object.defineProperty(e,"__esModule",{value:!0}),e.SmoothScrollbar=void 0;var i=function(){function r(t,e){for(var n=0;ni.y&&!a&&(a=!0,setTimeout(function(){return r(t)})),n.y-e.y>o&&(a=!1),i=e})}}},function(t,e,n){"use strict";n(77).SmoothScrollbar.prototype.isVisible=function(t){var e=this.bounding,n=t.getBoundingClientRect(),r=Math.max(e.top,n.top),o=Math.max(e.left,n.left),i=Math.min(e.right,n.right);return ri.x?"right":"left",y:e===i.y?"none":e>i.y?"down":"up"},this.__readonly("offset",{x:t,y:e}),r.limit=l({},a),r.offset=l({},this.offset),this.__setThumbPosition(),(0,c.setStyle)(s.content,{"-transform":"translate3d("+-t+"px, "+-e+"px, 0)"}),n||u.forEach(function(t){o.syncCallbacks?t(r):requestAnimationFrame(function(){t(r)})}))}},function(t,e,n){"use strict";function r(t,e,n){return e in t?(0,u.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){var l=0=i?n=0:n/=s}if(o.y&&l.__willOverscroll("y",r)){var u=2;"bounce"===a.overscrollEffect&&(u+=Math.abs(10*o.y/i)),Math.abs(o.y)>=i?r=0:r/=u}l.__autoLockMovement(),t.preventDefault(),l.__addMovement(n,r,!0),f=l}}),this.__addEvent(e,"touchcancel touchend",function(t){if(!l.__isDrag){var n=l.options.speed,r=c.getVelocity(),o={};(0,i.default)(r).forEach(function(t){var e=(0,u.pickInRange)(r[t]*s.GLOBAL_ENV.EASING_MULTIPLIER,-1e3,1e3);o[t]=100 collection + for (// get the cached index + var index = 0; index < uses.length; ) { + // get the current + var use = uses[index], parent = use.parentNode, svg = getSVGAncestor(parent), src = use.getAttribute("xlink:href") || use.getAttribute("href"); + if (!src && opts.attributeName && (src = use.getAttribute(opts.attributeName)), + svg && src) { + if (polyfill) { + if (!opts.validate || opts.validate(src, svg, use)) { + // remove the element + parent.removeChild(use); + // parse the src and get the url and id + var srcSplit = src.split("#"), url = srcSplit.shift(), id = srcSplit.join("#"); + // if the link is external + if (url.length) { + // get the cached xhr request + var xhr = requests[url]; + // ensure the xhr request exists + xhr || (xhr = requests[url] = new XMLHttpRequest(), xhr.open("GET", url), xhr.send(), + xhr._embeds = []), // add the svg and id as an item to the xhr embeds list + xhr._embeds.push({ + parent: parent, + svg: svg, + id: id + }), // prepare the xhr ready state change event + loadreadystatechange(xhr); + } else { + // embed the local id into the svg + embed(parent, svg, document.getElementById(id)); + } + } else { + // increase the index when the previous value was not "valid" + ++index, ++numberOfSvgUseElementsToBypass; + } + } + } else { + // increase the index when the previous value was not "valid" + ++index; + } + } + // continue the interval + (!uses.length || uses.length - numberOfSvgUseElementsToBypass > 0) && requestAnimationFrame(oninterval, 67); + } + var polyfill, opts = Object(rawopts), newerIEUA = /\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/, webkitUA = /\bAppleWebKit\/(\d+)\b/, olderEdgeUA = /\bEdge\/12\.(\d+)\b/, edgeUA = /\bEdge\/.(\d+)\b/, inIframe = window.top !== window.self; + polyfill = "polyfill" in opts ? opts.polyfill : newerIEUA.test(navigator.userAgent) || (navigator.userAgent.match(olderEdgeUA) || [])[1] < 10547 || (navigator.userAgent.match(webkitUA) || [])[1] < 537 || edgeUA.test(navigator.userAgent) && inIframe; + // create xhr requests object + var requests = {}, requestAnimationFrame = window.requestAnimationFrame || setTimeout, uses = document.getElementsByTagName("use"), numberOfSvgUseElementsToBypass = 0; + // conditionally start the interval if the polyfill is active + polyfill && oninterval(); + } + function getSVGAncestor(node) { + for (var svg = node; "svg" !== svg.nodeName.toLowerCase() && (svg = svg.parentNode); ) {} + return svg; + } + return svg4everybody; + }); + }); + + function globals () { + svg4everybody(); + } + + var app = new _default$1({ + modules: modules + }); + app.init(app); + globals(); + +}()); +//# sourceMappingURL=app.js.map diff --git a/www/assets/scripts/app.js.map b/www/assets/scripts/app.js.map new file mode 100644 index 0000000..738569d --- /dev/null +++ b/www/assets/scripts/app.js.map @@ -0,0 +1 @@ +{"version":3,"file":"app.js","sources":["../../../node_modules/modujs/dist/main.esm.js","../../../assets/scripts/modules/example.js","../../../node_modules/svg4everybody/dist/svg4everybody.js","../../../assets/scripts/globals.js","../../../assets/scripts/app.js"],"sourcesContent":["function _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}\n\nvar _default =\n/*#__PURE__*/\nfunction () {\n function _default(options) {\n _classCallCheck(this, _default);\n\n this.mAttr = 'data-' + options.name;\n this.el = options.el;\n }\n\n _createClass(_default, [{\n key: \"mInit\",\n value: function mInit(modules) {\n var _this = this;\n\n this.modules = modules;\n this.mCheckEventTarget = this.mCheckEventTarget.bind(this);\n\n if (this.events) {\n Object.keys(this.events).forEach(function (event) {\n return _this.mAddEvent(event);\n });\n }\n }\n }, {\n key: \"mUpdate\",\n value: function mUpdate(modules) {\n this.modules = modules;\n }\n }, {\n key: \"mDestroy\",\n value: function mDestroy() {\n var _this2 = this;\n\n if (this.events) {\n Object.keys(this.events).forEach(function (event) {\n return _this2.mRemoveEvent(event);\n });\n }\n }\n }, {\n key: \"mAddEvent\",\n value: function mAddEvent(event) {\n this.el.addEventListener(event, this.mCheckEventTarget);\n }\n }, {\n key: \"mRemoveEvent\",\n value: function mRemoveEvent(event) {\n this.el.removeEventListener(event, this.mCheckEventTarget);\n }\n }, {\n key: \"mCheckEventTarget\",\n value: function mCheckEventTarget(e) {\n var event = this.events[e.type];\n\n if (typeof event === \"string\") {\n this[event](e);\n } else {\n var data = '[' + this.mAttr + ']';\n var target = e.target;\n\n while (target && target !== document) {\n if (target.matches(data)) {\n var name = target.getAttribute(this.mAttr);\n\n if (event.hasOwnProperty(name)) {\n var method = event[name];\n Object.defineProperty(e, 'currentTarget', {\n value: target\n });\n this[method](e);\n break;\n }\n }\n\n target = target.parentNode;\n }\n }\n }\n }, {\n key: \"$\",\n value: function $(query, context) {\n var classIndex = query.indexOf('.');\n var idIndex = query.indexOf('#');\n var name = query;\n var more = '';\n var parent = this.el;\n\n if (classIndex != -1 || idIndex != -1) {\n var index;\n\n if (classIndex != -1 && idIndex == -1) {\n index = classIndex;\n } else if (idIndex != -1 && classIndex == -1) {\n index = idIndex;\n } else {\n index = Math.min(classIndex, idIndex);\n }\n\n name = query.slice(0, index);\n more = query.slice(index);\n }\n\n if (_typeof(context) == 'object') {\n parent = context;\n }\n\n var els = parent.querySelectorAll('[' + this.mAttr + '=' + name + ']' + more);\n\n if (els.length == 1) {\n return els[0];\n } else {\n return els;\n }\n }\n }, {\n key: \"parent\",\n value: function parent(query, context) {\n var data = '[' + this.mAttr + '=' + query + ']';\n var parent = context;\n\n while (parent && parent !== document) {\n if (parent.matches(data)) {\n return parent;\n }\n\n parent = parent.parentNode;\n }\n }\n }, {\n key: \"call\",\n value: function call(func, args, mod, id) {\n var _this3 = this;\n\n if (args && !mod) {\n mod = args;\n args = false;\n }\n\n if (id) {\n this.modules[mod][id][func](args);\n } else {\n Object.keys(this.modules[mod]).forEach(function (id) {\n _this3.modules[mod][id][func](args);\n });\n }\n }\n }, {\n key: \"init\",\n value: function init() {}\n }, {\n key: \"destroy\",\n value: function destroy() {}\n }]);\n\n return _default;\n}();\n\nvar _default$1 =\n/*#__PURE__*/\nfunction () {\n function _default(options) {\n _classCallCheck(this, _default);\n\n this.app;\n this.modules = options.modules;\n this.currentModules = {};\n this.activeModules = {};\n this.newModules = {};\n this.moduleId = 0;\n }\n\n _createClass(_default, [{\n key: \"init\",\n value: function init(app, scope) {\n var _this = this;\n\n var container = scope || document;\n var elements = container.querySelectorAll('*');\n\n if (app && !this.app) {\n this.app = app;\n }\n\n this.activeModules['app'] = {\n 'app': this.app\n };\n elements.forEach(function (el) {\n Array.from(el.attributes).forEach(function (i) {\n if (i.name.startsWith('data-module')) {\n var moduleName = i.name.split('-').pop();\n var options = {\n el: el,\n name: moduleName\n };\n\n if (_this.modules[moduleName]) {\n var module = new _this.modules[moduleName](options);\n var id = i.value;\n\n if (!id) {\n _this.moduleId++;\n id = 'm' + _this.moduleId;\n el.setAttribute(i.name, id);\n }\n\n _this.addActiveModule(moduleName, id, module);\n\n var moduleId = moduleName + '-' + id;\n\n if (scope) {\n _this.newModules[moduleId] = module;\n } else {\n _this.currentModules[moduleId] = module;\n }\n }\n }\n });\n });\n Object.entries(this.currentModules).forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n id = _ref2[0],\n module = _ref2[1];\n\n if (scope) {\n var split = id.split('-');\n var moduleName = split.shift();\n var moduleId = split.pop();\n\n _this.addActiveModule(moduleName, moduleId, module);\n } else {\n _this.initModule(module);\n }\n });\n }\n }, {\n key: \"initModule\",\n value: function initModule(module) {\n module.mInit(this.activeModules);\n module.init();\n }\n }, {\n key: \"addActiveModule\",\n value: function addActiveModule(name, id, module) {\n if (this.activeModules[name]) {\n Object.assign(this.activeModules[name], _defineProperty({}, id, module));\n } else {\n this.activeModules[name] = _defineProperty({}, id, module);\n }\n }\n }, {\n key: \"update\",\n value: function update(scope) {\n var _this2 = this;\n\n this.init(this.app, scope);\n Object.entries(this.currentModules).forEach(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n id = _ref4[0],\n module = _ref4[1];\n\n module.mUpdate(_this2.activeModules);\n });\n Object.entries(this.newModules).forEach(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n id = _ref6[0],\n module = _ref6[1];\n\n _this2.initModule(module);\n });\n Object.assign(this.currentModules, this.newModules);\n }\n }, {\n key: \"destroy\",\n value: function destroy(scope) {\n if (scope) {\n this.destroyScope(scope);\n } else {\n this.destroyModules();\n }\n }\n }, {\n key: \"destroyScope\",\n value: function destroyScope(scope) {\n var _this3 = this;\n\n var elements = scope.querySelectorAll('*');\n elements.forEach(function (el) {\n Array.from(el.attributes).forEach(function (i) {\n if (i.name.startsWith('data-module')) {\n var name = i.name.split('-').pop();\n var id = i.value;\n var moduleName = name + '-' + id;\n var module = _this3.currentModules[moduleName];\n\n _this3.destroyModule(module);\n\n delete _this3.currentModules[moduleName];\n }\n });\n });\n this.activeModules = {};\n this.newModules = {};\n }\n }, {\n key: \"destroyModules\",\n value: function destroyModules() {\n var _this4 = this;\n\n Object.entries(this.currentModules).forEach(function (_ref7) {\n var _ref8 = _slicedToArray(_ref7, 2),\n id = _ref8[0],\n module = _ref8[1];\n\n _this4.destroyModule(module);\n });\n this.currentModules = [];\n }\n }, {\n key: \"destroyModule\",\n value: function destroyModule(module) {\n module.mDestroy();\n module.destroy();\n }\n }]);\n\n return _default;\n}();\n\nexport default _default$1;\nexport { _default as module };\n","import { module } from 'modujs';\n\nexport default class extends module {\n constructor(m) {\n super(m);\n }\n\n init() {\n console.log('exameple');\n }\n}\n","!function(root, factory) {\n \"function\" == typeof define && define.amd ? // AMD. Register as an anonymous module unless amdModuleId is set\n define([], function() {\n return root.svg4everybody = factory();\n }) : \"object\" == typeof module && module.exports ? // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory() : root.svg4everybody = factory();\n}(this, function() {\n /*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */\n function embed(parent, svg, target) {\n // if the target exists\n if (target) {\n // create a document fragment to hold the contents of the target\n var fragment = document.createDocumentFragment(), viewBox = !svg.hasAttribute(\"viewBox\") && target.getAttribute(\"viewBox\");\n // conditionally set the viewBox on the svg\n viewBox && svg.setAttribute(\"viewBox\", viewBox);\n // copy the contents of the clone into the fragment\n for (// clone the target\n var clone = target.cloneNode(!0); clone.childNodes.length; ) {\n fragment.appendChild(clone.firstChild);\n }\n // append the fragment into the svg\n parent.appendChild(fragment);\n }\n }\n function loadreadystatechange(xhr) {\n // listen to changes in the request\n xhr.onreadystatechange = function() {\n // if the request is ready\n if (4 === xhr.readyState) {\n // get the cached html document\n var cachedDocument = xhr._cachedDocument;\n // ensure the cached html document based on the xhr response\n cachedDocument || (cachedDocument = xhr._cachedDocument = document.implementation.createHTMLDocument(\"\"), \n cachedDocument.body.innerHTML = xhr.responseText, xhr._cachedTarget = {}), // clear the xhr embeds list and embed each item\n xhr._embeds.splice(0).map(function(item) {\n // get the cached target\n var target = xhr._cachedTarget[item.id];\n // ensure the cached target\n target || (target = xhr._cachedTarget[item.id] = cachedDocument.getElementById(item.id)), \n // embed the target into the svg\n embed(item.parent, item.svg, target);\n });\n }\n }, // test the ready state change immediately\n xhr.onreadystatechange();\n }\n function svg4everybody(rawopts) {\n function oninterval() {\n // while the index exists in the live collection\n for (// get the cached index\n var index = 0; index < uses.length; ) {\n // get the current \n var use = uses[index], parent = use.parentNode, svg = getSVGAncestor(parent), src = use.getAttribute(\"xlink:href\") || use.getAttribute(\"href\");\n if (!src && opts.attributeName && (src = use.getAttribute(opts.attributeName)), \n svg && src) {\n if (polyfill) {\n if (!opts.validate || opts.validate(src, svg, use)) {\n // remove the element\n parent.removeChild(use);\n // parse the src and get the url and id\n var srcSplit = src.split(\"#\"), url = srcSplit.shift(), id = srcSplit.join(\"#\");\n // if the link is external\n if (url.length) {\n // get the cached xhr request\n var xhr = requests[url];\n // ensure the xhr request exists\n xhr || (xhr = requests[url] = new XMLHttpRequest(), xhr.open(\"GET\", url), xhr.send(), \n xhr._embeds = []), // add the svg and id as an item to the xhr embeds list\n xhr._embeds.push({\n parent: parent,\n svg: svg,\n id: id\n }), // prepare the xhr ready state change event\n loadreadystatechange(xhr);\n } else {\n // embed the local id into the svg\n embed(parent, svg, document.getElementById(id));\n }\n } else {\n // increase the index when the previous value was not \"valid\"\n ++index, ++numberOfSvgUseElementsToBypass;\n }\n }\n } else {\n // increase the index when the previous value was not \"valid\"\n ++index;\n }\n }\n // continue the interval\n (!uses.length || uses.length - numberOfSvgUseElementsToBypass > 0) && requestAnimationFrame(oninterval, 67);\n }\n var polyfill, opts = Object(rawopts), newerIEUA = /\\bTrident\\/[567]\\b|\\bMSIE (?:9|10)\\.0\\b/, webkitUA = /\\bAppleWebKit\\/(\\d+)\\b/, olderEdgeUA = /\\bEdge\\/12\\.(\\d+)\\b/, edgeUA = /\\bEdge\\/.(\\d+)\\b/, inIframe = window.top !== window.self;\n polyfill = \"polyfill\" in opts ? opts.polyfill : newerIEUA.test(navigator.userAgent) || (navigator.userAgent.match(olderEdgeUA) || [])[1] < 10547 || (navigator.userAgent.match(webkitUA) || [])[1] < 537 || edgeUA.test(navigator.userAgent) && inIframe;\n // create xhr requests object\n var requests = {}, requestAnimationFrame = window.requestAnimationFrame || setTimeout, uses = document.getElementsByTagName(\"use\"), numberOfSvgUseElementsToBypass = 0;\n // conditionally start the interval if the polyfill is active\n polyfill && oninterval();\n }\n function getSVGAncestor(node) {\n for (var svg = node; \"svg\" !== svg.nodeName.toLowerCase() && (svg = svg.parentNode); ) {}\n return svg;\n }\n return svg4everybody;\n});","import svg4everybody from 'svg4everybody';\n\nexport default function() {\n svg4everybody();\n}\n","import modular from 'modujs';\nimport * as modules from './modules';\nimport globals from './globals';\n\nconst app = new modular({\n modules: modules\n});\n\napp.init(app);\nglobals();\n"],"names":["m","console","log","module","this","svg4everybody","app","modular","modules","init","globals"],"mappings":";;;EAAA,SAAS,OAAO,CAAC,GAAG,EAAE;EACtB,EAAE,IAAI,OAAO,MAAM,KAAK,UAAU,IAAI,OAAO,MAAM,CAAC,QAAQ,KAAK,QAAQ,EAAE;EAC3E,IAAI,OAAO,GAAG,UAAU,GAAG,EAAE;EAC7B,MAAM,OAAO,OAAO,GAAG,CAAC;EACxB,KAAK,CAAC;EACN,GAAG,MAAM;EACT,IAAI,OAAO,GAAG,UAAU,GAAG,EAAE;EAC7B,MAAM,OAAO,GAAG,IAAI,OAAO,MAAM,KAAK,UAAU,IAAI,GAAG,CAAC,WAAW,KAAK,MAAM,IAAI,GAAG,KAAK,MAAM,CAAC,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,CAAC;EACnI,KAAK,CAAC;EACN,GAAG;;EAEH,EAAE,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC;EACtB,CAAC;;EAED,SAAS,eAAe,CAAC,QA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IAAI,QAAQ,CAAC;;UAEzP,IAAI,QAAQ,GAAG,EAAE,EAAE,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,IAAI,UAAU,EAAE,IAAI,GAAG,QAAQ,CAAC,oBAAoB,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,CAAC,CAAC;;UAEvK,QAAQ,IAAI,UAAU,EAAE,CAAC;OAC5B;MACD,SAAS,cAAc,CAAC,IAAI,EAAE;UAC1B,KAAK,IAAI,GAAG,GAAG,IAAI,EAAE,KAAK,KAAK,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,GAAG,GAAG,GAAG,CAAC,UAAU,CAAC,IAAI,EAAE;UACzF,OAAO,GAAG,CAAC;OACd;MACD,OAAO,aAAa,CAAC;GACxB,CAAC;;;ECvGa,oBAAW;EACtBC,EAAAA,aAAa;EAChB;;ECAD,IAAMC,GAAG,GAAG,IAAIC,UAAJ,CAAY;EACpBC,EAAAA,OAAO,EAAEA;EADW,CAAZ,CAAZ;EAIAF,GAAG,CAACG,IAAJ,CAASH,GAAT;EACAI,OAAO;;;;"} \ No newline at end of file diff --git a/www/assets/styles/main.css b/www/assets/styles/main.css index 5378479..3576807 100644 --- a/www/assets/styles/main.css +++ b/www/assets/styles/main.css @@ -1 +1,797 @@ -/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{margin:.67em 0;font-size:2em}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{overflow:visible;box-sizing:content-box;height:0}pre{font-size:1em;font-family:monospace,monospace}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-size:1em;font-family:monospace,monospace}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{position:relative;vertical-align:baseline;font-size:75%;line-height:0}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0;font-size:100%;font-family:sans-serif;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button;border-radius:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{margin:0 2px;padding:.35em .625em .75em;border:1px solid silver}legend{display:table;box-sizing:border-box;padding:0;max-width:100%;color:inherit;white-space:normal}progress{display:inline-block;vertical-align:baseline}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}html{box-sizing:border-box}[hidden],template{display:none}*,:after,:before{box-sizing:inherit}address{font-style:inherit}cite,dfn,em,i{font-style:italic}b,strong{font-weight:700}a{text-decoration:none}a svg{pointer-events:none}[tabindex],a,area,button,input,label,select,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hreflang]>abbr[title]{text-decoration:none}table{border-spacing:0;border-collapse:collapse}hr{display:block;margin:1em 0;padding:0;height:1px;border:0;border-top:1px solid #ccc}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio:not([controls]){display:none;height:0}img,svg{max-width:100%;height:auto}img[height],img[width],svg[height],svg[width]{max-width:none}img{font-style:italic}svg{fill:currentColor}input,select,textarea{display:block;margin:0;padding:0;width:100%;outline:0;border:0;border-radius:0;background:none transparent;color:inherit;font:inherit;line-height:normal;-webkit-appearance:none;-moz-appearance:none;appearance:none}select{text-transform:none}select::-ms-expand{display:none}select::-ms-value{background:none;color:inherit}textarea{overflow:auto;resize:vertical}.o-button,button{display:inline-block;overflow:visible;margin:0;padding:0;outline:0;border:0;background:none transparent;color:inherit;vertical-align:middle;text-align:center;text-transform:none;font:inherit;line-height:normal;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.o-button,.o-button:focus,.o-button:hover,button,button:focus,button:hover{text-decoration:none}html{overflow-y:scroll;min-height:100%;color:#222;font-family:sans-serif;line-height:1.5}@media (max-width:699px){html{font-size:12px}}@media (min-width:700px) and (max-width:999px){html{font-size:13px}}@media (min-width:1000px) and (max-width:1199px){html{font-size:14px}}@media (min-width:1200px) and (max-width:1599px){html{font-size:16px}}@media (min-width:1600px) and (max-width:1999px){html{font-size:18px}}@media (min-width:2000px) and (max-width:2399px){html{font-size:21px}}@media (min-width:2400px){html{font-size:24px}}::-moz-selection{background-color:#fff;color:#3297fd;text-shadow:none}::selection{background-color:#fff;color:#3297fd;text-shadow:none}a{color:#1a0dab}a:focus,a:hover{color:#13097c}.o-h,.o-h1,.o-h2,.o-h3,.o-h4,.o-h5,.o-h6,h1,h2,h3,h4,h5,h6{margin-top:0;line-height:1.5}.o-h1,h1{font-size:2.25rem}.o-h2,h2{font-size:1.75rem}.o-h3,h3{font-size:1.5rem}.o-h4,h4{font-size:1.25rem}.o-h5,h5{font-size:1.125rem}.o-h6,h6{font-size:1rem}.o-container{margin-right:auto;margin-left:auto;padding-right:60px;padding-left:60px;max-width:2000px}.o-layout{margin:0;padding:0;list-style:none;font-size:0;margin-left:0}.o-layout.-gutter{margin-left:-3.75rem}.o-layout.-gutter-small{margin-left:-1.875rem}.o-layout.-center{text-align:center}.o-layout.-right{text-align:right}.o-layout.-reverse{direction:rtl}.o-layout.-reverse.-flex{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.o-layout.-flex{display:-ms-flexbox;display:flex}.o-layout.-flex.-top{-ms-flex-align:start;align-items:flex-start}.o-layout.-flex.-middle{-ms-flex-align:center;align-items:center}.o-layout.-flex.-bottom{-ms-flex-align:end;align-items:flex-end}.o-layout.-stretch{-ms-flex-align:stretch;align-items:stretch}.o-layout_item{display:inline-block;width:100%;vertical-align:top;font-size:1rem;padding-left:0}.o-layout.-gutter>.o-layout_item{padding-left:3.75rem}.o-layout.-gutter-small>.o-layout_item{padding-left:1.875rem}.o-layout.-middle>.o-layout_item{vertical-align:middle}.o-layout.-bottom>.o-layout_item{vertical-align:bottom}.o-layout.-center>.o-layout_item,.o-layout.-reverse>.o-layout_item,.o-layout.-right>.o-layout_item{text-align:left}.o-layout.-reverse>.o-layout_item{direction:ltr}.o-checkbox-label,.o-label,.o-radio-label{display:block;margin-bottom:.9375rem}.o-input,.o-select,.o-textarea{padding:.625rem;border:1px solid #d3d3d3;background-color:#fff}.o-input:focus,.o-select:focus,.o-textarea:focus{border-color:gray}.o-input::-webkit-input-placeholder,.o-select::-webkit-input-placeholder,.o-textarea::-webkit-input-placeholder{color:gray}.o-input:-ms-input-placeholder,.o-input::-ms-input-placeholder,.o-select:-ms-input-placeholder,.o-select::-ms-input-placeholder,.o-textarea:-ms-input-placeholder,.o-textarea::-ms-input-placeholder{color:gray}.o-input::placeholder,.o-select::placeholder,.o-textarea::placeholder{color:gray}.o-checkbox,.o-radio{position:absolute;width:0;opacity:0}.o-checkbox:focus+.o-checkbox-label:before,.o-checkbox:focus+.o-radio-label:before,.o-radio:focus+.o-checkbox-label:before,.o-radio:focus+.o-radio-label:before{border-color:gray}.o-checkbox:checked+.o-checkbox-label:after,.o-checkbox:checked+.o-radio-label:after,.o-radio:checked+.o-checkbox-label:after,.o-radio:checked+.o-radio-label:after{opacity:1}.o-checkbox-label,.o-radio-label{position:relative;display:inline-block;margin-right:.5em;padding-left:1.75rem}.o-checkbox-label:after,.o-checkbox-label:before,.o-radio-label:after,.o-radio-label:before{position:absolute;top:50%;left:0;display:inline-block;margin-top:-.5625rem;padding:0;width:1.125rem;height:1.125rem;content:""}.o-checkbox-label:before,.o-radio-label:before{background-color:#fff}.o-checkbox-label:after,.o-radio-label:after{border-color:transparent;background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10.5' viewBox='0 0 13 10.5'%3E%3Cpath fill='%23424242' d='M4.8 5.8L2.4 3.3 0 5.7l4.8 4.8L13 2.4 10.6 0 4.8 5.8z'/%3E%3C/svg%3E");background-position:50%;background-size:.8125rem;background-repeat:no-repeat;opacity:0}.o-radio-label:after,.o-radio-label:before{border-radius:50%}.o-radio-label:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13'%3E%3Ccircle fill='%23424242' cx='6.5' cy='6.5' r='6.5'/%3E%3C/svg%3E");background-size:.5rem}.o-select{z-index:1;padding-right:2.5rem}.o-select,.o-select-wrap{position:relative}.o-select-wrap:after{position:absolute;top:0;right:0;bottom:0;z-index:2;width:2.5rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='11.3' viewBox='0 0 13 11.3'%3E%3Cpath fill='%23424242' d='M6.5 11.3L3.3 5.6 0 0h13L9.8 5.6z'/%3E%3C/svg%3E");background-position:50%;background-size:.625rem;background-repeat:no-repeat;content:"";pointer-events:none}.o-textarea{min-height:6.25rem}.o-button{padding:.625rem;background-color:#d3d3d3}.o-button:focus,.o-button:hover{background-color:gray}.o-pjax_container,.o-pjax_wrapper{height:100%;overflow:hidden}html.has-smooth-scroll{overflow:hidden}html.has-smooth-scroll .o-scroll{height:100vh;position:relative;overflow:hidden}.scroll-content{transform:translateZ(0);margin:0;overflow:visible;height:100%}[data-scrollbar],[scrollbar],scrollbar{display:block;position:relative}[data-scrollbar] .scroll-content,[scrollbar] .scroll-content,scrollbar .scroll-content{transform:translateZ(0);will-change:transform}[data-scrollbar].sticky .scrollbar-track,[scrollbar].sticky .scrollbar-track,scrollbar.sticky .scrollbar-track{background:hsla(0,0%,87%,.75)}[data-scrollbar] .scrollbar-track,[scrollbar] .scrollbar-track,scrollbar .scrollbar-track{position:absolute;opacity:0;z-index:1;transition:opacity .5s ease-out,background .5s ease-out;background:none}[data-scrollbar] .scrollbar-track.show,[data-scrollbar] .scrollbar-track:hover,[scrollbar] .scrollbar-track.show,[scrollbar] .scrollbar-track:hover,scrollbar .scrollbar-track.show,scrollbar .scrollbar-track:hover{opacity:1}[data-scrollbar] .scrollbar-track:hover,[scrollbar] .scrollbar-track:hover,scrollbar .scrollbar-track:hover{background:hsla(0,0%,87%,.75)}[data-scrollbar] .scrollbar-track-x,[scrollbar] .scrollbar-track-x,scrollbar .scrollbar-track-x{bottom:0;left:0;width:100%;height:8px}[data-scrollbar] .scrollbar-track-y,[scrollbar] .scrollbar-track-y,scrollbar .scrollbar-track-y{top:0;right:0;width:8px;height:100%}[data-scrollbar] .scrollbar-thumb,[scrollbar] .scrollbar-thumb,scrollbar .scrollbar-thumb{position:absolute;top:0;left:0;width:8px;height:8px;background:rgba(0,0,0,.5);border-radius:4px}[data-scrollbar] .overscroll-glow,[scrollbar] .overscroll-glow,scrollbar .overscroll-glow{position:absolute;top:0;left:0;width:100%;height:100%}.scrollbar-track{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent!important;width:14px!important;opacity:0!important;z-index:3!important}.scrolling .scrollbar-track{opacity:.75!important}.scrollbar-track:hover{opacity:1!important;background-color:#fafafa!important}.scrollbar-thumb{position:relative;width:14px!important;background-color:transparent!important}.scrollbar-thumb:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;background-color:#c1c1c1;border-radius:4px;transition:background-color .3s linear}.scrollbar-thumb:hover:after{background-color:#7d7d7d} \ No newline at end of file +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +/* Document + ========================================================================== */ +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ +html { + line-height: 1.15; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ } + +/* Sections + ========================================================================== */ +/** + * Remove the margin in all browsers. + */ +body { + margin: 0; } + +/** + * Render the `main` element consistently in IE. + */ +main { + display: block; } + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; } + +/* Grouping content + ========================================================================== */ +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + -webkit-box-sizing: content-box; + box-sizing: content-box; + /* 1 */ + height: 0; + /* 1 */ + overflow: visible; + /* 2 */ } + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ } + +/* Text-level semantics + ========================================================================== */ +/** + * Remove the gray background on active links in IE 10. + */ +a { + background-color: transparent; } + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ +abbr[title] { + border-bottom: none; + /* 1 */ + text-decoration: underline; + /* 2 */ + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + /* 2 */ } + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; } + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ } + +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; } + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } + +sub { + bottom: -0.25em; } + +sup { + top: -0.5em; } + +/* Embedded content + ========================================================================== */ +/** + * Remove the border on images inside links in IE 10. + */ +img { + border-style: none; } + +/* Forms + ========================================================================== */ +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 1 */ + line-height: 1.15; + /* 1 */ + margin: 0; + /* 2 */ } + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ +button, +input { + /* 1 */ + overflow: visible; } + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { + /* 1 */ + text-transform: none; } + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; } + +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; } + +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; } + +/** + * Correct the padding in Firefox. + */ +fieldset { + padding: 0.35em 0.75em 0.625em; } + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ +legend { + -webkit-box-sizing: border-box; + box-sizing: border-box; + /* 1 */ + color: inherit; + /* 2 */ + display: table; + /* 1 */ + max-width: 100%; + /* 1 */ + padding: 0; + /* 3 */ + white-space: normal; + /* 1 */ } + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + vertical-align: baseline; } + +/** + * Remove the default vertical scrollbar in IE 10+. + */ +textarea { + overflow: auto; } + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ +[type="checkbox"], +[type="radio"] { + -webkit-box-sizing: border-box; + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ } + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; } + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ } + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ } + +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ +details { + display: block; } + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; } + +/* Misc + ========================================================================== */ +/** + * Add the correct display in IE 10+. + */ +template { + display: none; } + +/** + * Add the correct display in IE 10. + */ +[hidden] { + display: none; } + +html { + -webkit-box-sizing: border-box; + box-sizing: border-box; } + +template, +[hidden] { + display: none; } + +*, +:before, +:after { + -webkit-box-sizing: inherit; + box-sizing: inherit; } + +address { + font-style: inherit; } + +dfn, +cite, +em, +i { + font-style: italic; } + +b, +strong { + font-weight: 700; } + +a { + text-decoration: none; } + a svg { + pointer-events: none; } + +/** + * 1. Single taps should be dispatched immediately on clickable elements + */ +a, area, button, input, label, select, textarea, [tabindex] { + -ms-touch-action: manipulation; + /* [1] */ + touch-action: manipulation; } + +[hreflang] > abbr[title] { + text-decoration: none; } + +table { + border-spacing: 0; + border-collapse: collapse; } + +hr { + display: block; + margin: 1em 0; + padding: 0; + height: 1px; + border: 0; + border-top: 1px solid #CCCCCC; } + +audio, +canvas, +iframe, +img, +svg, +video { + vertical-align: middle; + /* [1] */ } + +audio:not([controls]) { + display: none; + height: 0; } + +img, +svg { + max-width: 100%; + /* [2] */ + height: auto; } + img[width], img[height], + svg[width], + svg[height] { + /* [4] */ + max-width: none; } + +img { + font-style: italic; + /* [4] */ } + +svg { + fill: currentColor; + /* [5] */ } + +input, +select, +textarea { + display: block; + margin: 0; + padding: 0; + width: 100%; + outline: 0; + border: 0; + border-radius: 0; + background: none transparent; + color: inherit; + font: inherit; + line-height: normal; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; } + +select { + text-transform: none; } + select::-ms-expand { + display: none; } + select::-ms-value { + background: none; + color: inherit; } + +textarea { + overflow: auto; + resize: vertical; } + +button, +.o-button { + display: inline-block; + /* [1] */ + overflow: visible; + /* [2] */ + margin: 0; + /* [3] */ + padding: 0; + outline: 0; + border: 0; + background: none transparent; + color: inherit; + vertical-align: middle; + /* [4] */ + text-align: center; + /* [3] */ + text-decoration: none; + text-transform: none; + font: inherit; + /* [5] */ + line-height: normal; + cursor: pointer; + /* [6] */ + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + button:focus, button:hover, + .o-button:focus, + .o-button:hover { + text-decoration: none; } + +html { + overflow-y: scroll; + /* [2] */ + min-height: 100%; + /* [3] */ + color: #222222; + font-family: sans-serif; + line-height: 1.5; + /* [1] */ } + @media (max-width: 699px) { + html { + font-size: 12px; } } + @media (min-width: 700px) and (max-width: 999px) { + html { + font-size: 13px; } } + @media (min-width: 1000px) and (max-width: 1199px) { + html { + font-size: 14px; } } + @media (min-width: 1200px) and (max-width: 1599px) { + html { + font-size: 16px; + /* [1] */ } } + @media (min-width: 1600px) and (max-width: 1999px) { + html { + font-size: 18px; } } + @media (min-width: 2000px) and (max-width: 2399px) { + html { + font-size: 21px; } } + @media (min-width: 2400px) { + html { + font-size: 24px; } } + +::selection { + background-color: #FFFFFF; + color: #3297FD; + text-shadow: none; } + +a { + color: #1A0DAB; } + a:focus, a:hover { + color: #13097c; } + +.o-h, h1, .o-h1, h2, .o-h2, h3, .o-h3, h4, .o-h4, h5, .o-h5, h6, .o-h6 { + margin-top: 0; + line-height: 1.5; } + +h1, .o-h1 { + font-size: 2.25rem; } + +h2, .o-h2 { + font-size: 1.75rem; } + +h3, .o-h3 { + font-size: 1.5rem; } + +h4, .o-h4 { + font-size: 1.25rem; } + +h5, .o-h5 { + font-size: 1.125rem; } + +h6, .o-h6 { + font-size: 1rem; } + +/* stylelint-disable */ +/* stylelint-enable */ +.o-container { + margin-right: auto; + margin-left: auto; + padding-right: 60px; + padding-left: 60px; + max-width: 2000px; } + +.o-layout { + margin: 0; + padding: 0; + list-style: none; + font-size: 0; + margin-left: 0; } + .o-layout.-gutter { + margin-left: -3.75rem; } + .o-layout.-gutter-small { + margin-left: -1.875rem; } + .o-layout.-center { + text-align: center; } + .o-layout.-right { + text-align: right; } + .o-layout.-reverse { + direction: rtl; } + .o-layout.-reverse.-flex { + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; } + .o-layout.-flex { + display: -webkit-box; + display: -ms-flexbox; + display: flex; } + .o-layout.-flex.-top { + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; } + .o-layout.-flex.-middle { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; } + .o-layout.-flex.-bottom { + -webkit-box-align: end; + -ms-flex-align: end; + align-items: flex-end; } + .o-layout.-stretch { + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; } + +.o-layout_item { + display: inline-block; + width: 100%; + vertical-align: top; + font-size: 1rem; + padding-left: 0; } + .o-layout.-gutter > .o-layout_item { + padding-left: 3.75rem; } + .o-layout.-gutter-small > .o-layout_item { + padding-left: 1.875rem; } + .o-layout.-middle > .o-layout_item { + vertical-align: middle; } + .o-layout.-bottom > .o-layout_item { + vertical-align: bottom; } + .o-layout.-center > .o-layout_item, + .o-layout.-right > .o-layout_item, + .o-layout.-reverse > .o-layout_item { + text-align: left; } + .o-layout.-reverse > .o-layout_item { + direction: ltr; } + +.o-label, .o-checkbox-label, .o-radio-label { + display: block; + margin-bottom: 0.9375rem; } + +.o-input, .o-select, .o-textarea { + padding: 0.625rem; + border-width: 1px; + border-style: solid; + border-color: lightgray; + background-color: white; } + .o-input:focus, .o-select:focus, .o-textarea:focus { + border-color: gray; } + .o-input::-webkit-input-placeholder, .o-select::-webkit-input-placeholder, .o-textarea::-webkit-input-placeholder { + color: gray; } + .o-input:-ms-input-placeholder, .o-select:-ms-input-placeholder, .o-textarea:-ms-input-placeholder { + color: gray; } + .o-input::-ms-input-placeholder, .o-select::-ms-input-placeholder, .o-textarea::-ms-input-placeholder { + color: gray; } + .o-input::placeholder, .o-select::placeholder, .o-textarea::placeholder { + color: gray; } + +.o-checkbox, .o-radio { + position: absolute; + width: 0; + opacity: 0; } + .o-checkbox:focus + .o-checkbox-label::before, .o-radio:focus + .o-checkbox-label::before, .o-checkbox:focus + .o-radio-label::before, .o-radio:focus + .o-radio-label::before { + border-color: gray; } + .o-checkbox:checked + .o-checkbox-label::after, .o-radio:checked + .o-checkbox-label::after, .o-checkbox:checked + .o-radio-label::after, .o-radio:checked + .o-radio-label::after { + opacity: 1; } + +.o-checkbox-label, .o-radio-label { + position: relative; + display: inline-block; + margin-right: 0.5em; + padding-left: 1.75rem; } + .o-checkbox-label::before, .o-radio-label::before, .o-checkbox-label::after, .o-radio-label::after { + position: absolute; + top: 50%; + left: 0; + display: inline-block; + margin-top: -0.5625rem; + padding: 0; + width: 1.125rem; + height: 1.125rem; + content: ""; } + .o-checkbox-label::before, .o-radio-label::before { + background-color: #FFFFFF; } + .o-checkbox-label::after, .o-radio-label::after { + border-color: transparent; + background-color: transparent; + background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2213%22%20height%3D%2210.5%22%20viewBox%3D%220%200%2013%2010.5%22%20enable-background%3D%22new%200%200%2013%2010.5%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23424242%22%20d%3D%22M4.8%205.8L2.4%203.3%200%205.7l4.8%204.8L13%202.4c0%200-2.4-2.4-2.4-2.4L4.8%205.8z%22%2F%3E%3C%2Fsvg%3E"); + background-position: center; + background-size: 0.8125rem; + background-repeat: no-repeat; + opacity: 0; } + +.o-radio-label::before, .o-radio-label::after { + border-radius: 50%; } + +.o-radio-label::after { + background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20enable-background%3D%22new%200%200%2013%2013%22%20xml%3Aspace%3D%22preserve%22%3E%3Ccircle%20fill%3D%22%23424242%22%20cx%3D%226.5%22%20cy%3D%226.5%22%20r%3D%226.5%22%2F%3E%3C%2Fsvg%3E"); + background-size: 0.5rem; } + +.o-select { + position: relative; + z-index: 1; + padding-right: 2.5rem; } + +.o-select-wrap { + position: relative; } + .o-select-wrap::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 2; + width: 2.5rem; + background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2213%22%20height%3D%2211.3%22%20viewBox%3D%220%200%2013%2011.3%22%20enable-background%3D%22new%200%200%2013%2011.3%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpolygon%20fill%3D%22%23424242%22%20points%3D%226.5%2011.3%203.3%205.6%200%200%206.5%200%2013%200%209.8%205.6%20%22%2F%3E%3C%2Fsvg%3E"); + background-position: center; + background-size: 0.625rem; + background-repeat: no-repeat; + content: ""; + pointer-events: none; } + +.o-textarea { + min-height: 6.25rem; } + +.o-button { + padding: 0.625rem; + background-color: lightgray; } + .o-button:focus, .o-button:hover { + background-color: gray; } + +.o-pjax_wrapper { + height: 100%; + overflow: hidden; } + +.o-pjax_container { + height: 100%; + overflow: hidden; } + +html.has-smooth-scroll { + overflow: hidden; } + +html.has-smooth-scroll .o-scroll { + height: 100vh; + position: relative; + overflow: hidden; } + +.scroll-content { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + margin: 0; + overflow: visible; + height: 100%; } + +[data-scrollbar], [scrollbar], scrollbar { + display: block; + position: relative; } + +[data-scrollbar] .scroll-content, [scrollbar] .scroll-content, scrollbar .scroll-content { + -webkit-transform: translateZ(0); + transform: translateZ(0); + will-change: transform; } + +[data-scrollbar].sticky .scrollbar-track, [scrollbar].sticky .scrollbar-track, scrollbar.sticky .scrollbar-track { + background: rgba(222, 222, 222, 0.75); } + +[data-scrollbar] .scrollbar-track, [scrollbar] .scrollbar-track, scrollbar .scrollbar-track { + position: absolute; + opacity: 0; + z-index: 1; + -webkit-transition: opacity .5s ease-out,background .5s ease-out; + transition: opacity .5s ease-out,background .5s ease-out; + background: none; } + +[data-scrollbar] .scrollbar-track.show, [data-scrollbar] .scrollbar-track:hover, [scrollbar] .scrollbar-track.show, [scrollbar] .scrollbar-track:hover, scrollbar .scrollbar-track.show, scrollbar .scrollbar-track:hover { + opacity: 1; } + +[data-scrollbar] .scrollbar-track:hover, [scrollbar] .scrollbar-track:hover, scrollbar .scrollbar-track:hover { + background: rgba(222, 222, 222, 0.75); } + +[data-scrollbar] .scrollbar-track-x, [scrollbar] .scrollbar-track-x, scrollbar .scrollbar-track-x { + bottom: 0; + left: 0; + width: 100%; + height: 8px; } + +[data-scrollbar] .scrollbar-track-y, [scrollbar] .scrollbar-track-y, scrollbar .scrollbar-track-y { + top: 0; + right: 0; + width: 8px; + height: 100%; } + +[data-scrollbar] .scrollbar-thumb, [scrollbar] .scrollbar-thumb, scrollbar .scrollbar-thumb { + position: absolute; + top: 0; + left: 0; + width: 8px; + height: 8px; + background: rgba(0, 0, 0, 0.5); + border-radius: 4px; } + +[data-scrollbar] .overscroll-glow, [scrollbar] .overscroll-glow, scrollbar .overscroll-glow { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; } + +.scrollbar-track { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: transparent !important; + width: 14px !important; + opacity: 0 !important; + z-index: 99999 !important; } + .scrolling .scrollbar-track { + opacity: 0.75 !important; } + .scrollbar-track:hover { + opacity: 1 !important; + background-color: #fafafa !important; } + +.scrollbar-thumb { + position: relative; + width: 14px !important; + background-color: transparent !important; } + .scrollbar-thumb::after { + content: ""; + position: absolute; + top: 3px; + right: 3px; + bottom: 3px; + left: 3px; + background-color: #c1c1c1; + border-radius: 4px; + -webkit-transition: background-color 0.3s linear; + transition: background-color 0.3s linear; } + .scrollbar-thumb:hover::after { + background-color: #7d7d7d; } diff --git a/www/index.html b/www/index.html index 9647aa9..ef604ba 100644 --- a/www/index.html +++ b/www/index.html @@ -1,5 +1,5 @@ - + Boilerplate @@ -16,31 +16,33 @@ - +
- +

Boilerplate

+
-
-
-
-
Home page with Example module
+
+
+
+ +

Home

+
-
+ - +
+

Made with 🚂

+
+ + diff --git a/www/page.html b/www/page.html index cf5ba2c..323299b 100644 --- a/www/page.html +++ b/www/page.html @@ -1,5 +1,5 @@ - + Page | Boilerplate @@ -16,31 +16,34 @@ - +
- +

Boilerplate

+
-
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus tempore officia temporibus error rem id, vel perspiciatis eveniet placeat, ducimus fugit vitae sequi, quas deserunt ab eius expedita quia nulla. +
+
+
+

Page

+ +
-
+ - - +
+

Made with 🚂

+
+ + +