diff --git a/build/asset-manifest.json b/build/asset-manifest.json index 3c7957d..028f936 100644 --- a/build/asset-manifest.json +++ b/build/asset-manifest.json @@ -1,6 +1,6 @@ { "files": { - "main.css": "./static/css/main.a7485571.css", + "main.css": "./static/css/main.8413cf27.css", "main.js": "./static/js/main.32ffc063.js", "static/media/isbn_mod_bg.wasm": "./static/media/isbn_mod_bg.66dd41f1cb4b53addda6.wasm", "static/media/buy.svg": "./static/media/buy.a0ebbd4b83f7c8afd5d9.svg", @@ -8,11 +8,11 @@ "index.html": "./index.html", "static/media/about.svg": "./static/media/about.472d9c94914ce88e8d8f.svg", "static/media/borrow.svg": "./static/media/borrow.f8356d8f6c1fc40fa23b.svg", - "main.a7485571.css.map": "./static/css/main.a7485571.css.map", + "main.8413cf27.css.map": "./static/css/main.8413cf27.css.map", "main.32ffc063.js.map": "./static/js/main.32ffc063.js.map" }, "entrypoints": [ - "static/css/main.a7485571.css", + "static/css/main.8413cf27.css", "static/js/main.32ffc063.js" ] } \ No newline at end of file diff --git a/build/index.html b/build/index.html index fb1c83d..ebca2f0 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -📖📚📚
\ No newline at end of file +📖📚📚
\ No newline at end of file diff --git a/build/static/css/main.a7485571.css b/build/static/css/main.8413cf27.css similarity index 59% rename from build/static/css/main.a7485571.css rename to build/static/css/main.8413cf27.css index cad7685..f8e53a0 100644 --- a/build/static/css/main.a7485571.css +++ b/build/static/css/main.8413cf27.css @@ -2,5 +2,5 @@ /* ! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com -*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:News Cycle,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.collapse{visibility:collapse}.max-w-prose{max-width:65ch}.grow{flex-grow:1}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}#app,body,html{font-family:News Cycle,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}h1{font-family:Amatic SC,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-bottom:.5rem}a{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity));text-decoration-line:underline}a:visited{color:#9333ea}a:hover{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}#app{align-content:center;width:100%}.main{display:flex;flex-direction:row;justify-content:center;min-height:100vh}.scan{align-content:center;margin:.75rem}.scanCanvas{border-radius:.25rem;margin:.75rem}.scanBtn{align-content:center;display:flex;justify-content:center;margin:1.25rem}.scanBtn button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(255 255 255/var(--tw-text-opacity));cursor:pointer;font-weight:600;margin:.5rem;padding:.75rem;text-transform:uppercase}button.active{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}button.done{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.welcome{align-content:center;background-color:#fff;background-image:linear-gradient(180deg,#f9f9f9fc,#f9f9f9eb),url("data:image/svg+xml;charset=utf-8,%3Csvg width='52' height='26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6h2c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4v2a6 6 0 0 1-6-6c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6zm25.464-1.95 8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' fill='%23000' fill-rule='evenodd'/%3E%3C/svg%3E");background-position:100% 100%;border-radius:.5rem;display:flex;justify-content:center;margin:.75rem;max-width:24rem;padding:1.25rem}.welcome ul{margin-left:1.25rem}.welcome li{margin-bottom:.75rem}.scan-list{margin-left:.75rem;margin-right:.75rem}.scan-list li{margin-bottom:.75rem}.scan-list a,.scan-list a:visited{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));text-decoration-line:none}.scan-list i{display:inline-block;font-size:.75rem;line-height:1rem;width:1.25rem}.result{background-color:#fff;background-image:linear-gradient(180deg,#f9f9f9fc,#f9f9f9eb),url("data:image/svg+xml;charset=utf-8,%3Csvg width='52' height='26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6h2c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4v2a6 6 0 0 1-6-6c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6zm25.464-1.95 8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' fill='%23000' fill-rule='evenodd'/%3E%3C/svg%3E");background-position:100% 100%;border-radius:.5rem;margin:.75rem;overflow-wrap:break-word;padding:1.25rem}.result-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.result-table h3{background-position:bottom .3em left 0;background-repeat:no-repeat;background-size:.75em;display:flex;font-weight:700;margin-bottom:.75rem;padding-left:1rem}.result-table p{margin-bottom:.25rem}.descr-collapsed .descr-expand{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));cursor:pointer;margin-left:.25rem;text-decoration-line:none}.descr-full .descr-expand{display:none}.descr-collapsed .descr-expand:before{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity));content:"...";padding-right:.25rem}.descr-collapsed .descr-extra-text{display:none}.descr-full .descr-extra-text{visibility:visible}.book-cover{display:grid;justify-items:center;margin-top:1.5rem}.book-actions{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));display:flex;margin-bottom:1.5rem;margin-top:1.5rem}.book-actions i{--tw-text-opacity:1;border-radius:.375rem;border-width:2px;color:rgb(100 116 139/var(--tw-text-opacity));cursor:pointer;flex:none;margin-left:.5rem;margin-right:.5rem;padding:.25rem 1.25rem}i.active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.scan-list i.icon-alarm,i.active.icon-alarm{--tw-text-opacity:1;color:rgb(30 58 138/var(--tw-text-opacity))}.scan-list i.icon-checkmark,i.active.icon-checkmark{--tw-text-opacity:1;color:rgb(20 83 45/var(--tw-text-opacity))}.scan-list i.icon-heart,i.active.icon-heart{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity))}.fade-in{animation-duration:2s;animation-name:fade-in}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.about{background-image:url(../../static/media/about.472d9c94914ce88e8d8f.svg)}.buy{background-image:url(../../static/media/buy.a0ebbd4b83f7c8afd5d9.svg)}.borrow{background-image:url(../../static/media/borrow.f8356d8f6c1fc40fa23b.svg)} -/*# sourceMappingURL=main.a7485571.css.map*/ \ No newline at end of file +*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:News Cycle,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.collapse{visibility:collapse}.max-w-prose{max-width:65ch}.grow{flex-grow:1}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}#app,body,html{font-family:News Cycle,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}h1{font-family:Amatic SC,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-bottom:.5rem}a{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity));text-decoration-line:underline}a:visited{color:#9333ea}a:hover{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}#app{align-content:center;padding-bottom:1.5rem;width:100%}.main{display:flex;flex-direction:row;justify-content:center;min-height:100vh}.scan{align-content:center;margin:.75rem}.scanCanvas{border-radius:.25rem;margin:.75rem}.scanBtn{align-content:center;display:flex;justify-content:center;margin:1.25rem}.scanBtn button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(255 255 255/var(--tw-text-opacity));cursor:pointer;font-weight:600;margin:.5rem;padding:.75rem;text-transform:uppercase}button.active{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}button.done{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.welcome{align-content:center;background-color:#fff;background-image:linear-gradient(180deg,#f9f9f9fc,#f9f9f9eb),url("data:image/svg+xml;charset=utf-8,%3Csvg width='52' height='26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6h2c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4v2a6 6 0 0 1-6-6c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6zm25.464-1.95 8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' fill='%23000' fill-rule='evenodd'/%3E%3C/svg%3E");background-position:100% 100%;border-radius:.5rem;display:flex;justify-content:center;margin:.75rem;max-width:24rem;padding:1.25rem}.welcome ul{margin-left:1.25rem}.welcome li{margin-bottom:.75rem}.scan-list{margin-left:.75rem;margin-right:.75rem}.scan-list li{margin-bottom:.75rem}.scan-list a,.scan-list a:visited{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));text-decoration-line:none}.scan-list i{display:inline-block;font-size:.75rem;line-height:1rem;width:1.25rem}.result{background-color:#fff;background-image:linear-gradient(180deg,#f9f9f9fc,#f9f9f9eb),url("data:image/svg+xml;charset=utf-8,%3Csvg width='52' height='26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6h2c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4a6 6 0 0 1 6 6c0 2.21 1.79 4 4 4v2a6 6 0 0 1-6-6c0-2.21-1.79-4-4-4a6 6 0 0 1-6-6zm25.464-1.95 8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' fill='%23000' fill-rule='evenodd'/%3E%3C/svg%3E");background-position:100% 100%;border-radius:.5rem;margin:.75rem;overflow-wrap:break-word;padding:1.25rem}.result-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.result-table h3{background-position:bottom .3em left 0;background-repeat:no-repeat;background-size:.75em;display:flex;font-weight:700;margin-bottom:.75rem;padding-left:1rem}.result-table p{margin-bottom:.25rem}.descr-collapsed .descr-expand{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));cursor:pointer;margin-left:.25rem;text-decoration-line:none}.descr-full .descr-expand{display:none}.descr-collapsed .descr-expand:before{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity));content:"...";padding-right:.25rem}.descr-collapsed .descr-extra-text{display:none}.descr-full .descr-extra-text{visibility:visible}.book-cover{display:grid;justify-items:center;margin-top:1.5rem}.book-actions{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));display:flex;margin-bottom:1.5rem;margin-top:1.5rem}.book-actions i{--tw-text-opacity:1;border-radius:.375rem;border-width:2px;color:rgb(100 116 139/var(--tw-text-opacity));cursor:pointer;flex:none;margin-left:.5rem;margin-right:.5rem;padding:.25rem 1.25rem}i.active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.scan-list i.icon-alarm,i.active.icon-alarm{--tw-text-opacity:1;color:rgb(30 58 138/var(--tw-text-opacity))}.scan-list i.icon-checkmark,i.active.icon-checkmark{--tw-text-opacity:1;color:rgb(20 83 45/var(--tw-text-opacity))}.scan-list i.icon-heart,i.active.icon-heart{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity))}.fade-in{animation-duration:2s;animation-name:fade-in}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.about{background-image:url(../../static/media/about.472d9c94914ce88e8d8f.svg)}.buy{background-image:url(../../static/media/buy.a0ebbd4b83f7c8afd5d9.svg)}.borrow{background-image:url(../../static/media/borrow.f8356d8f6c1fc40fa23b.svg)} +/*# sourceMappingURL=main.8413cf27.css.map*/ \ No newline at end of file diff --git a/build/static/css/main.8413cf27.css.map b/build/static/css/main.8413cf27.css.map new file mode 100644 index 0000000..8b752e4 --- /dev/null +++ b/build/static/css/main.8413cf27.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.8413cf27.css","mappings":"AAAA,WAKE,kBAAmB,CAJnB,mBAAsB,CAGtB,iBAAkB,CADlB,eAAmB,CADnB,4EAIF,CAEA,iCAcE,kCAAmC,CACnC,0CAA6B,CAK7B,kCAAmC,CACnC,iCAAkC,CAnBlC,6BAAiC,CACjC,iBAAkB,CAElB,mBAAoB,CAYpB,8CAA+C,CAb/C,eAAmB,CAMnB,gBAAiB,CAHjB,aAAc,CADd,mBAgBF,CAEA,mBACE,eACF,CACA,iBACE,eACF,CACA,oBACE,eACF,CACA,mBACE,eACF,CACA,uBACE,eACF,CACA,wBACE,eACF,CACA,8BACE,eACF;;ACpDA;;CAAc,CAAd,uCAAc,CAAd,qBAAc,CAAd,8BAAc,CAAd,wCAAc,CAAd,4BAAc,CAAd,uCAAc,CAAd,2HAAc,CAAd,8BAAc,CAAd,eAAc,CAAd,UAAc,CAAd,wBAAc,CAAd,QAAc,CAAd,uBAAc,CAAd,aAAc,CAAd,QAAc,CAAd,4DAAc,CAAd,gCAAc,CAAd,mCAAc,CAAd,mBAAc,CAAd,eAAc,CAAd,uBAAc,CAAd,2BAAc,CAAd,8CAAc,CAAd,mGAAc,CAAd,aAAc,CAAd,8BAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,aAAc,CAAd,iBAAc,CAAd,sBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,8BAAc,CAAd,oBAAc,CAAd,aAAc,CAAd,mEAAc,CAAd,aAAc,CAAd,mBAAc,CAAd,cAAc,CAAd,+BAAc,CAAd,mBAAc,CAAd,sBAAc,CAAd,mBAAc,CAAd,QAAc,CAAd,SAAc,CAAd,iCAAc,CAAd,gHAAc,CAAd,wBAAc,CAAd,qBAAc,CAAd,4BAAc,CAAd,gCAAc,CAAd,+BAAc,CAAd,mEA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AAW,CAAX,mBAAW,CAIX,kCAAW,CAKX,qDAAiC,CAAjC,2CAAiC,CAAjC,yBAAiC,CAIjC,iCAA+B,CAA/B,gBAA+B,CAA/B,8BAA+B,CAIjC,QACE,qBAAyB,CACzB,4cAKqf,CAErf,6BAAqD,CAArD,mBAAqD,CAArD,aAAqD,CAArD,wBAAqD,CAArD,eACF,CAIE,0BAAuB,CAAvB,6CAAuB,CAIzB,iBACE,sCAAwC,CAExC,2BAA4B,CAD5B,qBAAuB,CAGvB,YAA+B,CAA/B,eAA+B,CAA/B,oBAA+B,CAA/B,iBACF,CAGE,oCAAW,CAKX,kDAAqD,CAArD,2CAAqD,CAArD,cAAqD,CAArD,kBAAqD,CAArD,yBAAqD,CAIrD,sCAAa,CAGf,sCAEE,mBAAsB,CAAtB,uCAAsB,CADtB,aAAc,CACd,oBACF,CAGE,+CAAa,CAIb,gDAAc,CAId,wBAAoC,CAApC,sCAAoC,CAMpC,iCAA+B,CAA/B,0DAA+B,CAA/B,oBAA+B,CAA/B,iBAA+B,CAI/B,mCAAiF,CAAjF,qBAAiF,CAAjF,gBAAiF,CAAjF,4DAAiF,CAAjF,SAAiF,CAAjF,iBAAiF,CAAjF,kBAAiF,CAAjF,sBAAiF,CAIjF,0BAAmB,CAAnB,sDAAmB,CAKnB,+DAAoB,CAApB,2CAAoB,CAKpB,uEAAqB,CAArB,0CAAqB,CAKrB,+DAAmB,CAAnB,2CAAmB,CAIrB,SACE,qBAAsB,CACtB,sBACF,CAEA,mBACE,GACE,SACF,CACA,GACE,SACF,CACF,CAIA,OACE,uEACF,CAEA,KACE,qEACF,CAEA,QACE,wEACF","sources":["css/icon-moon.css","css/index.css"],"sourcesContent":["@font-face {\n font-family: 'icomoon';\n src: url('icomoon.woff') format('woff');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^=\"icon-\"], [class*=\" icon-\"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: 'icomoon' !important;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n \n /* Enable Ligatures ================ */\n letter-spacing: 0;\n -webkit-font-feature-settings: \"liga\";\n -moz-font-feature-settings: \"liga=1\";\n -moz-font-feature-settings: \"liga\";\n -ms-font-feature-settings: \"liga\" 1;\n font-feature-settings: \"liga\";\n -webkit-font-variant-ligatures: discretionary-ligatures;\n font-variant-ligatures: discretionary-ligatures;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-alarm:before {\n content: \"\\e950\";\n}\n.icon-bin:before {\n content: \"\\e9ac\";\n}\n.icon-target:before {\n content: \"\\e9b3\";\n}\n.icon-heart:before {\n content: \"\\e9da\";\n}\n.icon-checkmark:before {\n content: \"\\ea10\";\n}\n.icon-checkmark2:before {\n content: \"\\ea11\";\n}\n.icon-checkbox-checked:before {\n content: \"\\ea52\";\n}\n","@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@import url(\"icon-moon.css\");\n\nhtml,\nbody,\n#app {\n @apply font-sans;\n}\n\nh1 {\n @apply font-display font-bold text-3xl mb-2;\n}\n\na {\n @apply underline text-blue-600 hover:text-blue-800 visited:text-purple-600;\n}\n\n/* The outer container */\n#app {\n @apply w-full content-center pb-6;\n}\n\n/* Main content container */\n.main {\n @apply flex flex-row min-h-screen justify-center;\n}\n\n.scan {\n @apply m-3 content-center;\n}\n\n/* Just the canvas element */\n.scanCanvas {\n @apply rounded m-3;\n}\n\n/* A div that holds the buttons */\n.scanBtn {\n @apply m-5 content-center justify-center flex;\n}\n\n/* Individual scan/stop/share buttons */\n.scanBtn button {\n @apply uppercase bg-sky-700 text-white p-3 cursor-pointer m-2 rounded-md font-semibold;\n}\n\nbutton.active {\n @apply bg-red-600;\n}\n\nbutton.done {\n @apply bg-green-600;\n}\n\n/* The div that contains the welcome screen */\n.welcome {\n background-color: #ffffff;\n background-image: linear-gradient(\n to bottom,\n rgba(249, 249, 249, 0.99),\n rgba(249, 249, 249, 0.92)\n ),\n url(\"data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n\n @apply max-w-96 m-3 content-center justify-center flex p-5 bg-right-bottom rounded-lg;\n}\n\n.welcome ul {\n @apply ml-5;\n}\n\n/* TODO: custom arrows as in https://web.dev/articles/css-marker-pseudo-element */\n.welcome li {\n @apply mb-3;\n}\n\n.scan-list {\n @apply mx-3;\n}\n\n.scan-list li {\n @apply mb-3;\n}\n\n.scan-list a,\n.scan-list a:visited {\n @apply text-blue-700 no-underline;\n}\n\n.scan-list i {\n @apply w-5 inline-block text-xs;\n}\n\n/* The div that contains book details after the scan */\n.result {\n background-color: #ffffff;\n background-image: linear-gradient(\n to bottom,\n rgba(249, 249, 249, 0.99),\n rgba(249, 249, 249, 0.92)\n ),\n url(\"data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n\n @apply m-3 p-5 bg-right-bottom rounded-lg break-words;\n}\n\n/* The book result table with 3 columns for Info, Buy, Borrow */\n.result-table {\n @apply grid grid-cols-3;\n}\n\n/* The header row in the table */\n.result-table h3 {\n background-position: bottom 0.3em left 0;\n background-size: 0.75em;\n background-repeat: no-repeat;\n\n @apply font-bold mb-3 flex pl-4;\n}\n\n.result-table p {\n @apply mb-1;\n}\n\n/* Expand-collapse description field */\n.descr-collapsed .descr-expand {\n @apply text-blue-700 no-underline cursor-pointer ml-1;\n}\n\n.descr-full .descr-expand {\n @apply hidden;\n}\n\n.descr-collapsed .descr-expand::before {\n content: \"...\";\n @apply pr-1 text-black;\n}\n\n.descr-collapsed .descr-extra-text {\n @apply hidden;\n}\n\n.descr-full .descr-extra-text {\n @apply visible;\n}\n\n.book-cover {\n @apply grid justify-items-center mt-6\n}\n\n/* Buttons to control book status and other actions on book details page */\n\n.book-actions {\n @apply my-6 text-slate-400 flex;\n}\n\n.book-actions i {\n @apply px-5 py-1 mx-2 text-slate-500 border-2 rounded-md cursor-pointer flex-none;\n}\n\ni.active {\n @apply bg-slate-200;\n}\n\n.scan-list i.icon-alarm,\ni.active.icon-alarm {\n @apply text-blue-900;\n}\n\n.scan-list i.icon-checkmark,\ni.active.icon-checkmark {\n @apply text-green-900;\n}\n\n.scan-list i.icon-heart,\ni.active.icon-heart {\n @apply text-red-900;\n}\n\n/* Animation effect for loading book details */\n.fade-in {\n animation-duration: 2s;\n animation-name: fade-in;\n}\n\n@keyframes fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 100;\n }\n}\n\n/* ===== Icons ===== */\n\n.about {\n background-image: url(\"icons/about.svg\");\n}\n\n.buy {\n background-image: url(\"icons/buy.svg\");\n}\n\n.borrow {\n background-image: url(\"icons/borrow.svg\");\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/css/main.a7485571.css.map b/build/static/css/main.a7485571.css.map deleted file mode 100644 index d5430a1..0000000 --- a/build/static/css/main.a7485571.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.a7485571.css","mappings":"AAAA,WAKE,kBAAmB,CAJnB,mBAAsB,CAGtB,iBAAkB,CADlB,eAAmB,CADnB,4EAIF,CAEA,iCAcE,kCAAmC,CACnC,0CAA6B,CAK7B,kCAAmC,CACnC,iCAAkC,CAnBlC,6BAAiC,CACjC,iBAAkB,CAElB,mBAAoB,CAYpB,8CAA+C,CAb/C,eAAmB,CAMnB,gBAAiB,CAHjB,aAAc,CADd,mBAgBF,CAEA,mBACE,eACF,CACA,iBACE,eACF,CACA,oBACE,eACF,CACA,mBACE,eACF,CACA,uBACE,eACF,CACA,wBACE,eACF,CACA,8BACE,eACF;;ACpDA;;CAAc,CAAd,uCAAc,CAAd,qBAAc,CAAd,8BAAc,CAAd,wCAAc,CAAd,4BAAc,CAAd,uCAAc,CAAd,2HAAc,CAAd,8BAAc,CAAd,eAAc,CAAd,UAAc,CAAd,wBAAc,CAAd,QAAc,CAAd,uBAAc,CAAd,aAAc,CAAd,QAAc,CAAd,4DAAc,CAAd,gCAAc,CAAd,mCAAc,CAAd,mBAAc,CAAd,eAAc,CAAd,uBAAc,CAAd,2BAAc,CAAd,8CAAc,CAAd,mGAAc,CAAd,aAAc,CAAd,8BAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,aAAc,CAAd,iBAAc,CAAd,sBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,8BAAc,CAAd,oBAAc,CAAd,aAAc,CAAd,mEAAc,CAAd,aAAc,CAAd,mBAAc,CAAd,cAAc,CAAd,+BAAc,CAAd,mBAAc,CAAd,sBAAc,CAAd,mBAAc,CAAd,QAAc,CAAd,SAAc,CAAd,iCAAc,CAAd,gHAAc,CAAd,wBAAc,CAAd,qBAAc,CAAd,4BAAc,CAAd,gCAAc,CAAd,+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AAW,CAAX,mBAAW,CAIX,kCAAW,CAKX,qDAAiC,CAAjC,2CAAiC,CAAjC,yBAAiC,CAIjC,iCAA+B,CAA/B,gBAA+B,CAA/B,8BAA+B,CAIjC,QACE,qBAAyB,CACzB,4cAKqf,CAErf,6BAAqD,CAArD,mBAAqD,CAArD,aAAqD,CAArD,wBAAqD,CAArD,eACF,CAIE,0BAAuB,CAAvB,6CAAuB,CAIzB,iBACE,sCAAwC,CAExC,2BAA4B,CAD5B,qBAAuB,CAGvB,YAA+B,CAA/B,eAA+B,CAA/B,oBAA+B,CAA/B,iBACF,CAGE,oCAAW,CAKX,kDAAqD,CAArD,2CAAqD,CAArD,cAAqD,CAArD,kBAAqD,CAArD,yBAAqD,CAIrD,sCAAa,CAGf,sCAEE,mBAAsB,CAAtB,uCAAsB,CADtB,aAAc,CACd,oBACF,CAGE,+CAAa,CAIb,gDAAc,CAId,wBAAoC,CAApC,sCAAoC,CAMpC,iCAA+B,CAA/B,0DAA+B,CAA/B,oBAA+B,CAA/B,iBAA+B,CAI/B,mCAAiF,CAAjF,qBAAiF,CAAjF,gBAAiF,CAAjF,4DAAiF,CAAjF,SAAiF,CAAjF,iBAAiF,CAAjF,kBAAiF,CAAjF,sBAAiF,CAIjF,0BAAmB,CAAnB,sDAAmB,CAKnB,+DAAoB,CAApB,2CAAoB,CAKpB,uEAAqB,CAArB,0CAAqB,CAKrB,+DAAmB,CAAnB,2CAAmB,CAIrB,SACE,qBAAsB,CACtB,sBACF,CAEA,mBACE,GACE,SACF,CACA,GACE,SACF,CACF,CAIA,OACE,uEACF,CAEA,KACE,qEACF,CAEA,QACE,wEACF","sources":["css/icon-moon.css","css/index.css"],"sourcesContent":["@font-face {\n font-family: 'icomoon';\n src: url('icomoon.woff') format('woff');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^=\"icon-\"], [class*=\" icon-\"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: 'icomoon' !important;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n \n /* Enable Ligatures ================ */\n letter-spacing: 0;\n -webkit-font-feature-settings: \"liga\";\n -moz-font-feature-settings: \"liga=1\";\n -moz-font-feature-settings: \"liga\";\n -ms-font-feature-settings: \"liga\" 1;\n font-feature-settings: \"liga\";\n -webkit-font-variant-ligatures: discretionary-ligatures;\n font-variant-ligatures: discretionary-ligatures;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-alarm:before {\n content: \"\\e950\";\n}\n.icon-bin:before {\n content: \"\\e9ac\";\n}\n.icon-target:before {\n content: \"\\e9b3\";\n}\n.icon-heart:before {\n content: \"\\e9da\";\n}\n.icon-checkmark:before {\n content: \"\\ea10\";\n}\n.icon-checkmark2:before {\n content: \"\\ea11\";\n}\n.icon-checkbox-checked:before {\n content: \"\\ea52\";\n}\n","@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@import url(\"icon-moon.css\");\n\nhtml,\nbody,\n#app {\n @apply font-sans;\n}\n\nh1 {\n @apply font-display font-bold text-3xl mb-2;\n}\n\na {\n @apply underline text-blue-600 hover:text-blue-800 visited:text-purple-600;\n}\n\n/* The outer container */\n#app {\n @apply w-full content-center;\n}\n\n/* Main content container */\n.main {\n @apply flex flex-row min-h-screen justify-center;\n}\n\n.scan {\n @apply m-3 content-center;\n}\n\n/* Just the canvas element */\n.scanCanvas {\n @apply rounded m-3;\n}\n\n/* A div that holds the buttons */\n.scanBtn {\n @apply m-5 content-center justify-center flex;\n}\n\n/* Individual scan/stop/share buttons */\n.scanBtn button {\n @apply uppercase bg-sky-700 text-white p-3 cursor-pointer m-2 rounded-md font-semibold;\n}\n\nbutton.active {\n @apply bg-red-600;\n}\n\nbutton.done {\n @apply bg-green-600;\n}\n\n/* The div that contains the welcome screen */\n.welcome {\n background-color: #ffffff;\n background-image: linear-gradient(\n to bottom,\n rgba(249, 249, 249, 0.99),\n rgba(249, 249, 249, 0.92)\n ),\n url(\"data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n\n @apply max-w-96 m-3 content-center justify-center flex p-5 bg-right-bottom rounded-lg;\n}\n\n.welcome ul {\n @apply ml-5;\n}\n\n/* TODO: custom arrows as in https://web.dev/articles/css-marker-pseudo-element */\n.welcome li {\n @apply mb-3;\n}\n\n.scan-list {\n @apply mx-3;\n}\n\n.scan-list li {\n @apply mb-3;\n}\n\n.scan-list a,\n.scan-list a:visited {\n @apply text-blue-700 no-underline;\n}\n\n.scan-list i {\n @apply w-5 inline-block text-xs;\n}\n\n/* The div that contains book details after the scan */\n.result {\n background-color: #ffffff;\n background-image: linear-gradient(\n to bottom,\n rgba(249, 249, 249, 0.99),\n rgba(249, 249, 249, 0.92)\n ),\n url(\"data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n\n @apply m-3 p-5 bg-right-bottom rounded-lg break-words;\n}\n\n/* The book result table with 3 columns for Info, Buy, Borrow */\n.result-table {\n @apply grid grid-cols-3;\n}\n\n/* The header row in the table */\n.result-table h3 {\n background-position: bottom 0.3em left 0;\n background-size: 0.75em;\n background-repeat: no-repeat;\n\n @apply font-bold mb-3 flex pl-4;\n}\n\n.result-table p {\n @apply mb-1;\n}\n\n/* Expand-collapse description field */\n.descr-collapsed .descr-expand {\n @apply text-blue-700 no-underline cursor-pointer ml-1;\n}\n\n.descr-full .descr-expand {\n @apply hidden;\n}\n\n.descr-collapsed .descr-expand::before {\n content: \"...\";\n @apply pr-1 text-black;\n}\n\n.descr-collapsed .descr-extra-text {\n @apply hidden;\n}\n\n.descr-full .descr-extra-text {\n @apply visible;\n}\n\n.book-cover {\n @apply grid justify-items-center mt-6\n}\n\n/* Buttons to control book status and other actions on book details page */\n\n.book-actions {\n @apply my-6 text-slate-400 flex;\n}\n\n.book-actions i {\n @apply px-5 py-1 mx-2 text-slate-500 border-2 rounded-md cursor-pointer flex-none;\n}\n\ni.active {\n @apply bg-slate-200;\n}\n\n.scan-list i.icon-alarm,\ni.active.icon-alarm {\n @apply text-blue-900;\n}\n\n.scan-list i.icon-checkmark,\ni.active.icon-checkmark {\n @apply text-green-900;\n}\n\n.scan-list i.icon-heart,\ni.active.icon-heart {\n @apply text-red-900;\n}\n\n/* Animation effect for loading book details */\n.fade-in {\n animation-duration: 2s;\n animation-name: fade-in;\n}\n\n@keyframes fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 100;\n }\n}\n\n/* ===== Icons ===== */\n\n.about {\n background-image: url(\"icons/about.svg\");\n}\n\n.buy {\n background-image: url(\"icons/buy.svg\");\n}\n\n.borrow {\n background-image: url(\"icons/borrow.svg\");\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/build/sw.js b/build/sw.js index b3b7c4b..0402dd3 100644 --- a/build/sw.js +++ b/build/sw.js @@ -5,7 +5,7 @@ if ("function" === typeof importScripts) { self.addEventListener("install", event => { self.skipWaiting(); }); - workbox.precaching.precacheAndRoute([{"revision":"2cf1ace4dffd1c6c322c8b3a94af7eb0","url":"asset-manifest.json"},{"revision":"4020571efe44dc33d271798e6a18e0c1","url":"favicon.ico"},{"revision":"f98923403f5c78d689d56b18f947c520","url":"img/apple-touch-icon.png"},{"revision":"a62aa63bb4d0a3dd08820787bd7e118f","url":"img/favicon-16x16.png"},{"revision":"a5229a03fcfe584a3031846fe3c19ccf","url":"img/favicon-32x32.png"},{"revision":"37ff8dc0d50cd7705fc65fc84837c2aa","url":"img/og-image-400.png"},{"revision":"bc339b4d4612f88dfabf2aaf2b627bad","url":"index.html"},{"revision":"4eb07be2f7c70b5f22daf7a272043cef","url":"static/css/main.a7485571.css"},{"revision":"c2da399e84309b9f8101fdfbc9cf2a71","url":"static/js/main.32ffc063.js"},{"revision":"3311ddb0ad85b9240262a753f5a667b7","url":"static/media/about.472d9c94914ce88e8d8f.svg"},{"revision":"8d00e8b89883db0a8a11d9f91b427d10","url":"static/media/borrow.f8356d8f6c1fc40fa23b.svg"},{"revision":"fb577b765b6c263191ff525af5f4f175","url":"static/media/buy.a0ebbd4b83f7c8afd5d9.svg"},{"revision":"755a2a7987abefe92c8a319c7f3cffc1","url":"static/media/isbn_mod_bg.66dd41f1cb4b53addda6.wasm"},{"revision":"24f2b115d3964c9f977462cdd38b066a","url":"wasm/koder.js"},{"revision":"6f11e7db4fe9aca82cac7150bfc33769","url":"wasm/zbar.js"},{"revision":"e8789bf03df9c2c85e9c59ab0a0cd0c6","url":"wasm/zbar.wasm"},{"revision":"bb1c649a95ffa80369254cc3e51b9a41","url":"wasmWorker.js"}]); + workbox.precaching.precacheAndRoute([{"revision":"224b15781ffdc860c57598aa579ffb46","url":"asset-manifest.json"},{"revision":"4020571efe44dc33d271798e6a18e0c1","url":"favicon.ico"},{"revision":"f98923403f5c78d689d56b18f947c520","url":"img/apple-touch-icon.png"},{"revision":"a62aa63bb4d0a3dd08820787bd7e118f","url":"img/favicon-16x16.png"},{"revision":"a5229a03fcfe584a3031846fe3c19ccf","url":"img/favicon-32x32.png"},{"revision":"37ff8dc0d50cd7705fc65fc84837c2aa","url":"img/og-image-400.png"},{"revision":"3419e2a9e74ef87e5c33254dc36e4bbc","url":"index.html"},{"revision":"295ce930975f798a79e5d7b5476de593","url":"static/css/main.8413cf27.css"},{"revision":"c2da399e84309b9f8101fdfbc9cf2a71","url":"static/js/main.32ffc063.js"},{"revision":"3311ddb0ad85b9240262a753f5a667b7","url":"static/media/about.472d9c94914ce88e8d8f.svg"},{"revision":"8d00e8b89883db0a8a11d9f91b427d10","url":"static/media/borrow.f8356d8f6c1fc40fa23b.svg"},{"revision":"fb577b765b6c263191ff525af5f4f175","url":"static/media/buy.a0ebbd4b83f7c8afd5d9.svg"},{"revision":"755a2a7987abefe92c8a319c7f3cffc1","url":"static/media/isbn_mod_bg.66dd41f1cb4b53addda6.wasm"},{"revision":"24f2b115d3964c9f977462cdd38b066a","url":"wasm/koder.js"},{"revision":"6f11e7db4fe9aca82cac7150bfc33769","url":"wasm/zbar.js"},{"revision":"e8789bf03df9c2c85e9c59ab0a0cd0c6","url":"wasm/zbar.wasm"},{"revision":"bb1c649a95ffa80369254cc3e51b9a41","url":"wasmWorker.js"}]); workbox.routing.registerRoute( new RegExp("https://fonts.(?:.googlepis|gstatic).com/(.*)"), new workbox.strategies.CacheFirst({ diff --git a/src/css/index.css b/src/css/index.css index 3670ebb..6768935 100644 --- a/src/css/index.css +++ b/src/css/index.css @@ -20,7 +20,7 @@ a { /* The outer container */ #app { - @apply w-full content-center; + @apply w-full content-center pb-6; } /* Main content container */