diff --git a/CHANGELOG.md b/CHANGELOG.md index cfcc6f5..a4460c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- **Blue toolbar and pink eraser** (v51, PDF app and HTML overlay). The toolbar, its menus, Settings, the Timer and the Chapters / Find panel are now dark navy with light sky-blue buttons and black text, instead of black and yellow, to match the boat icon. The Eraser button is eraser pink. A selected tool has a white ring. Pen, highlighter and cover colors are unchanged. - **New boat icon** (v48). The PDF app, the demo page and the "Board not working?" page now use the OverBoard sailboat icon in the browser tab, on the home screen and when installed. The PDF app's start screen shows it next to the OverBoard PDF title. The sail is a little smaller and sits a little higher than in the first version of the icon. - **"Save notebook…" for blank notebooks** (v46, PDF app). In a notebook started from the start screen, the button that reads **Save ink into PDF…** for other PDFs now reads **Save notebook…**, and its window explains that the notebook is only kept in this browser until you save it as a real file. The file keeps the notebook's own name (no `_board`). Reopened in OverBoard, it's still a notebook: your writing comes back and you can keep adding pages. Once saving is on, the button shows **Saving into PDF ✓** as before. - **Type notes on the page** (v45, PDF app and HTML overlay). A new **Type** button above Eraser. Tap the page to type a note there; tap a note to change it (empty it to remove it). Escape, Ctrl+Enter or a tap beside it finishes the note. Notes take the pen's color and size, and changing either while typing changes the note. Notes stay editable and are kept with the ink: Undo, Clear, class periods, Select (move, copy, send to a period, delete), saving and Save PDF / Export PDF all include them. The eraser or your palm removes a whole note. While Type is on, a drag scrolls, and a drag that starts on the page's own text (PDF text, or the worksheet's text in the overlay) selects it and copies it, ready to paste with Ctrl+V. diff --git a/app/app.css b/app/app.css index 7e9add5..399191f 100644 --- a/app/app.css +++ b/app/app.css @@ -91,31 +91,31 @@ body.start #ob-pages { display: none; } /* ---------- toolbar extras (the rest is shared/toolbar.css) ---------- */ #ob-pagebox { grid-column: 1 / 3; display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: stretch; } #ink-bar #ob-pagebox button { font-size: 22px; padding: 0; } -#ob-pagebox label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: #bbb; font: 700 11px Inter, system-ui, sans-serif; } -#ob-page { width: 100%; min-width: 0; height: 40px; border-radius: 10px; border: 3px solid #3a3a3a; background: #fff; color: #000; font: 700 19px Inter, system-ui, sans-serif; text-align: center; } -#ob-page:focus { border-color: #ffd400; outline: none; } +#ob-pagebox label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: #D6E4F2; font: 700 11px Inter, system-ui, sans-serif; } +#ob-page { width: 100%; min-width: 0; height: 40px; border-radius: 10px; border: 3px solid #145DA0; background: #fff; color: #000; font: 700 19px Inter, system-ui, sans-serif; text-align: center; } +#ob-page:focus { border-color: #145DA0; box-shadow: 0 0 0 3px #fff; outline: none; } #ink-bar button:disabled { opacity: .4; cursor: default; } /* ---------- chapters ---------- */ -:is(#ob-toc, #ob-find) { position: fixed; top: 10px; bottom: 10px; right: 10px; width: min(360px, calc(100vw - 220px)); z-index: 99; background: #1f1f1f; color: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.5); display: flex; flex-direction: column; font-family: Inter, system-ui, sans-serif; } +:is(#ob-toc, #ob-find) { position: fixed; top: 10px; bottom: 10px; right: 10px; width: min(360px, calc(100vw - 220px)); z-index: 99; background: #082A4A; color: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.5); display: flex; flex-direction: column; font-family: Inter, system-ui, sans-serif; } :is(#ob-toc, #ob-find).left { right: auto; left: 10px; } :is(#ob-toc, #ob-find) .head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; font-size: 18px; } -:is(#ob-toc, #ob-find) .head button { width: 52px; height: 52px; border: 0; border-radius: 12px; background: #3a3a3a; color: #fff; font-size: 28px; cursor: pointer; } +:is(#ob-toc, #ob-find) .head button { width: 52px; height: 52px; border: 0; border-radius: 12px; background: #7FB3E6; color: #000; font-size: 28px; cursor: pointer; } :is(#ob-toc, #ob-find) ul { list-style: none; margin: 0; padding: 0; } :is(#ob-toc, #ob-find) > ul { overflow-y: auto; padding: 0 8px 10px; flex: 1; } :is(#ob-toc, #ob-find) li button { display: flex; width: 100%; gap: 10px; justify-content: space-between; align-items: center; min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: #fff; font: 600 15px Inter, system-ui, sans-serif; text-align: left; padding: 6px 10px; cursor: pointer; } -:is(#ob-toc, #ob-find) li button:hover { background: #3a3a3a; } +:is(#ob-toc, #ob-find) li button:hover { background: #7FB3E6; color: #000; } :is(#ob-toc, #ob-find) li button.here { background: #fff; color: #000; } -:is(#ob-toc, #ob-find) li button small { color: #aaa; font-weight: 700; flex: none; } +:is(#ob-toc, #ob-find) li button small { color: #D6E4F2; font-weight: 700; flex: none; } :is(#ob-toc, #ob-find) li button.here small { color: #555; } #ob-toc ul ul { padding-left: 16px; } #ob-toc ul ul button { font-weight: 500; min-height: 42px; } /* find text (shares the chapters panel's look) */ #ob-find form { display: flex; gap: 8px; padding: 0 10px 6px; } -#ob-find input { flex: 1; min-width: 0; height: 56px; border-radius: 12px; border: 3px solid #3a3a3a; background: #fff; color: #000; font: 600 18px Inter, system-ui, sans-serif; padding: 0 12px; } -#ob-find input:focus { border-color: #ffd400; outline: none; } -#ob-find form button { min-width: 72px; min-height: 56px; border: 0; border-radius: 12px; background: #ffd400; color: #000; font: 700 16px Inter, system-ui, sans-serif; cursor: pointer; } -#ob-find .msg { margin: 0; padding: 0 16px 6px; color: #bbb; font-size: 13px; min-height: 1.4em; } +#ob-find input { flex: 1; min-width: 0; height: 56px; border-radius: 12px; border: 3px solid #145DA0; background: #fff; color: #000; font: 600 18px Inter, system-ui, sans-serif; padding: 0 12px; } +#ob-find input:focus { border-color: #145DA0; box-shadow: 0 0 0 3px #fff; outline: none; } +#ob-find form button { min-width: 72px; min-height: 56px; border: 0; border-radius: 12px; background: #fff; color: #082A4A; font: 700 16px Inter, system-ui, sans-serif; cursor: pointer; } +#ob-find .msg { margin: 0; padding: 0 16px 6px; color: #D6E4F2; font-size: 13px; min-height: 1.4em; } #ob-find li button { font-weight: 500; } #ob-find li button b { background: #ffd400; color: #000; border-radius: 3px; padding: 0 2px; } .textLayer mark.hit.cur { background: rgba(255, 87, 34, .55); } diff --git a/app/index.html b/app/index.html index 008101a..64ec8cf 100644 --- a/app/index.html +++ b/app/index.html @@ -5,7 +5,7 @@ OverBoard PDF - + @@ -47,7 +47,7 @@

Open again

Your PDF and your ink stay in this browser on this computer. Nothing is uploaded. Have a Word file? In Word, choose File → Save as PDF, then drop the PDF here. Have an HTML worksheet? Drop it here to get a _board.html copy you can write on. -
About OverBoard · Board not working? · v50

+
About OverBoard · Board not working? · v51

diff --git a/app/report/index.html b/app/report/index.html index 63b5994..b579265 100644 --- a/app/report/index.html +++ b/app/report/index.html @@ -98,7 +98,7 @@

Is OverBoard not working on your board?

If something doesn't work the way the page asks, that's fine. That's exactly what I need to know. Just keep going.

Nothing is sent until you press Send at the very end, and you'll see everything first. No worksheets, PDFs or ink are ever included.

-

OverBoard v50

+

OverBoard v51

diff --git a/app/sw.js b/app/sw.js index 7e92528..0fdb5d6 100644 --- a/app/sw.js +++ b/app/sw.js @@ -1,11 +1,11 @@ // ===== GENERATED by tools/build.py: every file the app needs, with the start of its SHA-256. Do not edit by hand. ===== -const VERSION = '40c2f737e804'; +const VERSION = '8db00c515759'; const FILES = { - "../overlay/ink_overlay.html": "ff3cb1e5b2a929fd", + "../overlay/ink_overlay.html": "c55fd5171f4aab60", "../shared/ink-core.js": "bd0ac55dbae6a3ea", "../shared/strings.js": "4c0c63493dd62532", - "../shared/toolbar.css": "68234a816cc90a77", - "app.css": "d5009a129891b58e", + "../shared/toolbar.css": "3d62c20ea472966f", + "app.css": "01f9300545b535ad", "embed.js": "ea50a9ff4e960dd4", "export.js": "eaec8736ffed97b7", "find.js": "decbe30b206bf32e", @@ -17,14 +17,14 @@ const FILES = { "icons/icon-512.png": "46ca8bd2d6a32612", "icons/maskable-512.png": "c7d41ed2fa4ad874", "image.js": "d396b7d4f5aced4e", - "index.html": "a878402265bc763c", + "index.html": "ce988a0e5e7c1229", "ink.js": "76142d82f12d37ca", "libs.js": "c09f60186ab9029a", "main.js": "fa607d2ba7d7680b", "manifest.json": "416c107c34c8610b", "notebook.js": "7346e40dda6ff149", "offline.js": "6504935b2738711a", - "report/index.html": "1b2129c3831ed02f", + "report/index.html": "8363f612fa99d807", "store.js": "155ec064f6ffe569", "textlayer.js": "383ad22e91afb648", "vendor/pdf-lib@1.17.1/LICENSE.md": "f2c9fc00fdb66eb9", @@ -217,7 +217,7 @@ const FILES = { "vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-BoldItalic.ttf": "a224075ac17495ad", "vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-Italic.ttf": "832b4406dbef2362", "vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-Regular.ttf": "f8ace1f892b2bd9d", - "version.json": "552600bfe5d74ad2", + "version.json": "69825a788032a52b", "viewer.js": "1cffd9d5c7158958" }; // ===== END GENERATED ===== diff --git a/app/version.json b/app/version.json index 58b809f..f8f2ae8 100644 --- a/app/version.json +++ b/app/version.json @@ -1,5 +1,5 @@ { - "v": "fe3dfe626707", + "v": "1f191617e962", "js": [ "embed.js", "export.js", diff --git a/index.html b/index.html index 93db76a..452d6ef 100644 --- a/index.html +++ b/index.html @@ -58,7 +58,7 @@

Exit ticket

OverBoard · page 2 / 2 · Your ink saves in this browser only. Nothing is uploaded.
-