diff --git a/esbuildconf.js b/esbuildconf.js index c0508d4..43e48a8 100644 --- a/esbuildconf.js +++ b/esbuildconf.js @@ -14,10 +14,11 @@ export const options = { 'src/assets/heart-fill.svg', 'src/assets/star.svg', 'src/assets/star-fill.svg', + 'src/favicon.ico', ], outdir: 'dist', //entryNames: '[name]-[hash]', TODO: replace urls in index.html with hashed paths - loader: {'.html': 'copy', '.svg': 'copy'}, + loader: {'.html': 'copy', '.svg': 'copy', '.ico': 'copy'}, bundle: true, platform: 'browser', minify: false, // TODO: true for release and enable sourcemap diff --git a/src/assets/bubble.svg b/src/assets/bubble.svg index 583c79f..9b9d947 100644 --- a/src/assets/bubble.svg +++ b/src/assets/bubble.svg @@ -1,4 +1,6 @@ diff --git a/src/cards.css b/src/cards.css index 2d91ac1..5db1daa 100644 --- a/src/cards.css +++ b/src/cards.css @@ -17,6 +17,8 @@ max-width: var(--size); max-width: var(--size); } + +.mbox-updated-contact .mbox-img, .mbox-recommend-server .mbox-img { --size: 4.5ch; margin-left: 3ch; @@ -27,7 +29,6 @@ flex-basis: calc(100% - 64px - 1rem); flex-grow: 0; flex-shrink: 1; - max-width: 96ch; word-break: break-word; } @@ -38,15 +39,26 @@ margin-top: 0; } .mbox-header time, -.mbox-username { +.mbox-username, +.mbox-updated-contact, +.mbox mbox-recommend-server { + color: var(--color-accent); } +.mbox-updated-contact .mbox-body, .mbox-recommend-server .mbox-body { display: block; flex-basis: 100%; font-size: var(--font-small); + overflow: scroll; } +.mbox-updated-contact .mbox-header, .mbox-recommend-server .mbox-header { display: inline; } + +.mbox-updated-contact { + padding: 0 0 1rem 0; + margin: 0; +} \ No newline at end of file diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 0000000..9b1f7e6 Binary files /dev/null and b/src/favicon.ico differ diff --git a/src/form.css b/src/form.css index 3f6a634..1f6b11b 100644 --- a/src/form.css +++ b/src/form.css @@ -1,4 +1,7 @@ -form { +form, +.form { + display: flex; + flex-direction: column; } input, @@ -17,6 +20,7 @@ label { margin-bottom: 0; padding: 1.3rem 1.8rem; text-indent: 0; + transition: background-color .25s; } label { @@ -25,11 +29,11 @@ label { input[type="password"], input[type="text"] { + background: var(--bgcolor-textinput); border: .2rem solid #b7b7b7; border-radius: .2rem; display: block; margin: 0; - width: 100%; } input[type="password"]:focus, input[type="text"]:focus { @@ -78,6 +82,10 @@ button:focus { font-size: 3.4rem; } +.btn-danger { + background: var(--bgcolor-danger); +} + button:disabled { background-color: var(--bgcolor-inactive); cursor: default; @@ -95,6 +103,7 @@ button:disabled { .form-inline { display: flex; + flex-direction: row; flex-grow: 1; gap: 1rem; } diff --git a/src/index.html b/src/index.html index 8b81010..16958a0 100644 --- a/src/index.html +++ b/src/index.html @@ -2,30 +2,30 @@
-