Commit Graph

247 Commits (main)

Author SHA1 Message Date
Isaiah Odhner ebe236ae19 CSpell: disable for SVG data URIs 2024-01-29 23:02:57 -05:00
Isaiah Odhner ee60aedf1c Format tidbits 2024-01-29 01:49:39 -05:00
Isaiah Odhner 2ee58567cc Fix mixed tabs/spaces 2024-01-28 21:51:32 -05:00
Isaiah Odhner f771cb36d6 Add PWA section to about page, with install button
Also, improve the electron app section, make the framing more positive.
2023-08-14 19:53:29 -04:00
Isaiah Odhner c4cceb42d7 Set various backgrounds on the different sections
This is pretty much just working with what I have on hand,
ideally I would draw custom backgrounds for all the sections, using
jspaint, but this at least makes the animated GIFs feel more at home.
2023-08-12 14:12:33 -04:00
Isaiah Odhner 52626f7350 Please don't feed Junkbot
- Needs layout and UX work, to integrate this better.
  Maybe the bin should start in a specific location, and you should
  click to drag it? That would open the door to sound effects, since
  sound requires a user gesture these days.
- The teaser text would ideally use the Junkbot font, on a sign,
  along with other background elements.
- This is kinda weird. Is this weird? Is Junkbot in a zoo?
2023-08-12 14:12:33 -04:00
Isaiah Odhner 9241f0b993 Add text colors to Textual Paint section 2023-08-12 14:12:33 -04:00
Isaiah Odhner d59e75091a Implement full-bleed layout and style Textual Paint section like a terminal
This also rewords and centers the first paragraph; changes got rolled in
2023-08-12 14:12:33 -04:00
Isaiah Odhner d2d2488f32 Tweak icon style 2023-08-11 00:56:06 -04:00
Isaiah Odhner ece6dead04 Decorate compatibility list with OS icons
I found these icons here: https://web.archive.org/web/20090724041102/http://mx.geocities.com/delsilicio/
2023-08-11 00:35:53 -04:00
Isaiah Odhner bcd07b1a57 Limit page width 2023-08-10 21:36:40 -04:00
Isaiah Odhner 174daecf8f Add hover effect to 98.js.org link 2023-08-10 03:34:43 -04:00
Isaiah Odhner 528edacb03 Fix margin at edges of about page 2023-08-10 00:28:00 -04:00
Isaiah Odhner d66b964446 Add an about page
🚧 Under Construction 🚧

- Basic scaffolding.
- Minimal prose, some copied from the About window. Needs elaboration.
- Tons of GIFs!
- All GIFs were sourced from http://gifcities.org/
  meaning they're ✅ Guaranteed Retro.
- Iframe embed of jspaint, with maximize button as a link that opens
  the app, keeping the current document (assuming storage is allowed),
  but losing undo history (for now).
2023-08-10 00:27:07 -04:00
Isaiah Odhner dcfe602cd5 Re-enable text selection in error details
- This doesn't cause much issue, since only once you open it does the iPad treat long presses ANYWHERE as selecting the text.
- This will be important for bug reports.
2021-12-20 12:10:21 -05:00
Isaiah Odhner d32c8f6806 DRY fullscreen CSS using JS-toggled fullscreen class 2021-12-20 01:50:57 -05:00
Isaiah Odhner 91d657d62b Tweak Eye Gaze Mode fullscreen for iPad
The mode is nice for having big controls and a floating undo button,
I should really separate the options for coarse input optimized UI (large buttons) and dwell clicking (for hands-free usage).
I should probably bite the bullet and make a settings screen.
2021-12-20 01:50:57 -05:00
Isaiah Odhner 451d2e3c10 Prevent text selection of floating undo / gaze pause buttons (for iOS) 2021-12-20 01:50:57 -05:00
Isaiah Odhner 806f720f4b Move eye gaze mode floating buttons to right in RTL layout (and styles to CSS) 2021-12-20 01:50:57 -05:00
Isaiah Odhner f50025d81d Crisp up the pixel art on Safari (adding more vendor prefixes) 2021-12-18 01:37:42 -05:00
Isaiah Odhner 43cbc58a31 Work around system overlays obscuring menu bar and tools on iPad
In fullscreen, the iPad shows the system bar as an overlay at the top, making the top of the page inaccessible.
It also adds a floating exit fullscreen (X) button.

This workaround shifts elements around to avoid these overlays.
It adds a spacer element to the top of the page to account for the system bar,
and styles it thematically as a titlebar. It looks great (very legit and intentional), at least on this one model of iPad,
but will probably break on other models. It's a very fragile thing, working around system overlays.
2021-12-18 01:37:42 -05:00
Isaiah Odhner 6c0cb00b2c Prevent text selection for mobile Safari
Previously, long-pressing would select the canvas, the selection, or in some cases, the entire page!

Not all of these prefixes are needed, but I can deal with that later.
Hopefully this doesn't interfere with anything!
2021-12-18 01:37:42 -05:00
Isaiah Odhner da1d94a01c Don't use nearest neighbor scaling for Manage Storage thumbnails
Fixes #127
2021-12-08 12:32:41 -05:00
Mike Wang 3c61779077
Fix stroke size chooser contrast after changing theme from dark to modern (#262)
Fixes #261
2021-12-08 11:25:51 -05:00
Isaiah Odhner 2c0e2dea06 Scale up checkbox ticks and submenu indicators in Eye Gaze Mode 2021-12-08 10:03:48 -05:00
Isaiah Odhner 424e1e11bd Update os-gui to pre-release version
- Fixes dragging windows with Eye Gaze Mode with special pointerId === 1234567890 logic for jspaint
- Improves performance with zooming/panning by reducing unnecessary DOM updates (specifically with the code for closing menus when you click outside of them)
- Fixes random key misinterpretation like F6 as 'u' in the menus, due to keyCode being interpreted as ASCII (case-insensitively); it now uses key instead of keyCode
- Menu item checkboxes and submenu indicators are now done in CSS, so need to be included in the Modern theme.
2021-12-08 09:50:18 -05:00
Isaiah Odhner 24fde9eb1d Clean up, and fix Fonts box icons in Modern theme 2021-12-08 08:48:16 -05:00
Isaiah Odhner b3c992a260 Fix disabled inset filter for font box button 2021-12-08 06:21:57 -05:00
Isaiah Odhner 80084ef95d Fix contrast of button icons in Dark theme (use theme colors) 2021-12-08 05:57:27 -05:00
Isaiah Odhner a4e94514b1 Style Fonts box 2021-12-08 05:16:28 -05:00
Isaiah Odhner 90c671f475 Prevent text selection in the status bar via the Project News window 2021-12-07 23:51:44 -05:00
Isaiah Odhner bddda00191 Fix: allow selecting text in Project News 2021-12-07 23:51:44 -05:00
Isaiah Odhner 88dcd5095e Disable invalid input highlighting
Currently it considers non-integer values for Width/Height "invalid", which isn't good for Cm/Inches.
Plus, it looks very aggressive, and validation in Windows 98 is normally done with dialogs on submit.
2021-12-07 18:10:31 -05:00
Isaiah Odhner 6d1a79d146 Add a reasonable amount of padding to dialogs
I had put this off for a long time because I wanted to get it exactly correct, but some is better than none!
And some dialogs are custom anyways, so there's no "right" answer.
2021-12-07 18:10:31 -05:00
Isaiah Odhner bafe17bded Fix duplicate select styling, and Text tool textarea
Disable select styling in 98.css to use tweaked 98.css select styling that I forgot I had added.
2021-12-07 16:02:52 -05:00
Isaiah Odhner e046f7582d Simplify spelling (dialog vs dialogue) 2021-12-07 16:02:52 -05:00
Isaiah Odhner dc2f68687c Set history window direction for RTL 2021-12-07 16:02:52 -05:00
Isaiah Odhner 80db0e5b48 Move over, Grinch!
Make Grinch less obtrusive on mobile.
2021-12-02 16:43:01 -05:00
Isaiah Odhner 2353c98609 Use JS to get Grinch animation working properly, and add dynamism 2021-12-02 11:24:24 -05:00
Isaiah Odhner 3f5430f6d0 Nope... (transition flips out like a CRT monitor when interrupted) 2021-12-02 11:24:24 -05:00
Isaiah Odhner 60062d8505 Not quite... (animation jumps when interrupted) 2021-12-02 11:24:24 -05:00
Isaiah Odhner fa1c9b6f2c Enable Winter theme for December, with Grinch button to exit 2021-12-02 11:24:24 -05:00
Isaiah Odhner 83e5b55b31 Make themes handle SVG vs PNG freely
- Modern theme now always uses SVG
- Occult theme now uses SVG for magnification options (not sure about this...)
- Themes can self-actualize
2021-12-02 01:08:17 -05:00
Isaiah Odhner d283d2810b Use themed (light/dark) eye gaze pause button
I already made a dark themed version of the icon (with light "ZZ" text), but hadn't implemented theming support for it.
2021-12-02 01:08:17 -05:00
Isaiah Odhner 35992c2442 Fix SVG handling in Winter theme and let themes decide SVG support
- Fix icons disappearing in Winter theme when SVG would normally be shown (when zoomed in or at odd DPIs)
- Now that icons can change between SVG and raster in Winter theme, prevent background-position transition on that pseudo element. (Transition background-position only for gradient of the flap.)
- The tool box component no longer has to track which themes support SVG.
- Themes can now have metrically different sprite sheet layouts, or do their own thing for icons more easily. This may or may not be useful in the future.
- There's a lot more repetition of sprite sheet handling code though.
2021-12-02 01:08:17 -05:00
Isaiah Odhner 854cff6e27 Simplify slightly 2021-12-02 01:08:17 -05:00
Isaiah Odhner aac010c57f Tweak gradient and angle flaps downward to avoid menu bar 2021-11-30 01:29:52 -05:00
Isaiah Odhner 7fa20f66e1 Tweak the gradient 2021-11-30 01:29:52 -05:00
Isaiah Odhner a40705c881 Fix transition for left flipping flaps 2021-11-30 01:29:52 -05:00
Isaiah Odhner 684d11a76d WIP: add gradient to flipped flap 2021-11-30 01:29:52 -05:00