diff --git a/.gitignore b/.gitignore index f06235c..3c3629e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ node_modules -dist diff --git a/dist/assets/1.main.js b/dist/assets/1.main.js new file mode 100644 index 0000000..7d07098 --- /dev/null +++ b/dist/assets/1.main.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{11:function(n,e,t){"use strict";t.r(e),t.d(e,"init",function(){return r});var a=t(0),o=t(1),i=a.a.plugins.find(function(n){return"age"===n.name});Object(o.a)("js-plugin-age");var c=document.getElementById("js-plugin-age"),r=function(){return n=i.birthday,e=i.goal,t=(new Date-new Date(n))/3154e7,o="left until",(a=100-t/e*100)<0&&(o="over goal of",a=-a),void(c.innerHTML="Age: ".concat(t.toFixed(5),", ").concat(a.toFixed(2),"% ").concat(o," ").concat(e));var n,e,t,a,o}}}]); \ No newline at end of file diff --git a/dist/assets/2.main.js b/dist/assets/2.main.js new file mode 100644 index 0000000..c3f29f1 --- /dev/null +++ b/dist/assets/2.main.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{12:function(e,t,n){"use strict";n.r(t),n.d(t,"init",function(){return g});var r=n(2),a=n.n(r),c=n(3),o=n(0),i=n(1),u=o.a.plugins.find(function(e){return"weather"===e.name});Object(i.a)("js-plugin-weather");var s=document.getElementById("js-plugin-weather"),l="\n ".concat(u.corsProxy,"/\n https://api.darksky.net/forecast/\n ").concat(u.apiKey,"/\n ").concat(u.latitude,",").concat(u.longitude,"\n ?lang=").concat(u.lang,"\n &units=").concat(u.units,"\n &exclude=minutely,hourly,flags\n").replace(/\s+/g,""),p=function(e){var t={degrees:"F",speed:"mp/h"};"si"===u.units||"ca"===u.units?(t.degrees="C",t.speed="km/h"):"uk2"===u.units&&(t.degrees="C");var n={summary:e.currently.summary,temp:Math.round(e.currently.temperature),tempHi:Math.round(e.daily.data[0].temperatureHigh),wind:Math.round(e.currently.windSpeed),cloud:Math.round(100*e.currently.cloudCover),precip:Math.round(100*e.currently.precipProbability)};s.innerHTML="Weather in ".concat(u.locationAlias,": ").concat(n.summary,",\n ").concat(n.temp,"°").concat(t.degrees," (high ").concat(n.tempHi,"°),\n ").concat(n.wind).concat(t.speed," wind\n ").concat(n.precip,"% precip.,\n ").concat(n.cloud,"% cloud cover.")};function d(){return(d=Object(c.a)(a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(t);case 3:return n=e.sent,e.next=6,n.json();case 6:return r=e.sent,e.abrupt("return",r);case 10:throw e.prev=10,e.t0=e.catch(0),s.innerHTML="Weather plugin: Error, see console for details.",e.t0;case 14:case"end":return e.stop()}},e,null,[[0,10]])}))).apply(this,arguments)}function h(){if(Object(i.c)("localStorage")&&localStorage.getItem("plugin_weather__cache")){var e=JSON.parse(localStorage.getItem("plugin_weather__cache")),t=new Date,n=new Date(1e3*e.currently.time);if((t.getTime()-n.getTime())/1e3<1800)return void p(e)}s.innerHTML="Loading weather data…",function(e){return d.apply(this,arguments)}(l).then(function(e){p(e),Object(i.c)("localStorage")&&localStorage.setItem("plugin_weather__cache",JSON.stringify(e))})}var g=function(){return h()}}}]); \ No newline at end of file diff --git a/dist/assets/favicon.png b/dist/assets/favicon.png new file mode 100644 index 0000000..5b76389 Binary files /dev/null and b/dist/assets/favicon.png differ diff --git a/dist/assets/main.js b/dist/assets/main.js new file mode 100644 index 0000000..31c1ba2 --- /dev/null +++ b/dist/assets/main.js @@ -0,0 +1 @@ +!function(t){function e(e){for(var n,o,i=e[0],a=e[1],c=0,u=[];c\n \n \n \n ')}function i(t){var e=document.createElement("li");e.setAttribute("id",t),e.setAttribute("class","plugins__item"),r.appendChild(e)}function a(t){try{var e=window[t],n="__storage_test__";return e.setItem(n,n),e.removeItem(n),!0}catch(t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==storage.length}}},function(t,e,n){t.exports=n(4)},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,s,"next",t)}function s(t){r(a,o,i,c,s,"throw",t)}c(void 0)})}}n.d(e,"a",function(){return o})},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=j(a,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var s=u(t,e,n);if("normal"===s.type){if(r=n.done?h:f,s.arg===p)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(t,n,a),i}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",f="suspendedYield",d="executing",h="completed",p={};function m(){}function v(){}function y(){}var g={};g[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(S([])));w&&w!==n&&r.call(w,i)&&(g=w);var E=y.prototype=m.prototype=Object.create(g);function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function L(t){var e;this._invoke=function(n,o){function i(){return new Promise(function(e,i){!function e(n,o,i,a){var c=u(t[n],t,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(l).then(function(t){s.value=t,i(s)},function(t){return e("throw",t,i,a)})}a(c.arg)}(n,o,e,i)})}return e=e?e.then(i,i):i()}}function j(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=u(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){var r={"./age.js":[11,1],"./weather.js":[12,2]};function o(t){if(!n.o(r,t))return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e});var e=r[t],o=e[0];return n.e(e[1]).then(function(){return n(o)})}o.keys=function(){return Object.keys(r)},o.id=5,t.exports=o},function(t,e,n){var r=n(7);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(8)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){},function(t,e,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),s=null,u=0,l=[],f=n(9);function d(t,e){for(var n=0;n=0&&l.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return y(e,t.attrs),p(t,e),e}function y(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function g(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var a=u++;n=s||(s=v(e)),r=E.bind(null,n,a,!1),o=E.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),p(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),c=t.href;t.href=URL.createObjectURL(a),c&&URL.revokeObjectURL(c)}.bind(null,n,e),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=h(t,e);return d(n,e),function(t){for(var r=[],o=0;o0&&Number(e.key)<=9&&Number(e.key)<=t.sets.length&&t.openSet(Number(e.key-1)))}),a.addEventListener("keydown",function(t){t.stopPropagation(),"Escape"===t.key&&a.blur()}))},l=n(1),f=document.getElementById("js-welcome-modal"),d=document.getElementById("js-welcome-dismiss"),h=function(){Object(l.c)("localStorage")&&!localStorage.getItem("launchbot__welcome")&&(f.style.display="block"),d.addEventListener("click",function(){f.style.display="none",localStorage.setItem("launchbot__welcome",!1)})},p=n(2),m=n.n(p),v=n(3);function y(){return(y=Object(v.a)(m.a.mark(function t(e){return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n(5)("./"+e.name+".js");case 3:t.sent.init(),t.next=10;break;case 7:throw t.prev=7,t.t0=t.catch(0),t.t0;case 10:case"end":return t.stop()}},t,null,[[0,7]])}))).apply(this,arguments)}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function b(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e\n \n \n \n ')}),x.innerHTML=T;var A="";Object.entries(r.a.options).forEach(function(t){var e=g(t,2),n=e[0],r=e[1],o="",i="input input--settings",a="text";"darkMode"!==n&&"keyboardShortcuts"!==n||(a="checkbox",i="",!0===r&&(o="checked")),A+='
  • \n \n \n
  • ")}),w.innerHTML=A,r.a.plugins.forEach(function(t){var e=document.createElement("ul");e.setAttribute("class","settings-form-list settings-form-list--plugin"),Object.entries(t).forEach(function(t){var n=g(t,2),r=n[0],o=n[1],i="",a="input input--settings",c="text";"enabled"===r&&(c="checkbox",a="",!0===o&&(i="checked")),"name"===r&&(i="disabled"),e.innerHTML+='
  • \n \n \n
  • ")}),E.appendChild(e)}),L.innerHTML="export default ".concat(JSON.stringify(r.a,null,2),";"),O.addEventListener("click",function(){j.style.position="relative",k.classList.add("is-active")}),S.addEventListener("click",function(t){t.preventDefault(),k.classList.remove("is-active"),j.style.position="fixed"}),N.addEventListener("click",function(t){var e;t.preventDefault(),e=function(){var t=[];x.childNodes.forEach(function(e){t.push({name:e.children[0].value,items:b(e.children[1].value.split("\n"))})});var e={};w.childNodes.forEach(function(t){var n=t.children[1],r=n.name,o=n.type,i=n.checked,a=t.children[1].value;"checkbox"===o&&(a=i),e[r]=a});var n=[];return E.childNodes.forEach(function(t){var e={};t.childNodes.forEach(function(t){var n=t.children[1],r=n.name,o=n.type,i=n.checked,a=t.children[1].value;"checkbox"===o&&(a=i),e[r]=a}),n.push(e)}),{sets:t,options:e,plugins:n}}(),localStorage.setItem("config",JSON.stringify(e)),window.location.reload(!0)}),I.addEventListener("click",function(t){t.preventDefault(),localStorage.removeItem("config"),window.location.reload(!0)});var B=function(t){var e=t.target;x.removeChild(e.parentNode)};function M(){x.childNodes.forEach(function(t){t.children[2].addEventListener("click",B)})}M(),_.addEventListener("click",function(){var t=document.createElement("li");t.setAttribute("class","settings-form-list__item"),t.innerHTML='\n \n \n \n ',x.appendChild(t),M()}),function(t){!1===t.options.darkMode&&document.documentElement.classList.add("theme-light");var e="";t.sets.forEach(function(t,n){var o=t.name,i=t.items,a="";i.forEach(function(t){a+=Object(l.b)(t,r.a)}),e+='
  • \n
    \n

    '.concat(o,'

    \n ').concat(n+1,"\n
      ").concat(a,"
    \n
    \n
  • ")}),document.getElementById("js-sets").innerHTML=e,t.options.searchEngine&&(document.getElementById("js-search-form").action=t.options.searchEngine),h(),u(t)}(new i(r.a));n(6)}]); \ No newline at end of file diff --git a/dist/assets/style.css b/dist/assets/style.css new file mode 100644 index 0000000..623c5ec --- /dev/null +++ b/dist/assets/style.css @@ -0,0 +1 @@ +:root{--color-text:#dfe1e8;--color-heading:#c9a8fa;--color-background:#131318;--color-set-name:#dfe1e8;--color-set-id:rgba(201,168,250,0.24);--color-set-background:#0f0f14;--color-set-border:rgba(201,168,250,0.08);--color-set-border--hover:#c9a8fa;--color-set-item:#16161d;--color-set-item--hover:#dfe1e8;--color-button-text:#c9a8fa;--color-button-text--hover:#99ecfd;--color-button-background:transparent;--color-button-background--hover:transparent;--color-button-border:#c9a8fa;--color-button-border--hover:#99ecfd;--color-button-text--nav:#c9a8fa;--color-button-background--nav:transparent;--color-button-border--nav:rgba(201,168,250,0.08);--color-search-text-placeholder:#c9a8fa;--color-search-background:#1a1922;--color-settings-background:#0f0f14;--color-input-text:#dfe1e8;--color-input-text-placeholder:#c9a8fa;--color-input-background:#1a1922;--color-input-border:rgba(201,168,250,0.08);--color-input-border--focus:#dfe1e8;--color-plugin-text:#c0c5ce;--color-plugin-row-odd:#16161d;--color-plugin-row-even:#1a1922}.theme-light{--color-text:#4f5b66;--color-heading:#4f5b66;--color-background:#f8fbff;--color-set-name:#4f5b66;--color-set-id:#dfe1e8;--color-set-background:#fbfdff;--color-set-border:rgba(153,236,253,0.16);--color-set-border--hover:#99ecfd;--color-set-item:#eff1f5;--color-set-item--hover:#4f5b66;--color-button-text:#4f5b66;--color-button-text--hover:#4f5b66;--color-button-background:#eff1f5;--color-button-background--hover:#eff1f5;--color-button-border:transparent;--color-button-border--hover:#99ecfd;--color-button-text--nav:#a7adba;--color-button-background--nav:#eff1f5;--color-button-border--nav:transparent;--color-search-text-placeholder:#a7adba;--color-search-background:#eff1f5;--color-settings-background:#fbfdff;--color-input-text:#4f5b66;--color-input-text-placeholder:#a7adba;--color-input-background:#eff1f5;--color-input-border:rgba(153,236,253,0.16);--color-input-border--focus:#99ecfd;--color-plugin-text:#a7adba;--color-plugin-row-odd:#fbfdff;--color-plugin-row-even:#eff1f5}.link{color:inherit;border-bottom:1px solid #c9a8fa;border-bottom:1px solid var(--color-button-text)}.link:hover{color:#99ecfd;color:var(--color-button-text--hover);border-color:#99ecfd;border-color:var(--color-button-border--hover)}.u-text-center{text-align:center!important}.u-text-bold{font-weight:600!important}html{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}body{margin:0}footer,header,main,nav,section{display:block}article,body,div,footer,form,header,html,input[type=search],input[type=text],li,main,ol,p,section,textarea,ul{box-sizing:border-box}a{background-color:transparent;-webkit-text-decoration-skip:objects;text-decoration-skip:objects}a:active,a:hover{outline-width:0}img{vertical-align:middle;border-style:none}button,input,textarea{margin:0;font:inherit}body,html{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}body{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em;line-height:1.5;color:#dfe1e8;color:var(--color-text);background-color:#131318;background-color:var(--color-background)}a{text-decoration:none}ol,ul{margin-top:0;margin-bottom:0;padding-left:0}hr{width:100%;height:.25em;margin:2.5em 0 2em;border:0;background-color:rgba(201,168,250,.08);background-color:var(--color-set-border)}h1,h2,h3,h4{margin-top:0;margin-bottom:0;font-weight:400;line-height:1.3}.h2,.h3,.h4{margin-bottom:1rem;font-weight:400;color:#c9a8fa;color:var(--color-heading)}.h2{font-size:1.25em}@media only screen and (min-width:35.5em){.h2{font-size:1.5em}}.h3{font-size:1em}@media only screen and (min-width:35.5em){.h3{font-size:1.25em}}@media only screen and (min-width:48em){.h3{font-size:1.375em}}.h4{font-size:1em}p{margin-top:0;margin-bottom:1.2em}.site-wrapper{max-width:120rem;margin-right:auto;margin-left:auto}.header{width:100%;margin-bottom:3em;padding:1em 1em 0}@media only screen and (min-width:48em){.header{margin-bottom:4em;padding:2em 2em 0}}@media only screen and (min-width:64em){.header{margin-bottom:4.5em}}@media only screen and (min-width:90em){.header{margin-bottom:6em}}.nav:after,.nav:before{content:"";display:table}.nav:after{clear:both}.nav__search{float:left}.nav__search[focus-within]{width:100%}.nav__search:focus-within{width:100%}@media only screen and (min-width:35.5em){.nav__search[focus-within]{width:auto}.nav__search:focus-within{width:auto}}.nav-list{float:right;list-style:none}.nav-list__item{display:inline-block;padding:0 .5em;letter-spacing:.025em}.nav-list__item:last-child{padding-right:0}@media only screen and (min-width:35.5em){.nav-list__item{padding-right:1em;padding-left:1em}}@media only screen and (min-width:64em){.nav-list__item{padding-right:1.25em;padding-left:1.25em}}.content-wrapper{margin-bottom:4em}@media only screen and (min-width:35.5em){.content-wrapper{margin-bottom:6em}}@media only screen and (min-width:48em){.content-wrapper{margin-bottom:8em}}@media only screen and (min-width:64em){.content-wrapper{margin-bottom:12em}}.footer{width:100%}@media only screen and (min-width:48em){.footer{position:fixed;bottom:0;left:0}}.settings{display:none;width:100%;padding:1em;background-color:#0f0f14;background-color:var(--color-settings-background)}.settings.is-active{display:block}@media only screen and (min-width:48em){.settings{padding:2em}}.settings-form,.settings-form__group,.settings__export,.settings__intro{margin-bottom:2em}.settings-form-list{margin-bottom:1em;list-style:none}.settings-form-list--plugin{margin-bottom:2em}.settings-form-list__item{margin-bottom:1em}.settings-form-list__item:last-child{margin-bottom:0}.settings-form-list__item--plugin:first-child{font-weight:600;color:#99ecfd;color:var(--color-button-text--hover)}.button{display:inline-block;vertical-align:middle;position:relative;padding:.75rem 1.5rem;box-sizing:border-box;font-size:.875rem;font-weight:400;text-align:center;text-decoration:none;color:#c9a8fa;color:var(--color-button-text);border-radius:4px;border:2px solid #c9a8fa;border-color:var(--color-button-border);background-color:transparent;background-color:var(--color-button-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button:focus{outline:none}.button.is-active,.button:hover{color:#99ecfd;color:var(--color-button-text--hover);border-color:#99ecfd;border-color:var(--color-button-border--hover);background-color:transparent;background-color:var(--color-button-background--hover)}.button--small{padding:.25rem .5rem}.button--nav{padding-right:1rem;padding-left:1rem;font-size:1em;color:#c9a8fa;color:var(--color-button-text--nav);border-color:rgba(201,168,250,.08);border-color:var(--color-button-border--nav);background-color:transparent;background-color:var(--color-button-background--nav)}@media only screen and (min-width:48em){.button--nav{padding-right:1.5rem;padding-left:1.5rem;font-size:.875rem}}.button-set{list-style:none}.button-set__item{display:inline-block;padding-right:.75rem;padding-bottom:.75rem}.grid{list-style:none}.grid__item{display:inline-block;vertical-align:top;width:100%;padding:0 1em 2em}@media only screen and (min-width:48em){.grid__item{padding:0 2em 2.5em}}@media only screen and (min-width:64em){.grid__item{width:50%}.grid__item:nth-child(odd){padding-right:1.5em}.grid__item:nth-child(2n){padding-left:1.5em}}@media only screen and (min-width:90em){.grid__item{width:33.33%}.grid__item:nth-child(n){padding:0 2em 4em}}.input{display:block;width:100%;padding:.75rem;line-height:1.5;text-align:left;color:#dfe1e8;color:var(--color-input-text);border:2px solid rgba(201,168,250,.08);border:2px solid var(--color-input-border);border-radius:0;background-color:#1a1922;background-color:var(--color-input-background);-webkit-appearance:none;-moz-appearance:none;appearance:none}.input::-webkit-input-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.input::-moz-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.input:-ms-input-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.input::-ms-input-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.input::placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.input:focus{border-color:#dfe1e8;border-color:var(--color-input-border--focus);outline:0}@media only screen and (min-width:48em){.input{font-size:.875rem}}.input--search{width:10rem;letter-spacing:.025rem;text-overflow:ellipsis;border:2px solid transparent;border-radius:4px;background-color:#1a1922;background-color:var(--color-search-background)}.input--search::-webkit-input-placeholder{color:#c9a8fa;color:var(--color-search-text-placeholder)}.input--search::-moz-placeholder{color:#c9a8fa;color:var(--color-search-text-placeholder)}.input--search:-ms-input-placeholder{color:#c9a8fa;color:var(--color-search-text-placeholder)}.input--search::-ms-input-placeholder{color:#c9a8fa;color:var(--color-search-text-placeholder)}.input--search::placeholder{color:#c9a8fa;color:var(--color-search-text-placeholder)}.input--search:focus{width:100%;color:#99ecfd;color:var(--color-button-text--hover);border-color:#99ecfd;border-color:var(--color-button-border--hover);transition:all .15s ease-in}.input--search:focus::-webkit-input-placeholder{color:#99ecfd;color:var(--color-button-text--hover)}.input--search:focus::-moz-placeholder{color:#99ecfd;color:var(--color-button-text--hover)}.input--search:focus:-ms-input-placeholder{color:#99ecfd;color:var(--color-button-text--hover)}.input--search:focus::-ms-input-placeholder{color:#99ecfd;color:var(--color-button-text--hover)}.input--search:focus::placeholder{color:#99ecfd;color:var(--color-button-text--hover)}@media only screen and (min-width:35.5em){.input--search{width:20rem}.input--search:focus{width:25rem}}.input--settings{max-width:25rem}.input--settings:disabled{border-color:transparent}.input--set{max-width:100%;border-bottom:0}.input-label{max-width:100%;padding-bottom:.25rem}.input-label,.textarea{display:block;font-size:.875rem}.textarea{width:100%;height:10rem;padding:.75rem;resize:vertical;line-height:1.5;text-align:left;color:#dfe1e8;color:var(--color-input-text);border:2px solid rgba(201,168,250,.08);border:2px solid var(--color-input-border);background-color:#1a1922;background-color:var(--color-input-background);-webkit-appearance:none;-moz-appearance:none;appearance:none}.textarea::-webkit-input-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.textarea::-moz-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.textarea:-ms-input-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.textarea::-ms-input-placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.textarea::placeholder{color:#c9a8fa;color:var(--color-input-text-placeholder)}.textarea:focus{border-color:#dfe1e8;border-color:var(--color-input-border--focus);outline:0}.textarea--large{height:20rem}.list{margin-bottom:1.5em;padding-left:2.5em}.list li,.list li>p{margin-bottom:.75em}.list li:last-child,.list li>p:last-child{margin-bottom:0}.modal{display:none;overflow-y:auto;position:fixed;top:0;left:0;z-index:100;width:100%;height:100%;background-color:rgba(0,0,0,.64)}.modal__content{padding:1rem;font-size:.875rem;color:#dfe1e8;color:var(--color-text);border:2px solid rgba(201,168,250,.08);border:2px solid var(--color-set-border);border-radius:4px;background-color:#0f0f14;background-color:var(--color-set-background);margin-right:auto;margin-left:auto;max-width:43.75rem}@media only screen and (min-width:35.5em){.modal__content{padding:2rem;max-width:47.75rem}}@media only screen and (min-width:48em){.modal__content{margin-top:6rem}}.plugins{max-width:120rem;font-size:.875rem;list-style:none;color:#c0c5ce;color:var(--color-plugin-text);max-width:116rem;margin-right:auto;margin-left:auto}.plugins__item{padding:.5em 1em}.plugins__item:nth-child(odd){background-color:#16161d;background-color:var(--color-plugin-row-odd)}.plugins__item:nth-child(2n){background-color:#1a1922;background-color:var(--color-plugin-row-even)}@media only screen and (min-width:48em){.plugins__item{padding-right:2em;padding-left:2em}}.set{position:relative;padding:1em .625em .75em;text-align:left;border:2px solid rgba(201,168,250,.08);border:2px solid var(--color-set-border);border-radius:4px;background-color:#0f0f14;background-color:var(--color-set-background);cursor:pointer}.set:hover{border-color:#c9a8fa;border-color:var(--color-set-border--hover)}@media only screen and (min-width:48em){.set{padding:1.5em .75em 1em}}.set__name{display:block;padding:0 1.375rem 1rem .375rem;font-size:1em;font-weight:600;letter-spacing:.025em;line-height:1.3;color:#dfe1e8;color:var(--color-set-name)}@media only screen and (min-width:48em){.set__name{padding:0 2.5rem 1.5rem .75rem;font-size:1.125em}}.set__id{position:absolute;top:1em;right:1em;padding-top:2px;font-size:.875rem;line-height:1.3;color:rgba(201,168,250,.24);color:var(--color-set-id)}@media only screen and (min-width:48em){.set__id{top:1.5em;right:1.5em;padding-top:.375rem}}.set-item{display:inline-block;padding:0 .375em .75em}@media only screen and (min-width:48em){.set-item{padding:0 .75em 1.5em}}.set-item__img{border:.75em solid #16161d;border:.75em solid var(--color-set-item);border-radius:50%;background-color:#16161d;background-color:var(--color-set-item)}.set-item__img:hover{border-color:#dfe1e8;border-color:var(--color-set-item--hover);background-color:#dfe1e8;background-color:var(--color-set-item--hover)}@media only screen and (min-width:48em){.set-item__img{border-width:1em}} diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..85b5f49 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,155 @@ + + + + + + + + + + Launchbot – Your Personal Startpage + + + + + + + + +
    + + +
    + + + +
    + + +
    +
    +
      + +
      +
      + + +
      +
        +
        + + +
        + +
        +

        Settings

        +

        + If you’re new to Launchbot, please refer to the documentation to look up all available settings. At the moment there are no input validations, if the documentation isn’t enough I’ll add it. +

        +
        + + +
        + +
        +

        Sets

        +
          + Add a set +
          + +
          +

          Options

          +
            +
            + +
            +

            Plugins

            +
            +
            + +
            + +
              +
            • + +
            • + +
            • + +
            • +
            + +
            + + +
            +

            Export config

            +

            + Below is the currently used config. Copy it to make a backup. You can + make it your default embedded config for all builds by replacing the + content of “/src/js/config.js” with it. +

            + +
            + + +
            +

            About Launchbot

            +

            + Launchbot is free and open source. It’s easy to self-host. I’ve been using it almost daily in my morning routine for over eight years. I hope you’ll find it helpful too. —Michael Xander +

            +
            + +
            + + +
            + + + + + + + + +