From 5690c757525197d5581239d412fb20e840a55724 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 3 Jul 2019 15:25:38 +0100 Subject: [PATCH] small style fixes --- docs/assets/main.js | 26 ++- docs/assets/mainmin.js | 11 +- docs/assets/style.css | 185 ++++++++++++++++++- docs/assets/style.css.map | 2 +- docs/assets/style.min.css | 2 +- docs/assets/style.min.css.map | 2 +- docs/assets/style.scss | 336 ++++++++++++++++++++++------------ docs/index.html | 4 + 8 files changed, 426 insertions(+), 142 deletions(-) diff --git a/docs/assets/main.js b/docs/assets/main.js index 60e27f8..8316ddf 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -114,14 +114,21 @@ document.getElementById("pixlInput").onchange = function(e) { //function to apply effects const pixelit = ()=>{ - px.setScale(blocksize.value).setPalette(paletteList[currentPalette]).draw().pixelate(); - greyscale.checked ? px.convertGrayscale() : null; - palette.checked ? px.convertPalette() : null; - maxheight.value ? px.setMaxHeight(maxheight.value).resizeImage() : null; - maxwidth.value ? px.setMaxWidth(maxwidth.value).resizeImage() : null; + document.querySelector('.loader').classList.toggle('active'); + px.setScale(blocksize.value).setPalette(paletteList[currentPalette]).draw().pixelate(); + greyscale.checked ? px.convertGrayscale() : null; + palette.checked ? px.convertPalette() : null; + maxheight.value ? px.setMaxHeight(maxheight.value).resizeImage() : null; + maxwidth.value ? px.setMaxWidth(maxwidth.value).resizeImage() : null; + setTimeout(() => { + document.querySelector('.loader').classList.toggle('active'); + }, 250); + } + + const makePaletteGradient = ()=>{ //create palette @@ -130,13 +137,16 @@ const makePaletteGradient = ()=>{ document.querySelector('#palettecolor').innerHTML = ''; paletteList[currentPalette].forEach(elem=>{ let div = document.createElement('div'); - div.innerHTML = `
`; + div.classList = 'colorblock'; + div.style.backgroundColor = `rgba(${elem[0]},${elem[1]},${elem[2]},1)`; + //div.innerHTML = `
`; document.querySelector('#palettecolor').appendChild(div); //pdivs += `
`; }); - document.querySelector('#palettecolor').innerHTML = pdivs; + //document.querySelector('#palettecolor').innerHTML = pdivs; } - makePaletteGradient(); + +makePaletteGradient(); //block size const blocksize = document.querySelector('#blocksize'); diff --git a/docs/assets/mainmin.js b/docs/assets/mainmin.js index b89edc8..06af208 100644 --- a/docs/assets/mainmin.js +++ b/docs/assets/mainmin.js @@ -28,11 +28,15 @@ document.addEventListener("DOMContentLoaded", function () { var pixelit = function pixelit() { + document.querySelector('.loader').classList.toggle('active'); px.setScale(blocksize.value).setPalette(paletteList[currentPalette]).draw().pixelate(); greyscale.checked ? px.convertGrayscale() : null; palette.checked ? px.convertPalette() : null; maxheight.value ? px.setMaxHeight(maxheight.value).resizeImage() : null; maxwidth.value ? px.setMaxWidth(maxwidth.value).resizeImage() : null; + setTimeout(function () { + document.querySelector('.loader').classList.toggle('active'); + }, 250); }; var makePaletteGradient = function makePaletteGradient() { @@ -42,10 +46,11 @@ document.addEventListener("DOMContentLoaded", function () { document.querySelector('#palettecolor').innerHTML = ''; paletteList[currentPalette].forEach(function (elem) { var div = document.createElement('div'); - div.innerHTML = "
"); + div.classList = 'colorblock'; + div.style.backgroundColor = "rgba(".concat(elem[0], ",").concat(elem[1], ",").concat(elem[2], ",1)"); //div.innerHTML = `
`; + document.querySelector('#palettecolor').appendChild(div); //pdivs += `
`; - }); - document.querySelector('#palettecolor').innerHTML = pdivs; + }); //document.querySelector('#palettecolor').innerHTML = pdivs; }; makePaletteGradient(); //block size diff --git a/docs/assets/style.css b/docs/assets/style.css index c3dbf7b..449d5d8 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -188,7 +188,7 @@ header .actions { width: 100%; } -.colorpallete { +.colorpalette { margin-top: 15px; text-transform: uppercase; display: -webkit-box; @@ -204,15 +204,29 @@ header .actions { flex-wrap: wrap; } -.colorpallete .text { +.colorpalette .text { margin-right: 15px; margin-bottom: 10px; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } -.colorpallete .icons { - display: -webkit-box; - display: -ms-flexbox; - display: flex; +.colorpalette .icons { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; @@ -220,7 +234,7 @@ header .actions { flex-wrap: wrap; } -.colorblock { +.colorpalette .colorblock { margin-right: 5px; margin-bottom: 5px; height: 25px; @@ -310,11 +324,11 @@ header .actions { padding: 3px; } -.selectors label input[type='range'] { +.selectors label input[type="range"] { width: 100px; } -.selectors label input[type='input'] { +.selectors label input[type="input"] { width: 50px; } @@ -360,4 +374,157 @@ header .actions { margin-top: 50px; font-family: "Open Sans", sans-serif; } + +.loader { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + height: 100vh; + width: 100vw; + display: none; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + background-color: rgba(33, 56, 58, 0.4); +} + +.loader.active { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + +.lds-spinner { + color: official; + display: inline-block; + position: relative; + width: 64px; + height: 64px; +} + +.lds-spinner div { + -webkit-transform-origin: 32px 32px; + transform-origin: 32px 32px; + -webkit-animation: lds-spinner 1.2s linear infinite; + animation: lds-spinner 1.2s linear infinite; +} + +.lds-spinner div:after { + content: " "; + display: block; + position: absolute; + top: 3px; + left: 29px; + width: 5px; + height: 14px; + border-radius: 20%; + background: #fff; +} + +.lds-spinner div:nth-child(1) { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + -webkit-animation-delay: -1.1s; + animation-delay: -1.1s; +} + +.lds-spinner div:nth-child(2) { + -webkit-transform: rotate(30deg); + transform: rotate(30deg); + -webkit-animation-delay: -1s; + animation-delay: -1s; +} + +.lds-spinner div:nth-child(3) { + -webkit-transform: rotate(60deg); + transform: rotate(60deg); + -webkit-animation-delay: -0.9s; + animation-delay: -0.9s; +} + +.lds-spinner div:nth-child(4) { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + -webkit-animation-delay: -0.8s; + animation-delay: -0.8s; +} + +.lds-spinner div:nth-child(5) { + -webkit-transform: rotate(120deg); + transform: rotate(120deg); + -webkit-animation-delay: -0.7s; + animation-delay: -0.7s; +} + +.lds-spinner div:nth-child(6) { + -webkit-transform: rotate(150deg); + transform: rotate(150deg); + -webkit-animation-delay: -0.6s; + animation-delay: -0.6s; +} + +.lds-spinner div:nth-child(7) { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); + -webkit-animation-delay: -0.5s; + animation-delay: -0.5s; +} + +.lds-spinner div:nth-child(8) { + -webkit-transform: rotate(210deg); + transform: rotate(210deg); + -webkit-animation-delay: -0.4s; + animation-delay: -0.4s; +} + +.lds-spinner div:nth-child(9) { + -webkit-transform: rotate(240deg); + transform: rotate(240deg); + -webkit-animation-delay: -0.3s; + animation-delay: -0.3s; +} + +.lds-spinner div:nth-child(10) { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); + -webkit-animation-delay: -0.2s; + animation-delay: -0.2s; +} + +.lds-spinner div:nth-child(11) { + -webkit-transform: rotate(300deg); + transform: rotate(300deg); + -webkit-animation-delay: -0.1s; + animation-delay: -0.1s; +} + +.lds-spinner div:nth-child(12) { + -webkit-transform: rotate(330deg); + transform: rotate(330deg); + -webkit-animation-delay: 0s; + animation-delay: 0s; +} + +@-webkit-keyframes lds-spinner { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +@keyframes lds-spinner { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} /*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/docs/assets/style.css.map b/docs/assets/style.css.map index eb92485..b05e90c 100644 --- a/docs/assets/style.css.map +++ b/docs/assets/style.css.map @@ -1,6 +1,6 @@ { "version": 3, - "mappings": "AAAA,OAAO,CAAC,sFAAI;AAEZ,A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cAAc;EACzB,eAAe,EAAE,KAAK;CACvB;;AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,EAAE,EAAE;EAC7B,SAAS,EAAE,cAAc;EACzB,eAAe,EAAE,KAAK;CACvB;;AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,EAAE,EAAE;EAC7B,SAAS,EAAE,cAAc;EACzB,eAAe,EAAE,KAAK;CACvB;;AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,EAAE,EAAE;EAC7B,SAAS,EAAE,cAAc;EACzB,eAAe,EAAE,EAAE;CACpB;;AACD,UAAU,CAAV,WAAU;EACR,EAAE;IACA,OAAO,EAAE,CAAC;;EAEZ,IAAI;IACF,OAAO,EAAE,CAAC", "sources": [ "style.scss" ], diff --git a/docs/assets/style.min.css b/docs/assets/style.min.css index 7d1cfa7..f80475e 100644 --- a/docs/assets/style.min.css +++ b/docs/assets/style.min.css @@ -1,2 +1,2 @@ -@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700|VT323|Megrim|Rajdhani");*,*:after,*:before{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}h1,h2{font-family:"Open Sans",sans-serif;text-align:center;margin:35px auto}h2{margin-bottom:10px}p{line-height:1.4;margin:10px auto;max-width:700px;width:100%}h2{text-transform:uppercase;font-size:2.1rem}body{color:#fdfdfd;font-family:"Open Sans",sans-serif;overflow-x:hidden}.wrap{max-width:1000px;width:100%;padding:25px 25px;margin:0 auto}.wrap p{margin-left:auto;margin-right:auto;text-align:center}.wrap img{margin:0 auto;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);max-width:calc(100%);border:solid 5px #fdfdfd}.maxwidth{max-width:1000px;margin:0 auto}header{background-color:#21383a;padding:50px 25px}header h1{font-size:6rem;margin-top:0}header h1 span{color:#c1563d}header p{max-width:600px;line-height:1.4;margin:25px auto;text-align:center}header .actions{margin:35px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.inputbtn{background-color:#d1aa09;color:#fdfdfd;font-size:1rem;padding:10px 10px}.btn{margin:15px;display:inline-block;padding:0px 25px;color:#fdfdfd;font-size:1.5rem;text-decoration:none;background-color:#d1aa09;font-family:"Open Sans",sans-serif;text-transform:uppercase;position:relative;z-index:10;border:0}.btn.small{margin:5px 0;font-size:1rem;font-family:"Open Sans",sans-serif}.btn:after{position:absolute;top:-5px;left:5px;background-color:#d1aa09;width:calc(100% - 10px);height:100%;content:"";z-index:-1}.btn:before{position:absolute;bottom:-5px;right:5px;background-color:#d1aa09;width:calc(100% - 10px);height:100%;content:"";z-index:-1}.btn.call{background-color:#c1563d}.btn.call:after,.btn.call:before{background-color:#c1563d}.example,.docs{background-color:rgba(209,170,9,0.5);color:#21383a}.working,.links{background-color:#2a484a}.links .wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.infoselects{width:100%}.colorpallete{margin-top:15px;text-transform:uppercase;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.colorpallete .text{margin-right:15px;margin-bottom:10px}.colorpallete .icons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.colorblock{margin-right:5px;margin-bottom:5px;height:25px;width:25px;border:solid 2px white}.container canvas{margin:15px auto;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);max-width:100%;border:solid 5px #fdfdfd}.selectors{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectors label{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:10px 0;margin-right:15px;text-transform:uppercase;-ms-flex-negative:1;flex-shrink:1}.selectors label#uploadimage{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:auto;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.selectors label#uploadimage input{margin:5px 0;padding:3px}@media (max-width: 550px){.selectors label{width:calc(100%)}}.selectors label span{display:inline-block;width:40px;margin-left:5px;text-align:center}.selectors label input{margin-left:5px;padding:3px}.selectors label input[type='range']{width:100px}.selectors label input[type='input']{width:50px}.dothings{margin-top:15px}.dothings button{border:0;margin-top:10px;padding:5px 10px;text-transform:uppercase}.docs .wrap p{text-align:left;margin-left:0}.docs .wrap p.api{font-style:italic;padding-left:10px;margin-top:15px;line-height:1.2}.docs .wrap p.api strong{font-style:normal;font-weight:700}.docs .wrap pre{padding:10px;margin:10px 0;background-color:#e8f1f2;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.docs .wrap h3{font-size:1.8rem;margin-top:50px;font-family:"Open Sans",sans-serif} +@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700|VT323|Megrim|Rajdhani");*,*:after,*:before{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}h1,h2{font-family:"Open Sans",sans-serif;text-align:center;margin:35px auto}h2{margin-bottom:10px}p{line-height:1.4;margin:10px auto;max-width:700px;width:100%}h2{text-transform:uppercase;font-size:2.1rem}body{color:#fdfdfd;font-family:"Open Sans",sans-serif;overflow-x:hidden}.wrap{max-width:1000px;width:100%;padding:25px 25px;margin:0 auto}.wrap p{margin-left:auto;margin-right:auto;text-align:center}.wrap img{margin:0 auto;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);max-width:calc(100%);border:solid 5px #fdfdfd}.maxwidth{max-width:1000px;margin:0 auto}header{background-color:#21383a;padding:50px 25px}header h1{font-size:6rem;margin-top:0}header h1 span{color:#c1563d}header p{max-width:600px;line-height:1.4;margin:25px auto;text-align:center}header .actions{margin:35px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.inputbtn{background-color:#d1aa09;color:#fdfdfd;font-size:1rem;padding:10px 10px}.btn{margin:15px;display:inline-block;padding:0px 25px;color:#fdfdfd;font-size:1.5rem;text-decoration:none;background-color:#d1aa09;font-family:"Open Sans",sans-serif;text-transform:uppercase;position:relative;z-index:10;border:0}.btn.small{margin:5px 0;font-size:1rem;font-family:"Open Sans",sans-serif}.btn:after{position:absolute;top:-5px;left:5px;background-color:#d1aa09;width:calc(100% - 10px);height:100%;content:"";z-index:-1}.btn:before{position:absolute;bottom:-5px;right:5px;background-color:#d1aa09;width:calc(100% - 10px);height:100%;content:"";z-index:-1}.btn.call{background-color:#c1563d}.btn.call:after,.btn.call:before{background-color:#c1563d}.example,.docs{background-color:rgba(209,170,9,0.5);color:#21383a}.working,.links{background-color:#2a484a}.links .wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.infoselects{width:100%}.colorpalette{margin-top:15px;text-transform:uppercase;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.colorpalette .text{margin-right:15px;margin-bottom:10px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.colorpalette .icons{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.colorpalette .colorblock{margin-right:5px;margin-bottom:5px;height:25px;width:25px;border:solid 2px white}.container canvas{margin:15px auto;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);max-width:100%;border:solid 5px #fdfdfd}.selectors{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectors label{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:10px 0;margin-right:15px;text-transform:uppercase;-ms-flex-negative:1;flex-shrink:1}.selectors label#uploadimage{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:auto;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.selectors label#uploadimage input{margin:5px 0;padding:3px}@media (max-width: 550px){.selectors label{width:calc(100%)}}.selectors label span{display:inline-block;width:40px;margin-left:5px;text-align:center}.selectors label input{margin-left:5px;padding:3px}.selectors label input[type="range"]{width:100px}.selectors label input[type="input"]{width:50px}.dothings{margin-top:15px}.dothings button{border:0;margin-top:10px;padding:5px 10px;text-transform:uppercase}.docs .wrap p{text-align:left;margin-left:0}.docs .wrap p.api{font-style:italic;padding-left:10px;margin-top:15px;line-height:1.2}.docs .wrap p.api strong{font-style:normal;font-weight:700}.docs .wrap pre{padding:10px;margin:10px 0;background-color:#e8f1f2;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.docs .wrap h3{font-size:1.8rem;margin-top:50px;font-family:"Open Sans",sans-serif}.loader{position:fixed;top:0;left:0;right:0;bottom:0;height:100vh;width:100vw;display:none;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(33,56,58,0.4)}.loader.active{display:-webkit-box;display:-ms-flexbox;display:flex}.lds-spinner{color:official;display:inline-block;position:relative;width:64px;height:64px}.lds-spinner div{-webkit-transform-origin:32px 32px;transform-origin:32px 32px;-webkit-animation:lds-spinner 1.2s linear infinite;animation:lds-spinner 1.2s linear infinite}.lds-spinner div:after{content:" ";display:block;position:absolute;top:3px;left:29px;width:5px;height:14px;border-radius:20%;background:#fff}.lds-spinner div:nth-child(1){-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.lds-spinner div:nth-child(2){-webkit-transform:rotate(30deg);transform:rotate(30deg);-webkit-animation-delay:-1s;animation-delay:-1s}.lds-spinner div:nth-child(3){-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-delay:-0.9s;animation-delay:-0.9s}.lds-spinner div:nth-child(4){-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-0.8s;animation-delay:-0.8s}.lds-spinner div:nth-child(5){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-0.7s;animation-delay:-0.7s}.lds-spinner div:nth-child(6){-webkit-transform:rotate(150deg);transform:rotate(150deg);-webkit-animation-delay:-0.6s;animation-delay:-0.6s}.lds-spinner div:nth-child(7){-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-0.5s;animation-delay:-0.5s}.lds-spinner div:nth-child(8){-webkit-transform:rotate(210deg);transform:rotate(210deg);-webkit-animation-delay:-0.4s;animation-delay:-0.4s}.lds-spinner div:nth-child(9){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:-0.3s;animation-delay:-0.3s}.lds-spinner div:nth-child(10){-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-0.2s;animation-delay:-0.2s}.lds-spinner div:nth-child(11){-webkit-transform:rotate(300deg);transform:rotate(300deg);-webkit-animation-delay:-0.1s;animation-delay:-0.1s}.lds-spinner div:nth-child(12){-webkit-transform:rotate(330deg);transform:rotate(330deg);-webkit-animation-delay:0s;animation-delay:0s}@-webkit-keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}@keyframes lds-spinner{0%{opacity:1}100%{opacity:0}} /*# sourceMappingURL=style.min.css.map */ \ No newline at end of file diff --git a/docs/assets/style.min.css.map b/docs/assets/style.min.css.map index 274ee1d..ac0154d 100644 --- a/docs/assets/style.min.css.map +++ b/docs/assets/style.min.css.map @@ -1,6 +1,6 @@ { "version": 3, - "mappings": "AAAA,OAAO,CAAC,sFAAI,CAEZ,AAAA,CAAC,CACD,CAAC,AAAA,MAAM,CACP,CAAC,AAAA,OAAO,AAAC,CACP,MAAM,CAAE,CAAC,CACT,OAAO,CAAE,CAAC,CACV,UAAU,CAAE,UAAU,CAGvB,AA8CD,AAAA,EAAE,CACF,EAAE,AAAC,CACD,WAAW,CALA,WAAW,CAAE,UAAU,CAMlC,UAAU,CAAE,MAAM,CAClB,MAAM,CAAE,SAAS,CAClB,AAED,AAAA,EAAE,AAAC,CACD,aAAa,CAAE,IAAI,CACpB,AAED,AAAA,CAAC,AAAC,CACA,WAAW,CAAE,GAAG,CAChB,MAAM,CAAE,SAAS,CACjB,SAAS,CAAE,KAAK,CAChB,KAAK,CAAE,IAAI,CACZ,AAED,AAAA,EAAE,AAAC,CACD,cAAc,C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,GAAG,AAAA,UAAW,CAAA,CAAC,CAAE,CAC5B,SAAS,CAAE,aAAa,CACxB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,CAAC,CAAE,CAC5B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,CAAC,CAAE,CAC5B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,CAAC,CAAE,CAC5B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,CAAC,CAAE,CAC5B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,CAAC,CAAE,CAC5B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,EAAE,CAAE,CAC7B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,EAAE,CAAE,CAC7B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,KAAK,CACvB,AACD,AAAA,YAAY,CAAC,GAAG,AAAA,UAAW,CAAA,EAAE,CAAE,CAC7B,SAAS,CAAE,cAAc,CACzB,eAAe,CAAE,EAAE,CACpB,AACD,UAAU,CAAV,WAAU,CACR,EAAE,CACA,OAAO,CAAE,CAAC,CAEZ,IAAI,CACF,OAAO,CAAE,CAAC", "sources": [ "style.scss" ], diff --git a/docs/assets/style.scss b/docs/assets/style.scss index 1462583..d156c9d 100644 --- a/docs/assets/style.scss +++ b/docs/assets/style.scss @@ -49,8 +49,8 @@ $white: #fdfdfd; $black: #0c0c0c; $fontheader: "VT323", monospace; -$fontheader: 'Megrim', cursive; -$fontheader: 'Rajdhani', sans-serif; +$fontheader: "Megrim", cursive; +$fontheader: "Rajdhani", sans-serif; $fontheader: "Open Sans", sans-serif; $font: "Open Sans", sans-serif; @@ -93,10 +93,10 @@ body { margin-right: auto; text-align: center; } - img { - margin:0 auto; + img { + margin: 0 auto; position: relative; - left:50%; + left: 50%; transform: translateX(-50%); max-width: calc(100%); border: solid 5px $white; @@ -105,7 +105,7 @@ body { .maxwidth { max-width: $maxwidth; - margin:0 auto; + margin: 0 auto; } header { @@ -135,7 +135,7 @@ header { } .inputbtn { background-color: $secondarycolor; - color:$white; + color: $white; //font-family: $fontheader; font-size: 1rem; padding: 10px 10px; @@ -155,7 +155,7 @@ header { z-index: 10; border: 0; &.small { - margin:5px 0; + margin: 5px 0; font-size: 1rem; font-family: $font; } @@ -210,112 +210,115 @@ header { .infoselects { width: 100%; } -.colorpallete { - margin-top:15px; - text-transform:uppercase; +.colorpalette { + margin-top: 15px; + text-transform: uppercase; display: flex; -align-items: center; -justify-content: flex-start; -flex-wrap: wrap; -.text { - margin-right: 15px; - margin-bottom: 10px; -} + align-items: center; + justify-content: flex-start; + flex-wrap: wrap; + .text { + margin-right: 15px; + margin-bottom: 10px; + display: inline-flex; + align-items: center; + justify-content: flex-start; + flex-wrap: wrap; + } .icons { - //margin-top:10px; - display:flex; - justify-content:flex-start; - flex-wrap: wrap; - + //margin-top:10px; + display: inline-flex; + align-items: center; + justify-content: flex-start; + flex-wrap: wrap; } - } + .colorblock { + margin-right: 5px; + margin-bottom: 5px; + height: 25px; + width: 25px; + border: solid 2px white; + } + +} - .colorblock { - margin-right:5px; - margin-bottom: 5px; - height:25px; - width:25px; - border: solid 2px white; - } - - .container { - canvas { - margin:15px auto; - position: relative; - left:50%; - transform: translateX(-50%); - max-width: 100%; - border: solid 5px $white; - } - } - .selectors { - display:flex; - justify-content:flex-start; - align-items:center; - flex-wrap:wrap; + +.container { + canvas { + margin: 15px auto; + position: relative; + left: 50%; + transform: translateX(-50%); + max-width: 100%; + border: solid 5px $white; + } +} +.selectors { + display: flex; + justify-content: flex-start; + align-items: center; + flex-wrap: wrap; label { - display:inline-flex; - align-items:center; - justify-content:flex-start; - margin:10px 0; - margin-right:15px; - text-transform:uppercase; - //font-size:14px; - flex-shrink:1; - &#uploadimage{ - flex-grow:1; - margin-right:auto; - width:100%; - display:flex; - flex-direction:column; - align-items:flex-start; - input { - margin:5px 0; - padding:3px; - } - } - @include mq(sm){ - width: calc(100%); - } + display: inline-flex; + align-items: center; + justify-content: flex-start; + margin: 10px 0; + margin-right: 15px; + text-transform: uppercase; + //font-size:14px; + flex-shrink: 1; + &#uploadimage { + flex-grow: 1; + margin-right: auto; + width: 100%; + display: flex; + flex-direction: column; + align-items: flex-start; + input { + margin: 5px 0; + padding: 3px; + } + } + @include mq(sm) { + width: calc(100%); + } span { - display:inline-block; - width: 40px; - margin-left:5px; - text-align:center; - } - - input { - margin-left:5px; - //padding:3px; - padding:3px; - &[type='range']{ - width:100px; + display: inline-block; + width: 40px; + margin-left: 5px; + text-align: center; } - &[type='input'] { - width:50px; + + input { + margin-left: 5px; + //padding:3px; + padding: 3px; + &[type="range"] { + width: 100px; + } + &[type="input"] { + width: 50px; + } } - } } - } - - .dothings { - margin-top:15px; +} + +.dothings { + margin-top: 15px; button { - border:0; - margin-top:10px; - padding:5px 10px; - text-transform:uppercase; + border: 0; + margin-top: 10px; + padding: 5px 10px; + text-transform: uppercase; } - } +} + +.docs { + .wrap { + p { + text-align: left; + margin-left: 0; - .docs { - .wrap { - p { - text-align: left; - margin-left: 0; - - - &.api { font-style: italic; padding-left: 10px; @@ -326,22 +329,117 @@ flex-wrap: wrap; font-weight: 700; //font-family: $fontheader; //font-size: 1.1rem; - } } - } - pre { - padding: 10px; - margin:10px 0; - background-color: lighten($maincolor, 75%); - overflow-x: auto; - white-space: pre-wrap; - word-wrap: break-word; - } - h3 { - font-size: 1.8rem; - margin-top: 50px; - font-family: $fontheader; - } - } - } \ No newline at end of file + } + pre { + padding: 10px; + margin: 10px 0; + background-color: lighten($maincolor, 75%); + overflow-x: auto; + white-space: pre-wrap; + word-wrap: break-word; + } + h3 { + font-size: 1.8rem; + margin-top: 50px; + font-family: $fontheader; + } + } +} + +.loader { + position: fixed; + top:0; + left:0; + right: 0; + bottom: 0; + height: 100vh; + width: 100vw; + display: none; + justify-content: center; + align-items: center; + background-color: rgba($maincolor,0.4); + &.active { + display: flex; + } +} +.lds-spinner { + color: official; + display: inline-block; + position: relative; + width: 64px; + height: 64px; + //display: none; +} +.lds-spinner div { + transform-origin: 32px 32px; + animation: lds-spinner 1.2s linear infinite; +} +.lds-spinner div:after { + content: " "; + display: block; + position: absolute; + top: 3px; + left: 29px; + width: 5px; + height: 14px; + border-radius: 20%; + background: #fff; +} +.lds-spinner div:nth-child(1) { + transform: rotate(0deg); + animation-delay: -1.1s; +} +.lds-spinner div:nth-child(2) { + transform: rotate(30deg); + animation-delay: -1s; +} +.lds-spinner div:nth-child(3) { + transform: rotate(60deg); + animation-delay: -0.9s; +} +.lds-spinner div:nth-child(4) { + transform: rotate(90deg); + animation-delay: -0.8s; +} +.lds-spinner div:nth-child(5) { + transform: rotate(120deg); + animation-delay: -0.7s; +} +.lds-spinner div:nth-child(6) { + transform: rotate(150deg); + animation-delay: -0.6s; +} +.lds-spinner div:nth-child(7) { + transform: rotate(180deg); + animation-delay: -0.5s; +} +.lds-spinner div:nth-child(8) { + transform: rotate(210deg); + animation-delay: -0.4s; +} +.lds-spinner div:nth-child(9) { + transform: rotate(240deg); + animation-delay: -0.3s; +} +.lds-spinner div:nth-child(10) { + transform: rotate(270deg); + animation-delay: -0.2s; +} +.lds-spinner div:nth-child(11) { + transform: rotate(300deg); + animation-delay: -0.1s; +} +.lds-spinner div:nth-child(12) { + transform: rotate(330deg); + animation-delay: 0s; +} +@keyframes lds-spinner { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} diff --git a/docs/index.html b/docs/index.html index cc47951..16ec493 100644 --- a/docs/index.html +++ b/docs/index.html @@ -148,6 +148,10 @@

Known Problems/bugs

+ +
+
+