diff --git a/README.md b/README.md index 2a0a7a8..260d01f 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ Digital Business Card Generator is a free and open-source front-end web applicat - ~~Product showcase~~ - Custom font support - Analytics support +- Themes ## License diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index 3bcab69..7a86044 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -18,25 +18,22 @@ background-color: #38a169; border-color: #38a169; } -/* .checkbox:checked + img { - filter: invert(1); -} */ + .device-curve { border-radius: 2rem; } .max-hd { - /* max-height: 60vh; */ scrollbar-width: none; -ms-overflow-style: none; } .max-hd::-webkit-scrollbar { display: none; } -.device-viewport { +.theme-one { scrollbar-width: none; -ms-overflow-style: none; } -.device-viewport::-webkit-scrollbar { +.theme-one::-webkit-scrollbar { display: none; } @media (min-width: 640px) { diff --git a/assets/scripts/main.js b/assets/scripts/main.js index 3df0040..a351802 100644 --- a/assets/scripts/main.js +++ b/assets/scripts/main.js @@ -1,13 +1,13 @@ -let sC = document.getElementById('shareContainer'), - cBtn = document.getElementById('closeBtn'), - cURL = document.getElementById('copyURL'), - cSURL = document.getElementById('copyShareURL'), - dQR = document.getElementById('displayQRCode'), - qrc = document.getElementById('qrcode'), +let m = document.getElementById('modal'), + c = document.getElementById('close'), + ki = document.getElementById('keyInfo'), + cv = document.getElementById('copyView'), + curl = document.getElementById('copyURL'), + qrv = document.getElementById('qrView'), + qr = document.getElementById('qr'), s = document.getElementById('share'), - sQRC = document.getElementById('showQRCode'), - pKI = document.getElementById('pubKeyInfo'), - sPK = document.getElementById('showPubKey') + sqr = document.getElementById('showQR'), + sk = document.getElementById('showKey') function tC(e) { '2rem' == e.style.top @@ -24,8 +24,8 @@ function dN(value) { value.style.display = 'none' } window.addEventListener('load', () => { - ;(document.querySelector('#actions').style.display = 'flex'), - (qrc.innerHTML = new QRCode({ + ;(document.querySelector('#topActions').style.display = 'flex'), + (qr.innerHTML = new QRCode({ content: window.location.href, container: 'svg-viewbox', join: !0, @@ -42,31 +42,22 @@ navigator.canShare }) }) : s.addEventListener('click', () => { - tC(sC), - (cURL.style.display = 'flex'), - dN(dQR), - pKI ? dN(pKI) : null + tC(m), (cv.style.display = 'flex'), dN(qrv), ki ? dN(ki) : null }) -sQRC.addEventListener('click', () => { - tC(sC), - (dQR.style.display = 'block'), - dN(cURL), - pKI ? dN(pKI) : null +sqr.addEventListener('click', () => { + tC(m), (qrv.style.display = 'block'), dN(cv), ki ? dN(ki) : null }) -if (sPK) { - sPK.addEventListener('click', () => { - tC(sC), - pKI ? (pKI.style.display = 'flex') : null, - dN(cURL), - dN(dQR) +if (sk) { + sk.addEventListener('click', () => { + tC(m), ki ? (ki.style.display = 'flex') : null, dN(cv), dN(qrv) }) } -cBtn.addEventListener('click', () => tC(sC)), - cSURL.addEventListener('click', async () => { - let action = cSURL.querySelectorAll('.action')[1] +c.addEventListener('click', () => tC(m)), + curl.addEventListener('click', async () => { + let action = curl.querySelectorAll('.action')[1] await navigator.clipboard.writeText(window.location.href).then((e) => { action.innerText = 'Copied' setTimeout(() => { diff --git a/assets/scripts/media.js b/assets/scripts/media.js index 089ae5e..46a361f 100644 --- a/assets/scripts/media.js +++ b/assets/scripts/media.js @@ -1,4 +1,4 @@ -let pC = document.querySelectorAll('.playerControl'), +let pC = document.querySelectorAll('.pCtrl'), pP = document.querySelectorAll('.playPause'), srcs = document.querySelectorAll('.source') srcs.forEach((e) => { diff --git a/assets/styles/T1.min.css b/assets/styles/T1.min.css new file mode 100644 index 0000000..0e366e8 --- /dev/null +++ b/assets/styles/T1.min.css @@ -0,0 +1 @@ +body{margin:0 auto;width:100%;padding:0;max-width:30rem;color:#fff;font-family:sans-serif;position:relative}#modal{position:absolute;z-index:1;width:100%;bottom:0;-webkit-transition:top 0.2s ease-out, opacity 0.1s ease-out;transition:top 0.2s ease-out, opacity 0.1s ease-out;-webkit-transform:translateZ(0);transform:translateZ(0)}#closeModal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin:1rem 1rem 0 0}#close{padding:0.75rem;cursor:pointer;line-height:0}.icon{width:1.5rem;height:1.5rem}#modalView,#copyView,#qrView,#keyInfo{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:center;-ms-flex-align:center;align-items:center}#copyView p,#keyInfo p{margin:1rem 2em 0;line-height:1.5;text-align:center}#copyURL,#dlKey{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:5rem;margin-top:2rem;padding:0.75rem 1.5rem;cursor:pointer}#copyURL span,#dlKey span{margin-left:0.5rem}#qrView{text-align:center;width:100%}#qrView h2,#qrView p{padding:0 2rem}#qrView h2{margin:0}#qrView p{margin-top:0.5rem}#qr{margin:1rem 2rem 2rem;padding:2rem;background:#fff;border-radius:0.5rem}header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;padding:6rem 3rem;-webkit-box-sizing:border-box;box-sizing:border-box}#logo{max-height:6rem;text-align:center;color:gray;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#topActions{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:absolute;left:1rem;right:0;top:1rem}#topActions>div{display:-webkit-box;display:-ms-flexbox;display:flex}#topActions a{padding:0.75rem;cursor:pointer;border-radius:100%;line-height:0;margin-right:1rem}main{padding:1rem}#profile{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:center;-ms-flex-align:center;align-items:center;margin-top:-4.5rem}#profile img,#profile .img{width:7rem;height:7rem;border-radius:100%;text-align:center;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#info{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-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:1rem;line-height:1.25;word-break:break-word}.name{font-weight:700;font-size:1.25rem;margin:0}.jobtitle{font-size:1rem;margin:0.25rem 0 0 0}.desc{font-size:0.875rem;white-space:pre-line;line-height:1.5;margin:1rem}.actions{margin-top:2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.actionsC{width:33.33%}.actionBtn{padding:0.5rem;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:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.actionBtn a{border-radius:100%;padding:0.75rem;line-height:0}.actionBtn p{margin:0.5rem 0 0;font-size:0.875rem}.secActions{margin-top:1.25rem}.secBtn{padding:1rem}a{text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#cta{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}#dlVcard{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:5rem;margin-top:1.5rem;padding:0.75rem 1.5rem;cursor:pointer;line-height:0}#dlVcard .icon{margin-right:0.5rem}#dlVcard p{margin:0}.attachments{margin-top:1.5rem;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-pack:center;-ms-flex-pack:center;justify-content:center}.section{font-weight:700;text-align:center;font-size:1.5rem;margin:3rem 1rem 1rem}.content{overflow:hidden;border-radius:0.5rem;margin-top:1rem}.content img{display:block;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.embedded{position:relative;padding-top:56.25%}.embedded iframe{position:absolute;top:0;left:0;width:100%;height:100%}.music,.video{width:100%}.mediaC{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-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly;-webkit-box-align:center;-ms-flex-align:center;align-items:center}video{width:100%}.controls{padding:2rem 1rem;font-size:0.875rem;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.prodInfo .desc{margin:-1rem 0 0}.price{margin:2rem 0 0;font-size:1.25rem;font-weight:700}.label{display:inline-block;font-size:1rem;margin-top:1rem;border-radius:5rem;letter-spacing:1px;padding:0.75rem 1.5rem}.label p{margin:0}.title{font-size:1.125rem;font-weight:700;margin:0 0 0.5rem}.mediaInfo{margin:0}.pCtrl,.docDl{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.docDl{display:-webkit-box;display:-ms-flexbox;display:flex}.seekBar{width:100%;height:0.5rem;margin-top:2rem;border-radius:5rem;background:#adb5bd;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.playPause,.dlBtn{margin:2rem 0.5rem 0;padding:0.75rem;border-radius:5rem;line-height:0;cursor:pointer}.pause{display:none}footer{padding:2.5rem 1.5rem 2rem;font-size:0.75rem;text-align:center}footer a{text-decoration:underline;color:inherit} diff --git a/assets/styles/style.scss b/assets/styles/T1.scss similarity index 75% rename from assets/styles/style.scss rename to assets/styles/T1.scss index 2d350ce..3fef7d6 100644 --- a/assets/styles/style.scss +++ b/assets/styles/T1.scss @@ -7,7 +7,7 @@ body { font-family: sans-serif; position: relative; } -#shareContainer { +#modal { position: absolute; z-index: 1; width: 100%; @@ -15,12 +15,12 @@ body { transition: top 0.2s ease-out, opacity 0.1s ease-out; transform: translateZ(0); } -#closeBtnContainer { +#closeModal { display: flex; justify-content: flex-end; margin: 1rem 1rem 0 0; } -#closeBtn { +#close { padding: 0.75rem; cursor: pointer; line-height: 0; @@ -29,24 +29,24 @@ body { width: 1.5rem; height: 1.5rem; } -#shareContent, -#copyURL, -#displayQRCode, -#pubKeyInfo { +#modalView, +#copyView, +#qrView, +#keyInfo { display: flex; flex-direction: column; align-items: center; } -#copyURL, -#pubKeyInfo { +#copyView, +#keyInfo { p { margin: 1rem 2em 0; line-height: 1.5; text-align: center; } } -#copyShareURL, -#downloadKey { +#copyURL, +#dlKey { display: inline-flex; align-items: center; border-radius: 5rem; @@ -57,7 +57,7 @@ body { margin-left: 0.5rem; } } -#displayQRCode { +#qrView { text-align: center; width: 100%; h2, @@ -65,15 +65,13 @@ body { padding: 0 2rem; } h2 { - font-weight: 700; - font-size: 1.5rem; margin: 0; } p { margin-top: 0.5rem; } } -#qrcode { +#qr { margin: 1rem 2rem 2rem; padding: 2rem; background: #fff; @@ -95,13 +93,16 @@ header { pointer-events: none; user-select: none; } -#actions { +#topActions { flex-direction: row-reverse; justify-content: space-between; position: absolute; left: 1rem; right: 0; top: 1rem; + & > div { + display: flex; + } a { padding: 0.75rem; cursor: pointer; @@ -110,9 +111,6 @@ header { margin-right: 1rem; } } -#shareActions { - display: flex; -} main { padding: 1rem; } @@ -131,7 +129,7 @@ main { user-select: none; } } -#profileInfo { +#info { display: flex; flex-direction: column; justify-content: center; @@ -150,26 +148,22 @@ main { margin: 0.25rem 0 0 0; } -.bizDescription { - text-align: center; +.desc { font-size: 0.875rem; white-space: pre-line; line-height: 1.5; margin: 1rem; } -#contactBtns, -#socialBtns { +.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; } -.contactBtnContainer, -.socialBtnContainer { +.actionsC { width: 33.33%; } -.contactBtn, -.socialBtn { +.actionBtn { padding: 0.5rem; display: flex; flex-direction: column; @@ -185,16 +179,22 @@ main { font-size: 0.875rem; } } +.secActions { + margin-top: 1.25rem; +} +.secBtn { + padding: 1rem; +} a { text-decoration: none; user-select: none; } -#ctaContainer { +#cta { display: flex; justify-content: center; width: 100%; } -#downloadVcard { +#dlVcard { display: flex; align-items: center; border-radius: 5rem; @@ -209,33 +209,22 @@ a { margin: 0; } } -#socialBtns { - margin-top: 1.25rem; -} -.socialBtn { - padding: 1rem; -} -.contentContainer { +.attachments { margin-top: 1.5rem; display: flex; flex-direction: column; justify-content: center; } -.sectionTitle { +.section { font-weight: 700; text-align: center; font-size: 1.5rem; - margin: 3rem 1.5rem 1.5rem; + margin: 3rem 1rem 1rem; } -.image, -.music, -.video, -.document, -.embedContent, -.product { +.content { overflow: hidden; border-radius: 0.5rem; - margin-top: 1.5rem; + margin-top: 1rem; img { display: block; pointer-events: none; @@ -243,13 +232,22 @@ a { width: 100%; } } - +.embedded { + position: relative; + padding-top: 56.25%; + iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } +} .music, .video { width: 100%; } -.mediaPlayerContainer, -.documentContainer { +.mediaC { display: flex; flex-direction: column; justify-content: space-evenly; @@ -258,36 +256,32 @@ a { video { width: 100%; } -.infoControls { +.controls { padding: 2rem 1rem; font-size: 0.875rem; text-align: center; width: 100%; box-sizing: border-box; } -.productContent { - .description { +.prodInfo { + .desc { margin: -1rem 0 0; - font-size: 0.875rem; - white-space: pre-line; - line-height: 1.5; } - .price { - margin: 2rem 0 0; - font-size: 1.25rem; - font-weight: 700; - } - .label { - display: inline-block; - font-size: 1rem; - margin-top: 1rem; - border-radius: 5rem; - letter-spacing: 1px; - padding: 0.75rem 1.5rem; - line-height: 0; - .action { - margin: 0; - } +} +.price { + margin: 2rem 0 0; + font-size: 1.25rem; + font-weight: 700; +} +.label { + display: inline-block; + font-size: 1rem; + margin-top: 1rem; + border-radius: 5rem; + letter-spacing: 1px; + padding: 0.75rem 1.5rem; + p { + margin: 0; } } .title { @@ -295,18 +289,17 @@ video { font-weight: 700; margin: 0 0 0.5rem; } -.artistAlbum, -.fileSize { +.mediaInfo { margin: 0; } -.playerControl, -.downloadDocument { +.pCtrl, +.docDl { display: none; flex-direction: column; align-items: center; width: 100%; } -.downloadDocument { +.docDl { display: flex; } .seekBar { @@ -319,7 +312,7 @@ video { cursor: pointer; } .playPause, -.downloadBtn { +.dlBtn { margin: 2rem 0.5rem 0; padding: 0.75rem; border-radius: 5rem; @@ -330,14 +323,11 @@ video { display: none; } footer { - padding: 1.5rem 1.5rem 2rem; - div { - margin-top: 1rem; - font-size: 0.75rem; - text-align: center; - a { - text-decoration: underline; - color: inherit; - } + padding: 2.5rem 1.5rem 2rem; + font-size: 0.75rem; + text-align: center; + a { + text-decoration: underline; + color: inherit; } } \ No newline at end of file diff --git a/assets/styles/style.css b/assets/styles/style.css deleted file mode 100644 index 138fafb..0000000 --- a/assets/styles/style.css +++ /dev/null @@ -1,511 +0,0 @@ -body { - margin: 0 auto; - width: 100%; - padding: 0; - max-width: 30rem; - color: #fff; - font-family: sans-serif; - position: relative; -} - -#shareContainer { - position: absolute; - z-index: 1; - width: 100%; - bottom: 0; - -webkit-transition: top 0.2s ease-out, opacity 0.1s ease-out; - transition: top 0.2s ease-out, opacity 0.1s ease-out; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -#closeBtnContainer { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - margin: 1rem 1rem 0 0; -} - -#closeBtn { - padding: 0.75rem; - cursor: pointer; - line-height: 0; -} - -.icon { - width: 1.5rem; - height: 1.5rem; -} - -#shareContent, -#copyURL, -#displayQRCode, -#pubKeyInfo { - 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: center; - -ms-flex-align: center; - align-items: center; -} - -#copyURL p, -#pubKeyInfo p { - margin: 1rem 2em 0; - line-height: 1.5; - text-align: center; -} - -#copyShareURL, -#downloadKey { - display: -webkit-inline-box; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border-radius: 5rem; - margin-top: 2rem; - padding: 0.75rem 1.5rem; - cursor: pointer; -} - -#copyShareURL span, -#downloadKey span { - margin-left: 0.5rem; -} - -#displayQRCode { - text-align: center; - width: 100%; -} - -#displayQRCode h2, -#displayQRCode p { - padding: 0 2rem; -} - -#displayQRCode h2 { - font-weight: 700; - font-size: 1.5rem; - margin: 0; -} - -#displayQRCode p { - margin-top: 0.5rem; -} - -#qrcode { - margin: 1rem 2rem 2rem; - padding: 2rem; - background: #fff; - border-radius: 0.5rem; -} - -header { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - position: relative; - padding: 6rem 3rem; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -#logo { - max-height: 6rem; - text-align: center; - color: gray; - pointer-events: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#actions { - -webkit-box-orient: horizontal; - -webkit-box-direction: reverse; - -ms-flex-direction: row-reverse; - flex-direction: row-reverse; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - position: absolute; - left: 1rem; - right: 0; - top: 1rem; -} - -#actions a { - padding: 0.75rem; - cursor: pointer; - border-radius: 100%; - line-height: 0; - margin-right: 1rem; -} - -#shareActions { - display: -webkit-box; - display: -ms-flexbox; - display: flex; -} - -main { - padding: 1rem; -} - -#profile { - 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: center; - -ms-flex-align: center; - align-items: center; - margin-top: -4.5rem; -} - -#profile img, -#profile .img { - width: 7rem; - height: 7rem; - border-radius: 100%; - text-align: center; - pointer-events: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#profileInfo { - 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-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - margin-top: 1rem; - line-height: 1.25; - word-break: break-word; -} - -.name { - font-weight: 700; - font-size: 1.25rem; - margin: 0; -} - -.jobtitle { - font-size: 1rem; - margin: 0.25rem 0 0 0; -} - -.bizDescription { - text-align: center; - font-size: 0.875rem; - white-space: pre-line; - line-height: 1.5; - margin: 1rem; -} - -#contactBtns, -#socialBtns { - margin-top: 2rem; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; -} - -.contactBtnContainer, -.socialBtnContainer { - width: 33.33%; -} - -.contactBtn, -.socialBtn { - padding: 0.5rem; - 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: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; -} - -.contactBtn a, -.socialBtn a { - border-radius: 100%; - padding: 0.75rem; - line-height: 0; -} - -.contactBtn p, -.socialBtn p { - margin: 0.5rem 0 0; - font-size: 0.875rem; -} - -a { - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#ctaContainer { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; -} - -#downloadVcard { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border-radius: 5rem; - margin-top: 1.5rem; - padding: 0.75rem 1.5rem; - cursor: pointer; - line-height: 0; -} - -#downloadVcard .icon { - margin-right: 0.5rem; -} - -#downloadVcard p { - margin: 0; -} - -#socialBtns { - margin-top: 1.25rem; -} - -.socialBtn { - padding: 1rem; -} - -.contentContainer { - margin-top: 1.5rem; - 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-pack: center; - -ms-flex-pack: center; - justify-content: center; -} - -.sectionTitle { - font-weight: 700; - text-align: center; - font-size: 1.5rem; - margin: 3rem 1.5rem 1.5rem; -} - -.image, -.music, -.video, -.document, -.embedContent, -.product { - overflow: hidden; - border-radius: 0.5rem; - margin-top: 1.5rem; -} - -.image img, -.music img, -.video img, -.document img, -.embedContent img, -.product img { - display: block; - pointer-events: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - width: 100%; -} - -.music, -.video { - width: 100%; -} - -.mediaPlayerContainer, -.documentContainer { - 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-pack: space-evenly; - -ms-flex-pack: space-evenly; - justify-content: space-evenly; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -video { - width: 100%; -} - -.infoControls { - padding: 2rem 1rem; - font-size: 0.875rem; - text-align: center; - width: 100%; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.productContent .description { - margin: -1rem 0 0; - font-size: 0.875rem; - white-space: pre-line; - line-height: 1.5; -} - -.productContent .price { - margin: 2rem 0 0; - font-size: 1.25rem; - font-weight: 700; -} - -.productContent .label { - display: inline-block; - font-size: 1rem; - margin-top: 1rem; - border-radius: 5rem; - letter-spacing: 1px; - padding: 0.75rem 1.5rem; - line-height: 0; -} - -.productContent .label .action { - margin: 0; -} - -.title { - font-size: 1.125rem; - font-weight: 700; - margin: 0 0 0.5rem; -} - -.artistAlbum, -.fileSize { - margin: 0; -} - -.playerControl, -.downloadDocument { - display: none; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: 100%; -} - -.downloadDocument { - display: -webkit-box; - display: -ms-flexbox; - display: flex; -} - -.seekBar { - width: 100%; - height: 0.5rem; - margin-top: 2rem; - border-radius: 5rem; - background: #adb5bd; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - cursor: pointer; -} - -.playPause, -.downloadBtn { - margin: 2rem 0.5rem 0; - padding: 0.75rem; - border-radius: 5rem; - line-height: 0; - cursor: pointer; -} - -.pause { - display: none; -} - -footer { - padding: 1.5rem 1.5rem 2rem; -} - -footer div { - margin-top: 1rem; - font-size: 0.75rem; - text-align: center; -} - -footer div a { - text-decoration: underline; - color: inherit; -} -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/styles/style.css.map b/assets/styles/style.css.map deleted file mode 100644 index 1488d1e..0000000 --- a/assets/styles/style.css.map +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version": 3, - "mappings": "AAAA,AAAA,IAAI,CAAC;EACH,MAAM,EAAE,MAAM;EACd,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,CAAC;EACV,SAAS,EAAE,KAAK;EAChB,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,UAAU;EACvB,QAAQ,EAAE,QAAQ;CACnB;;AACD,AAAA,eAAe,CAAC;EACd,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,CAAC;EACV,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,CAAC;EACT,UAAU,EAAE,wCAAwC;EACpD,SAAS,EAAE,aAAa;CACzB;;AACD,AAAA,kBAAkB,CAAC;EAC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EACX,MAAM,EAAE,MAAM;EACd,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,IAAI;EACnB,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,IAAI;EAChB,MAAM,EAAE,OAAO;CAChB;;AACD,AAAA,UAAU;AACV,YAAY,CAAC;EACX,MAAM,EAAE,aAAa;EACrB,OAAO,EAAE,OAAO;EAChB,aAAa,EAAE,IAAI;EACnB,WAAW,EAAE,CAAC;EACd,MAAM,EAAE,OAAO;CAChB;;AACD,AAAA,MAAM,CAAC;EACL,OAAO,EAAE,IAAI;CACd;;AACD,AAAA,MAAM,CAAC;EACL,OAAO,EAAE,kBAAkB;CAU5B;;AAXD,AAEE,MAFI,CAEJ,GAAG,CAAC;EACF,UAAU,EAAE,IAAI;EAChB,SAAS,EAAE,OAAO;EAClB,UAAU,EAAE,MAAM;CAKnB;;AAVH,AAMI,MANE,CAEJ,GAAG,CAID,CAAC,CAAC;EACA,eAAe,EAAE,SAAS;EAC1B,KAAK,EAAE,OAAO;CACf", - "sources": [ - "style.scss" - ], - "names": [], - "file": "style.css" -} \ No newline at end of file diff --git a/assets/styles/style.min.css b/assets/styles/style.min.css deleted file mode 100644 index f366cfc..0000000 --- a/assets/styles/style.min.css +++ /dev/null @@ -1,2 +0,0 @@ -body{margin:0 auto;width:100%;padding:0;max-width:30rem;color:#fff;font-family:sans-serif;position:relative}#shareContainer{position:absolute;z-index:1;width:100%;bottom:0;-webkit-transition:top 0.2s ease-out, opacity 0.1s ease-out;transition:top 0.2s ease-out, opacity 0.1s ease-out;-webkit-transform:translateZ(0);transform:translateZ(0)}#closeBtnContainer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin:1rem 1rem 0 0}#closeBtn{padding:0.75rem;cursor:pointer;line-height:0}.icon{width:1.5rem;height:1.5rem}#shareContent,#copyURL,#displayQRCode,#pubKeyInfo{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:center;-ms-flex-align:center;align-items:center}#copyURL p,#pubKeyInfo p{margin:1rem 2em 0;line-height:1.5;text-align:center}#copyShareURL,#downloadKey{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:5rem;margin-top:2rem;padding:0.75rem 1.5rem;cursor:pointer}#copyShareURL span,#downloadKey span{margin-left:0.5rem}#displayQRCode{text-align:center;width:100%}#displayQRCode h2,#displayQRCode p{padding:0 2rem}#displayQRCode h2{font-weight:700;font-size:1.5rem;margin:0}#displayQRCode p{margin-top:0.5rem}#qrcode{margin:1rem 2rem 2rem;padding:2rem;background:#fff;border-radius:0.5rem}header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;padding:6rem 3rem;-webkit-box-sizing:border-box;box-sizing:border-box}#logo{max-height:6rem;text-align:center;color:gray;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#actions{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:absolute;left:1rem;right:0;top:1rem}#actions a{padding:0.75rem;cursor:pointer;border-radius:100%;line-height:0;margin-right:1rem}#shareActions{display:-webkit-box;display:-ms-flexbox;display:flex}main{padding:1rem}#profile{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:center;-ms-flex-align:center;align-items:center;margin-top:-4.5rem}#profile img,#profile .img{width:7rem;height:7rem;border-radius:100%;text-align:center;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#profileInfo{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-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:1rem;line-height:1.25;word-break:break-word}.name{font-weight:700;font-size:1.25rem;margin:0}.jobtitle{font-size:1rem;margin:0.25rem 0 0 0}.bizDescription{text-align:center;font-size:0.875rem;white-space:pre-line;line-height:1.5;margin:1rem}#contactBtns,#socialBtns{margin-top:2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.contactBtnContainer,.socialBtnContainer{width:33.33%}.contactBtn,.socialBtn{padding:0.5rem;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:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.contactBtn a,.socialBtn a{border-radius:100%;padding:0.75rem;line-height:0}.contactBtn p,.socialBtn p{margin:0.5rem 0 0;font-size:0.875rem}a{text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#ctaContainer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}#downloadVcard{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:5rem;margin-top:1.5rem;padding:0.75rem 1.5rem;cursor:pointer;line-height:0}#downloadVcard .icon{margin-right:0.5rem}#downloadVcard p{margin:0}#socialBtns{margin-top:1.25rem}.socialBtn{padding:1rem}.contentContainer{margin-top:1.5rem;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-pack:center;-ms-flex-pack:center;justify-content:center}.sectionTitle{font-weight:700;text-align:center;font-size:1.5rem;margin:3rem 1.5rem 1.5rem}.image,.music,.video,.document,.embedContent,.product{overflow:hidden;border-radius:0.5rem;margin-top:1.5rem}.image img,.music img,.video img,.document img,.embedContent img,.product img{display:block;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.music,.video{width:100%}.mediaPlayerContainer,.documentContainer{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-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly;-webkit-box-align:center;-ms-flex-align:center;align-items:center}video{width:100%}.infoControls{padding:2rem 1rem;font-size:0.875rem;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.productContent .description{margin:-1rem 0 0;font-size:0.875rem;white-space:pre-line;line-height:1.5}.productContent .price{margin:2rem 0 0;font-size:1.25rem;font-weight:700}.productContent .label{display:inline-block;font-size:1rem;margin-top:1rem;border-radius:5rem;letter-spacing:1px;padding:0.75rem 1.5rem;line-height:0}.productContent .label .action{margin:0}.title{font-size:1.125rem;font-weight:700;margin:0 0 0.5rem}.artistAlbum,.fileSize{margin:0}.playerControl,.downloadDocument{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.downloadDocument{display:-webkit-box;display:-ms-flexbox;display:flex}.seekBar{width:100%;height:0.5rem;margin-top:2rem;border-radius:5rem;background:#adb5bd;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.playPause,.downloadBtn{margin:2rem 0.5rem 0;padding:0.75rem;border-radius:5rem;line-height:0;cursor:pointer}.pause{display:none}footer{padding:1.5rem 1.5rem 2rem}footer div{margin-top:1rem;font-size:0.75rem;text-align:center}footer div a{text-decoration:underline;color:inherit} -/*# sourceMappingURL=style.min.css.map */ \ No newline at end of file diff --git a/assets/styles/style.min.css.map b/assets/styles/style.min.css.map deleted file mode 100644 index 2a0c66f..0000000 --- a/assets/styles/style.min.css.map +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version": 3, - "mappings": "AAAA,AAAA,IAAI,AAAC,CACH,MAAM,CAAE,MAAM,CACd,KAAK,CAAE,IAAI,CACX,OAAO,CAAE,CAAC,CACV,SAAS,CAAE,KAAK,CAChB,KAAK,CAAE,IAAI,CACX,WAAW,CAAE,UAAU,CACvB,QAAQ,CAAE,QAAQ,CACnB,AACD,AAAA,eAAe,AAAC,CACd,QAAQ,CAAE,QAAQ,CAClB,OAAO,CAAE,CAAC,CACV,KAAK,CAAE,IAAI,CACX,MAAM,CAAE,CAAC,CACT,UAAU,CAAE,wCAAwC,CACpD,SAAS,CAAE,aAAa,CACzB,AACD,AAAA,kBAAkB,AAAC,CACjB,OAAO,CAAE,IAAI,CACb,eAAe,CAAE,QAAQ,CACzB,MAAM,CAAE,aAAa,CACtB,AACD,AAAA,SAAS,AAAC,CACR,OAAO,CAAE,OAAO,CAChB,MAAM,CAAE,OAAO,CACf,WAAW,CAAE,CAAC,CACf,AACD,AAAA,KAAK,AAAC,CACJ,KAAK,CAAE,MAAM,CACb,MAAM,CAAE,MAAM,CACf,AACD,AAAA,aAAa,CACb,QAAQ,CACR,cAAc,CACd,WAAW,AAAC,CACV,OAAO,CAAE,IAAI,CACb,cAAc,CAAE,MAAM,CACtB,WAAW,CAAE,MAAM,CACpB,AACD,AAEE,QAFM,CAEN,CAAC,CADH,WAAW,CACT,CAAC,AAAC,CACA,MAAM,CAAE,UAAU,CAClB,WAAW,CAAE,GAAG,CAChB,UAAU,CAAE,MAAM,CACnB,AAEH,AAAA,aAAa,CACb,YAAY,AAAC,CACX,OAAO,CAAE,WAAW,CACpB,WAAW,CAAE,MAAM,CACnB,aAAa,CAAE,IAAI,CACnB,UAAU,CAAE,IAAI,CAChB,OAAO,CAAE,cAAc,CACvB,MAAM,CAAE,OAAO,CAIhB,AAXD,AAQ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AYb,MAAM,CAQJ,OAAO,AAAC,CACN,MAAM,CAAE,CAAC,CACV,AAGL,AAAA,MAAM,AAAC,CACL,SAAS,CAAE,QAAQ,CACnB,WAAW,CAAE,GAAG,CAChB,MAAM,CAAE,UAAU,CACnB,AACD,AAAA,YAAY,CACZ,SAAS,AAAC,CACR,MAAM,CAAE,CAAC,CACV,AACD,AAAA,cAAc,CACd,iBAAiB,AAAC,CAChB,OAAO,CAAE,IAAI,CACb,cAAc,CAAE,MAAM,CACtB,WAAW,CAAE,MAAM,CACnB,KAAK,CAAE,IAAI,CACZ,AACD,AAAA,iBAAiB,AAAC,CAChB,OAAO,CAAE,IAAI,CACd,AACD,AAAA,QAAQ,AAAC,CACP,KAAK,CAAE,IAAI,CACX,MAAM,CAAE,MAAM,CACd,UAAU,CAAE,IAAI,CAChB,aAAa,CAAE,IAAI,CACnB,UAAU,CAAE,OAAO,CACnB,UAAU,CAAE,IAAI,CAChB,MAAM,CAAE,OAAO,CAChB,AACD,AAAA,UAAU,CACV,YAAY,AAAC,CACX,MAAM,CAAE,aAAa,CACrB,OAAO,CAAE,OAAO,CAChB,aAAa,CAAE,IAAI,CACnB,WAAW,CAAE,CAAC,CACd,MAAM,CAAE,OAAO,CAChB,AACD,AAAA,MAAM,AAAC,CACL,OAAO,CAAE,IAAI,CACd,AACD,AAAA,MAAM,AAAC,CACL,OAAO,CAAE,kBAAkB,CAU5B,AAXD,AAEE,MAFI,CAEJ,GAAG,AAAC,CACF,UAAU,CAAE,IAAI,CAChB,SAAS,CAAE,OAAO,CAClB,UAAU,CAAE,MAAM,CAKnB,AAVH,AAMI,MANE,CAEJ,GAAG,CAID,CAAC,AAAC,CACA,eAAe,CAAE,SAAS,CAC1B,KAAK,CAAE,OAAO,CACf", - "sources": [ - "style.scss" - ], - "names": [], - "file": "style.min.css" -} \ No newline at end of file diff --git a/components/DocumentDownloader.vue b/components/DocumentDownloader.vue index 98fd0df..22ea6fd 100644 --- a/components/DocumentDownloader.vue +++ b/components/DocumentDownloader.vue @@ -1,6 +1,6 @@