@alexsun-top/opencode-chat-room 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +4 -4
  3. package/README.zh-CN.md +4 -4
  4. package/package.json +1 -1
  5. package/server/assets/FLUENT-ICONS-LICENSE +25 -0
  6. package/server/assets/NOTICE.txt +2 -1
  7. package/server/assets/attachments.css +1 -1
  8. package/server/assets/base.css +29 -7
  9. package/server/assets/chat/files.js +11 -10
  10. package/server/assets/chat/history-loader.js +36 -26
  11. package/server/assets/chat/icons.js +15 -0
  12. package/server/assets/chat/index.js +1 -1
  13. package/server/assets/chat/locales/de.js +3 -2
  14. package/server/assets/chat/locales/es.js +3 -2
  15. package/server/assets/chat/locales/fr.js +3 -2
  16. package/server/assets/chat/locales/it.js +3 -2
  17. package/server/assets/chat/locales/ja.js +3 -2
  18. package/server/assets/chat/locales/ko.js +3 -2
  19. package/server/assets/chat/markdown.js +5 -33
  20. package/server/assets/chat/messages.js +4 -9
  21. package/server/assets/chat/palette.js +41 -29
  22. package/server/assets/chat/pwa.js +67 -9
  23. package/server/assets/chat/recall.js +3 -2
  24. package/server/assets/chat/replies.js +2 -1
  25. package/server/assets/chat/rooms.js +12 -4
  26. package/server/assets/chat/shortcuts.js +1 -1
  27. package/server/assets/chat/state.js +6 -4
  28. package/server/assets/code-highlight.css +0 -5
  29. package/server/assets/conversation.css +5 -4
  30. package/server/assets/files.css +0 -15
  31. package/server/assets/fluent-icons.svg +42 -0
  32. package/server/assets/icons.css +9 -0
  33. package/server/assets/palette.css +1 -15
  34. package/server/assets/recall.css +2 -2
  35. package/server/assets/responsive.css +4 -4
  36. package/server/assets/room-create.css +1 -1
  37. package/server/assets/settings.css +4 -4
  38. package/server/chat.html +60 -42
  39. package/server/sw.js +9 -1
  40. package/src/tui/main.mjs +1 -1
@@ -0,0 +1,42 @@
1
+ <!-- Fluent System Icons, @fluentui/svg-icons 1.1.347 (MIT). See FLUENT-ICONS-LICENSE. -->
2
+ <svg xmlns="http://www.w3.org/2000/svg">
3
+ <symbol id="fluent-add-24" viewBox="0 0 24 24"><path d="M12 3.25c.41 0 .75.34.75.75v7.25H20a.75.75 0 0 1 0 1.5h-7.25V20a.75.75 0 0 1-1.5 0v-7.25H4a.75.75 0 0 1 0-1.5h7.25V4c0-.41.34-.75.75-.75"/></symbol>
4
+ <symbol id="fluent-alert-24" viewBox="0 0 24 24"><path d="M12 2a7.5 7.5 0 0 1 7.5 7.25v4.35l1.38 3.15a1.25 1.25 0 0 1-1.15 1.75H15a3 3 0 0 1-6 .18v-.18H4.27a1.25 1.25 0 0 1-1.14-1.75L4.5 13.6V9.5C4.5 5.35 7.85 2 12 2m1.5 16.5h-3a1.5 1.5 0 0 0 3 .15zM12 3.5c-3.32 0-6 2.67-6 6v4.4L4.66 17h14.7L18 13.9V9.29a6 6 0 0 0-6-5.78"/></symbol>
5
+ <symbol id="fluent-arrow_down-24" viewBox="0 0 24 24"><path d="M19.8 13.27a.75.75 0 0 0-1.1-1.04l-5.95 6.25V3.75a.75.75 0 1 0-1.5 0v14.73L5.3 12.23a.75.75 0 1 0-1.1 1.04l7.08 7.42a1 1 0 0 0 1.44 0z"/></symbol>
6
+ <symbol id="fluent-arrow_download-24" viewBox="0 0 24 24"><path d="M18.25 20.5a.75.75 0 1 1 0 1.5h-13a.75.75 0 1 1 0-1.5zm-6.6-18.49h.1c.38 0 .7.28.74.64l.01.1v13.7l3.72-3.73a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08-5 5a.75.75 0 0 1-.97.07l-.09-.07-5-5a.75.75 0 0 1 .98-1.13l.08.07L11 16.43V2.76c0-.38.28-.7.65-.75h.1z"/></symbol>
7
+ <symbol id="fluent-arrow_exit-24" viewBox="0 0 24 24"><path d="M6.25 3A3.25 3.25 0 0 0 3 6.25v11.5C3 19.55 4.46 21 6.25 21h9a.75.75 0 0 0 0-1.5h-9c-.97 0-1.75-.78-1.75-1.75V6.25c0-.97.78-1.75 1.75-1.75h9a.75.75 0 0 0 0-1.5zm11.28 4.22a.75.75 0 1 0-1.06 1.06l2.97 2.97H8.75a.75.75 0 0 0 0 1.5h10.69l-2.97 2.97a.75.75 0 1 0 1.06 1.06l4.25-4.25c.3-.3.3-.77 0-1.06z"/></symbol>
8
+ <symbol id="fluent-arrow_reply-24" viewBox="0 0 24 24"><path d="M9.28 6.28a.75.75 0 0 0-1.06-1.06l-5 5c-.3.3-.3.77 0 1.06l5 5a.75.75 0 0 0 1.06-1.06L5.56 11.5h7.69c3.45 0 6.25 2.8 6.25 6.25v.5a.75.75 0 0 0 1.5 0v-.5A7.75 7.75 0 0 0 13.25 10H5.56z"/></symbol>
9
+ <symbol id="fluent-arrow_right-24" viewBox="0 0 24 24"><path d="M13.27 4.2a.75.75 0 0 0-1.04 1.1l6.25 5.95H3.75a.75.75 0 0 0 0 1.5h14.73l-6.25 5.95a.75.75 0 0 0 1.04 1.1l7.42-7.08a1 1 0 0 0 0-1.44z"/></symbol>
10
+ <symbol id="fluent-arrow_swap-24" viewBox="0 0 24 24"><path d="m14.78 2.22 4.5 4.5c.26.26.29.68.07.97l-.07.08-4.5 4.5a.75.75 0 0 1-1.13-.97l.07-.08L16.94 8H5.24a.75.75 0 0 1-.74-.65v-.1c0-.38.27-.7.64-.75h11.8l-3.22-3.22a.75.75 0 0 1-.07-.98l.07-.08a.75.75 0 0 1 .98-.07zl4.5 4.5zm4.72 14.43v.1c0 .38-.28.7-.64.74l-.1.01H7.06l3.22 3.22c.27.27.3.68.08.98l-.08.08a.75.75 0 0 1-.97.07l-.09-.07-4.5-4.5a.75.75 0 0 1-.07-.97l.07-.09 4.5-4.5a.75.75 0 0 1 1.14.98l-.08.08L7.07 16h11.69c.38 0 .7.28.74.65v.1z"/></symbol>
11
+ <symbol id="fluent-arrow_sync-24" viewBox="0 0 24 24"><path d="M16.25 5.18c-.25.33-.19.8.14 1.05a7.24 7.24 0 0 1-3.6 12.98l.68-.68a.75.75 0 0 0-.98-1.13l-.08.07-2 2a.75.75 0 0 0-.07.98l.07.08 2 2a.75.75 0 0 0 1.13-.98l-.07-.08-.75-.75A8.75 8.75 0 0 0 17.3 5.04a.75.75 0 0 0-1.05.14m-5.72-3.71c-.3.3-.3.77 0 1.06l.75.75a8.75 8.75 0 0 0-4.85 15.47.75.75 0 1 0 .96-1.16A7.23 7.23 0 0 1 11.2 4.8l-.68.68a.75.75 0 1 0 1.06 1.06l2-2c.3-.3.3-.77 0-1.06l-2-2a.75.75 0 0 0-1.06 0"/></symbol>
12
+ <symbol id="fluent-arrow_undo-24" viewBox="0 0 24 24"><path d="M4.75 2c.38 0 .7.28.74.65l.01.1v5.69l4.57-4.56a6.4 6.4 0 0 1 8.88-.18l.19.18a6.4 6.4 0 0 1 0 9.06l-8.85 8.84a.75.75 0 0 1-1.06-1.06l8.85-8.84a4.9 4.9 0 0 0-6.77-7.1l-.18.16L6.56 9.5h5.69c.38 0 .7.28.74.65l.01.1c0 .38-.28.7-.65.74l-.1.01h-7.5a.75.75 0 0 1-.74-.65l-.01-.1v-7.5c0-.41.34-.75.75-.75"/></symbol>
13
+ <symbol id="fluent-attach-24" viewBox="0 0 24 24"><path d="M11.77 3.74a6 6 0 0 1 8.66 8.3l-.19.2-8.8 8.8-.03.03a3.72 3.72 0 0 1-5.4-5.1l.05-.06.08-.09.14-.15 7.44-7.45c.27-.27.69-.29.98-.07l.08.07c.27.27.3.68.08.98l-.08.08-7.59 7.61a2.23 2.23 0 0 0 3.17 3.1l8.84-8.82A4.5 4.5 0 0 0 13 4.64l-.17.16-.01.02-9.54 9.53a.75.75 0 0 1-1.13-.97l.07-.09z"/></symbol>
14
+ <symbol id="fluent-checkmark-24" viewBox="0 0 24 24"><path d="M4.53 12.97a.75.75 0 0 0-1.06 1.06l4.5 4.5c.3.3.77.3 1.06 0l11-11a.75.75 0 0 0-1.06-1.06L8.5 16.94z"/></symbol>
15
+ <symbol id="fluent-chevron_down-24" viewBox="0 0 24 24"><path d="M4.22 8.47c.3-.3.77-.3 1.06 0L12 15.19l6.72-6.72a.75.75 0 1 1 1.06 1.06l-7.25 7.25c-.3.3-.77.3-1.06 0L4.22 9.53a.75.75 0 0 1 0-1.06"/></symbol>
16
+ <symbol id="fluent-chevron_up-24" viewBox="0 0 24 24"><path d="M4.22 15.53c.3.3.77.3 1.06 0L12 8.81l6.72 6.72a.75.75 0 1 0 1.06-1.06l-7.25-7.25a.75.75 0 0 0-1.06 0l-7.25 7.25c-.3.3-.3.77 0 1.06"/></symbol>
17
+ <symbol id="fluent-circle_half_fill-24" viewBox="0 0 24 24"><path d="M3.5 12a8.5 8.5 0 0 1 17 0zM12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20"/></symbol>
18
+ <symbol id="fluent-copy-24" viewBox="0 0 24 24"><path d="M8.5 8.5H5.25c-.97 0-1.75.78-1.75 1.75v8.5c0 .97.78 1.75 1.75 1.75h6c.97 0 1.75-.78 1.75-1.75V18h1.5v.75c0 1.8-1.46 3.25-3.25 3.25h-6A3.25 3.25 0 0 1 2 18.75v-8.5C2 8.45 3.46 7 5.25 7H8.5zM18.75 2C20.55 2 22 3.46 22 5.25v8.5c0 1.8-1.46 3.25-3.25 3.25h-6a3.25 3.25 0 0 1-3.25-3.25v-8.5C9.5 3.45 10.96 2 12.75 2zm-6 1.5c-.97 0-1.75.78-1.75 1.75v8.5c0 .97.78 1.75 1.75 1.75h6c.97 0 1.75-.78 1.75-1.75v-8.5c0-.97-.78-1.75-1.75-1.75z"/></symbol>
19
+ <symbol id="fluent-delete-24" viewBox="0 0 24 24"><path d="M10 5h4a2 2 0 1 0-4 0M8.5 5a3.5 3.5 0 1 1 7 0h5.75a.75.75 0 0 1 0 1.5h-1.32l-1.17 12.11A3.75 3.75 0 0 1 15.03 22H8.97a3.75 3.75 0 0 1-3.73-3.39L4.07 6.5H2.75a.75.75 0 0 1 0-1.5zm2 4.75a.75.75 0 0 0-1.5 0v7.5a.75.75 0 0 0 1.5 0zM14.25 9c.41 0 .75.34.75.75v7.5a.75.75 0 0 1-1.5 0v-7.5c0-.41.34-.75.75-.75m-7.52 9.47a2.25 2.25 0 0 0 2.24 2.03h6.06c1.15 0 2.12-.88 2.24-2.03L18.42 6.5H5.58z"/></symbol>
20
+ <symbol id="fluent-dismiss-24" viewBox="0 0 24 24"><path d="m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08z"/></symbol>
21
+ <symbol id="fluent-document-24" viewBox="0 0 24 24"><path d="M6 2a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L13.6 2.6A2 2 0 0 0 12.17 2zm-.5 2c0-.28.22-.5.5-.5h6V8c0 1.1.9 2 2 2h4.5v10a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5zm11.88 4.5H14a.5.5 0 0 1-.5-.5V4.62z"/></symbol>
22
+ <symbol id="fluent-edit-24" viewBox="0 0 24 24"><path d="M20.95 3.05a3.6 3.6 0 0 0-5.06 0L3.94 15c-.4.4-.7.92-.82 1.48l-1.1 4.6a.75.75 0 0 0 .9.9l4.6-1.1A3 3 0 0 0 9 20.07L20.95 8.11a3.6 3.6 0 0 0 0-5.06m-4 1.06a2.08 2.08 0 1 1 2.94 2.94l-.89.89L16.06 5zM15 6.06 17.94 9l-10 10a1.6 1.6 0 0 1-.76.43l-3.42.8.82-3.4q.1-.45.42-.77z"/></symbol>
23
+ <symbol id="fluent-eye-24" viewBox="0 0 24 24"><path d="M12 9a4 4 0 1 1 0 8 4 4 0 0 1 0-8m0 1.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0-5a10 10 0 0 1 9.7 7.56.75.75 0 1 1-1.45.37 8.5 8.5 0 0 0-16.5 0 .75.75 0 0 1-1.45-.36A10 10 0 0 1 12 5.5"/></symbol>
24
+ <symbol id="fluent-folder-24" viewBox="0 0 24 24"><path d="M3.5 6.25V8h4.63q.31 0 .53-.22l1.53-1.53-1.53-1.53a.8.8 0 0 0-.53-.22H5.25c-.97 0-1.75.78-1.75 1.75m-1.5 0C2 4.45 3.46 3 5.25 3h2.88c.6 0 1.17.24 1.59.66l1.84 1.84h7.19c1.8 0 3.25 1.46 3.25 3.25v9c0 1.8-1.46 3.25-3.25 3.25H5.25A3.25 3.25 0 0 1 2 17.75zM3.5 9.5v8.25c0 .97.78 1.75 1.75 1.75h13.5c.97 0 1.75-.78 1.75-1.75v-9c0-.97-.78-1.75-1.75-1.75h-7.19L9.72 8.84c-.42.42-1 .66-1.6.66z"/></symbol>
25
+ <symbol id="fluent-image-24" viewBox="0 0 24 24"><path d="M17.75 3C19.55 3 21 4.46 21 6.25v11.5c0 1.8-1.46 3.25-3.25 3.25H6.25A3.25 3.25 0 0 1 3 17.75V6.25C3 4.45 4.46 3 6.25 3zm.58 16.4-5.8-5.69a.75.75 0 0 0-.97-.07l-.08.07-5.81 5.7q.28.09.58.09h11.5q.3 0 .58-.1l-5.8-5.69zm-.58-14.9H6.25c-.97 0-1.75.78-1.75 1.75v11.5q0 .3.1.6l5.83-5.7a2.25 2.25 0 0 1 3.02-.12l.12.11 5.83 5.7q.1-.27.1-.59V6.25c0-.97-.78-1.75-1.75-1.75m-2.5 2a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5m0 1.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></symbol>
26
+ <symbol id="fluent-key-24" viewBox="0 0 24 24"><path d="M18.25 7a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M15.5 2.05A6.55 6.55 0 0 0 9.06 9.7q.02.16-.07.25l-6.24 6.23c-.51.52-.8 1.22-.8 1.95v2.17c0 .97.78 1.75 1.75 1.75h2.5c.97 0 1.75-.78 1.75-1.75v-1.25H9.7c.69 0 1.25-.56 1.25-1.25v-1.75h1.75c.67 0 1.22-.54 1.25-1.2q.75.19 1.55.2a6.55 6.55 0 0 0 6.55-6.55 6.47 6.47 0 0 0-6.55-6.45M10.45 8.6a5.05 5.05 0 0 1 5.05-5.05c2.8 0 5.05 2.18 5.05 4.95a5.05 5.05 0 0 1-7.06 4.61.75.75 0 0 0-1.04.69v.75H10.7c-.7 0-1.25.56-1.25 1.25v1.75H7.7c-.7 0-1.25.56-1.25 1.25v1.5c0 .14-.11.25-.25.25H3.7a.25.25 0 0 1-.25-.25v-2.17q0-.51.37-.89l6.23-6.23c.42-.42.58-1 .49-1.57q-.1-.45-.1-.84"/></symbol>
27
+ <symbol id="fluent-local_language-24" viewBox="0 0 24 24"><path d="m9.34 6.37.05.1 5.56 14.5a.75.75 0 0 1-.42.98.73.73 0 0 1-.9-.33l-.05-.1-1.43-3.73h-7.1l-.08-.01-1.55 3.76a.73.73 0 0 1-.96.4.75.75 0 0 1-.43-.88l.03-.1 5.97-14.5a.73.73 0 0 1 1.31-.09M18.74 2c.39 0 .7.29.75.65V7.5h1.76c.38 0 .69.28.74.65v.1c0 .38-.28.7-.64.74l-.1.01H19.5v7.25c0 .38-.29.7-.65.74l-.1.01a.75.75 0 0 1-.75-.65V2.75c0-.41.33-.75.75-.75M8.82 8.75l-3.16 7.54h6.1zM10.75 2h5.5c.38 0 .69.29.74.65v3.1C17 8.1 15.1 10 12.76 10a.75.75 0 0 1 0-1.5 2.75 2.75 0 0 0 2.74-2.58V3.5h-4.74a.75.75 0 0 1-.1-1.49zh5.5z"/></symbol>
28
+ <symbol id="fluent-lock_closed-24" viewBox="0 0 24 24"><path d="M12 1a5 5 0 0 1 5 5v2.01c1.68.13 3 1.53 3 3.24v7.5c0 1.8-1.46 3.25-3.25 3.25h-9.5A3.25 3.25 0 0 1 4 18.75v-7.5a3.25 3.25 0 0 1 3-3.24V6a5 5 0 0 1 5-5M7.25 9.5c-.97 0-1.75.78-1.75 1.75v7.5c0 .97.78 1.75 1.75 1.75h9.5c.97 0 1.75-.78 1.75-1.75v-7.5c0-.97-.78-1.75-1.75-1.75zM12 13.75a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5M12 2.5A3.5 3.5 0 0 0 8.5 6v2h7V6A3.5 3.5 0 0 0 12 2.5"/></symbol>
29
+ <symbol id="fluent-megaphone-24" viewBox="0 0 24 24"><path d="M21.9 5.62q.1.32.1.64v11.48a2.25 2.25 0 0 1-2.9 2.16l-5.5-1.64A4 4 0 0 1 6 16.7V16l-2.4-.71A2.25 2.25 0 0 1 2 13.13v-2.26c0-1 .65-1.87 1.6-2.16l15.5-4.6c1.2-.36 2.45.32 2.8 1.51M7.5 16.44v.06a2.5 2.5 0 0 0 4.62 1.32zm12.04-10.9-15.5 4.61a.75.75 0 0 0-.54.72v2.26c0 .33.22.63.54.72l15.5 4.6a.75.75 0 0 0 .96-.71V6.26a.75.75 0 0 0-.96-.72"/></symbol>
30
+ <symbol id="fluent-more_horizontal-24" viewBox="0 0 24 24"><path d="M7.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0m6 0a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0M18 13.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5"/></symbol>
31
+ <symbol id="fluent-music_note_2-24" viewBox="0 0 24 24"><path d="M19.7 2.15q.3.23.3.6V16.5a3.5 3.5 0 1 1-1.5-2.87V7.76L10 10.3v8.19a3.5 3.5 0 1 1-1.5-2.87V5.75c0-.33.22-.62.53-.72l10-3a.8.8 0 0 1 .67.12M10 8.75l8.5-2.56V3.76L10 6.3zM6.5 16.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"/></symbol>
32
+ <symbol id="fluent-navigation-24" viewBox="0 0 24 24"><path d="M2.75 18h18.5a.75.75 0 0 1 .1 1.5H2.75a.75.75 0 0 1-.1-1.5zh18.5zm0-6.5h18.5a.75.75 0 0 1 .1 1.5H2.75a.75.75 0 0 1-.1-1.5zh18.5zm0-6.5h18.5a.75.75 0 0 1 .1 1.5H2.75a.75.75 0 0 1-.1-1.49zh18.5z"/></symbol>
33
+ <symbol id="fluent-options-24" viewBox="0 0 24 24"><path d="M8.75 14.5a3.25 3.25 0 0 1 3.16 2.5h9.34a.75.75 0 0 1 .1 1.5h-9.44a3.25 3.25 0 0 1-6.32 0H2.75a.75.75 0 0 1-.1-1.5h2.94a3.25 3.25 0 0 1 3.16-2.5m0 1.5a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5m6.5-13a3.25 3.25 0 0 1 3.16 2.5h2.84a.75.75 0 0 1 .1 1.5h-2.94a3.25 3.25 0 0 1-6.32 0H2.75a.75.75 0 0 1-.1-1.5h9.44A3.25 3.25 0 0 1 15.25 3m0 1.5a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5"/></symbol>
34
+ <symbol id="fluent-people-24" viewBox="0 0 24 24"><path d="M5.5 8a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0M8 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8m7.5 5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0M17 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6m-2.75 13.04q1.04.44 2.75.46c2.28 0 3.59-.7 4.3-1.56a3 3 0 0 0 .7-1.73v-.03c0-1.2-.97-2.18-2.18-2.18H14.1q.6.63.81 1.5h4.91a.7.7 0 0 1 .68.7l-.04.18q-.05.25-.32.6C19.8 17.42 18.97 18 17 18c-.98 0-1.67-.15-2.17-.34q-.14.62-.58 1.38M4.25 14C3.01 14 2 15 2 16.25v.28l.01.2q.02.21.1.53c.09.42.29.98.68 1.55C3.61 19.97 5.17 21 8 21s4.39-1.03 5.2-2.2a4.5 4.5 0 0 0 .8-2.27v-.28c0-1.24-1-2.25-2.25-2.25zm-.75 2.5v-.25c0-.41.34-.75.75-.75h7.5c.41 0 .75.34.75.75v.34l-.06.33c-.07.28-.2.65-.46 1.02-.5.71-1.56 1.56-3.98 1.56s-3.49-.85-3.98-1.56a3 3 0 0 1-.52-1.43"/></symbol>
35
+ <symbol id="fluent-plug_connected-24" viewBox="0 0 24 24"><path d="M19.49 5.57a5.97 5.97 0 0 1-1.9 8.96c-.64.35-1.42.14-1.94-.38l-5.8-5.8c-.52-.52-.73-1.3-.38-1.95a6 6 0 0 1 8.96-1.89l2.29-2.29a.75.75 0 1 1 1.06 1.06zm-2.02 7.26a4.5 4.5 0 1 0-6.3-6.3c-.27.35-.19.83.12 1.14l5.04 5.04c.31.3.8.39 1.14.12M3.28 21.78l2.3-2.29a5.97 5.97 0 0 0 8.95-1.9c.35-.64.14-1.42-.38-1.94l-5.8-5.8c-.52-.52-1.3-.73-1.95-.38a6 6 0 0 0-1.89 8.96l-2.29 2.29a.75.75 0 1 0 1.06 1.06m4.39-10.49 5.04 5.04c.3.31.39.8.12 1.14a4.5 4.5 0 1 1-6.3-6.3c.35-.27.83-.19 1.14.12"/></symbol>
36
+ <symbol id="fluent-question_circle-24" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m0 1.67a8.34 8.34 0 0 0 0 16.66 8.34 8.34 0 0 0 0-16.66m0 11.83a1 1 0 1 1 0 2 1 1 0 0 1 0-2m0-8.75a2.75 2.75 0 0 1 2.75 2.75c0 1.01-.3 1.57-1.05 2.36l-.17.17c-.62.62-.78.89-.78 1.47a.75.75 0 0 1-1.5 0c0-1.01.3-1.57 1.05-2.36l.17-.17c.62-.62.78-.89.78-1.47a1.25 1.25 0 0 0-2.5-.13v.13a.75.75 0 0 1-1.5 0A2.75 2.75 0 0 1 12 6.75"/></symbol>
37
+ <symbol id="fluent-search-24" viewBox="0 0 24 24"><path d="M16.1 17.16a8 8 0 1 1 1.06-1.06l4.62 4.62a.75.75 0 1 1-1.06 1.06zM17.5 11a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0"/></symbol>
38
+ <symbol id="fluent-shield_checkmark-24" viewBox="0 0 24 24"><path d="M3 5.75c0-.41.34-.75.75-.75q3.99 0 7.8-2.85c.27-.2.63-.2.9 0Q16.26 5 20.25 5c.41 0 .75.34.75.75V11q0 .5-.04 1a7 7 0 0 0-1.46-.69V6.48a14.4 14.4 0 0 1-7.5-2.8 14.4 14.4 0 0 1-7.5 2.8V11c0 4.15 2.33 7.22 7.13 9.28q.4.84 1 1.52l-.36.15a.8.8 0 0 1-.54 0C5.96 19.68 3 16 3 11zM23 17.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0m-2.15-2.35a.5.5 0 0 0-.7 0l-3.65 3.64-1.65-1.64a.5.5 0 0 0-.7.7l2 2c.2.2.5.2.7 0l4-4a.5.5 0 0 0 0-.7"/></symbol>
39
+ <symbol id="fluent-subtract-24" viewBox="0 0 24 24"><path d="M3.75 12.5h16.5a.75.75 0 0 0 0-1.5H3.75a.75.75 0 0 0 0 1.5"/></symbol>
40
+ <symbol id="fluent-text_wrap-24" viewBox="0 0 24 24"><path d="M2.75 5a.75.75 0 0 0 0 1.5h18.5a.75.75 0 0 0 0-1.5zm0 6.5a.75.75 0 0 0 0 1.5H19a2.5 2.5 0 0 1 0 5h-4.44l.72-.72a.75.75 0 1 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 1 0 1.06-1.06l-.72-.72H19a4 4 0 0 0 0-8zM2 18.75c0-.41.34-.75.75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1-.75-.75"/></symbol>
41
+ <symbol id="fluent-video-24" viewBox="0 0 24 24"><path d="M5.25 5A3.25 3.25 0 0 0 2 8.25v7.5C2 17.55 3.46 19 5.25 19h7.5c1.8 0 3.25-1.46 3.25-3.25v-.31l3.26 2.25c1.16.8 2.74-.03 2.74-1.44v-8.5a1.75 1.75 0 0 0-2.74-1.44L16 8.56v-.31C16 6.45 14.54 5 12.75 5zM16 10.38l4.11-2.83c.17-.12.4 0 .4.2v8.5c0 .2-.23.32-.4.2L16 13.62zM3.5 8.25c0-.97.78-1.75 1.75-1.75h7.5c.97 0 1.75.78 1.75 1.75v7.5c0 .97-.78 1.75-1.75 1.75h-7.5c-.97 0-1.75-.78-1.75-1.75z"/></symbol>
42
+ </svg>
@@ -0,0 +1,9 @@
1
+ /* Fluent System Icons (MIT): one local sprite, filled with the current text color. */
2
+ .fluent-icon {
3
+ display: block;
4
+ width: 18px;
5
+ height: 18px;
6
+ flex: none;
7
+ fill: currentColor;
8
+ stroke: none;
9
+ }
@@ -49,11 +49,6 @@
49
49
  .palette-scope svg {
50
50
  width: 14px;
51
51
  height: 14px;
52
- fill: none;
53
- stroke: currentColor;
54
- stroke-width: 1.7;
55
- stroke-linecap: round;
56
- stroke-linejoin: round;
57
52
  }
58
53
  .palette-scope .keys-key { min-width: 18px; height: 18px; padding: 0 4px; font-size: 9.5px; }
59
54
  .palette-scope[data-scope="all"] {
@@ -83,11 +78,7 @@
83
78
  flex: none;
84
79
  width: 17px;
85
80
  height: 17px;
86
- fill: none;
87
- stroke: var(--ink-3);
88
- stroke-width: 1.8;
89
- stroke-linecap: round;
90
- stroke-linejoin: round;
81
+ color: var(--ink-3);
91
82
  }
92
83
  .palette-input, .palette-input:focus {
93
84
  flex: 1 1 auto;
@@ -213,11 +204,6 @@
213
204
  .palette-icon svg {
214
205
  width: 14px;
215
206
  height: 14px;
216
- fill: none;
217
- stroke: currentColor;
218
- stroke-width: 1.7;
219
- stroke-linecap: round;
220
- stroke-linejoin: round;
221
207
  }
222
208
  .palette-label { min-width: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
223
209
  .palette-enter {
@@ -1,6 +1,6 @@
1
1
  /* Recall: the row-level action, the tombstone, and the reveal disclosure. */
2
2
  .message-recall { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 8px; color: var(--ink-3); background: transparent; cursor: pointer; }
3
- .message-recall-icon { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
3
+ .message-recall-icon { display: block; width: 16px; height: 16px; }
4
4
  .message-recall:hover, .message-recall:focus-visible { border-color: color-mix(in srgb, var(--danger) 32%, var(--line)); color: var(--danger); background: var(--danger-soft); }
5
5
  .message-recall:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
6
6
  .msg-text.recalled { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; border-style: dashed; border-color: color-mix(in srgb, var(--ink) 18%, transparent); background: color-mix(in srgb, var(--surface-2) 62%, var(--surface)); box-shadow: none; color: var(--ink-2); font-size: 14.5px; }
@@ -8,7 +8,7 @@
8
8
  .msg-text.recalled > :not(:first-child) { margin-top: 0; }
9
9
  .recalled-note { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink-2); font-weight: 550; }
10
10
  .recalled-mark { display: inline-flex; color: var(--ink-3); }
11
- .recalled-icon { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
11
+ .recalled-icon { display: block; width: 15px; height: 15px; }
12
12
  .recalled-by { margin: 0; color: var(--ink-3); font-size: 12px; }
13
13
  .recalled-reveal { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); background: var(--surface); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
14
14
  .recalled-reveal:hover, .recalled-reveal:focus-visible { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@@ -55,7 +55,7 @@
55
55
  .rail-tools { display: flex; align-items: center; gap: 7px; }
56
56
  .icon-btn { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--ink-2); font: inherit; font-size: 20px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
57
57
  .icon-btn:hover { color: var(--accent); border-color: var(--line); background: var(--surface); }
58
- .icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
58
+ .icon-btn svg { width: 17px; height: 17px; }
59
59
  .rail-composer { position: absolute; top: 76px; left: 12px; right: 12px; z-index: 25; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
60
60
  .rail-composer .field { margin-bottom: 8px; }
61
61
  .rail-composer .btn { width: 100%; }
@@ -129,11 +129,11 @@
129
129
  .user-menu-trigger:focus-visible, .menu-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
130
130
  .user-menu-trigger #railIdentity { flex: 1; min-width: 0; overflow: hidden; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
131
131
  .user-menu-trigger .rail-avatar { flex: none; width: 34px; height: 34px; border: 1px solid color-mix(in srgb, var(--accent) 15%, var(--line)); font-size: 13px; font-weight: 700; }
132
- .user-menu-caret { font-size: 14px; }
132
+ .user-menu-caret { width: 14px; height: 14px; }
133
133
  .user-menu-panel { top: auto; right: auto; bottom: calc(100% + 8px); left: 0; max-height: min(65dvh, 560px); overflow: auto; }
134
134
  .room-options-panel { display: grid; gap: 4px; width: 190px; max-height: min(70dvh, 420px); overflow: auto; }
135
135
  .menu-action { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; font: inherit; text-align: left; cursor: pointer; }
136
- .menu-action > svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
136
+ .menu-action > svg { flex: none; width: 16px; height: 16px; }
137
137
  .menu-action:hover { background: var(--surface-2); }
138
138
  /* A non-owner still sees the entry; it reads as secondary and explains itself. */
139
139
  .menu-action.menu-secondary { color: var(--ink-3); }
@@ -226,7 +226,7 @@
226
226
  .rail-foot { display: flex; min-height: var(--composer-block, 93px); }
227
227
  .rail-install { display: grid; gap: 6px; padding: 8px 4px 10px; border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
228
228
  .rail-install .rail-install-btn { width: 100%; min-height: 40px; }
229
- .rail-install svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
229
+ .rail-install svg { width: 16px; height: 16px; }
230
230
  .rail-install .hint { margin: 0; font-size: 11.5px; line-height: 1.45; }
231
231
  .rail-label { margin: 0 8px 10px; font-size: 11px; }
232
232
  .rail-composer { top: 32px; left: 12px; right: 12px; }
@@ -36,7 +36,7 @@
36
36
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, #18382f), var(--accent));
37
37
  box-shadow: 0 3px 9px color-mix(in srgb, var(--accent) 22%, transparent);
38
38
  }
39
- .create-room-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.9; }
39
+ .create-room-mark svg { width: 18px; height: 18px; }
40
40
  .create-room-eyebrow { margin: 2px 0 0; color: var(--ink-3); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
41
41
  .create-room-heading h2 { margin: 0; font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1.16; }
42
42
  .create-room-head .reader-close { margin: -6px -6px 0 0; }
@@ -85,14 +85,14 @@
85
85
 
86
86
  /* The redrawn select chevron follows the palette, not only the system scheme. */
87
87
  @media (prefers-color-scheme: dark) {
88
- :root:not([data-theme="light"]):not([data-theme="forest"]):not([data-theme="sand"]) select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.2 1.6 6 6.4l4.8-4.8' fill='none' stroke='%23a6b3aa' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
88
+ :root:not([data-theme="light"]):not([data-theme="forest"]):not([data-theme="sand"]) select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23a6b3aa' d='M4.22 8.47c.3-.3.77-.3 1.06 0L12 15.19l6.72-6.72a.75.75 0 1 1 1.06 1.06l-7.25 7.25c-.3.3-.77.3-1.06 0L4.22 9.53a.75.75 0 0 1 0-1.06'/%3E%3C/svg%3E"); }
89
89
  }
90
- :root[data-theme="dark"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.2 1.6 6 6.4l4.8-4.8' fill='none' stroke='%23a6b3aa' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
90
+ :root[data-theme="dark"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23a6b3aa' d='M4.22 8.47c.3-.3.77-.3 1.06 0L12 15.19l6.72-6.72a.75.75 0 1 1 1.06 1.06l-7.25 7.25c-.3.3-.77.3-1.06 0L4.22 9.53a.75.75 0 0 1 0-1.06'/%3E%3C/svg%3E"); }
91
91
 
92
92
  /* The join header keeps one settings entry instead of its own language control. */
93
93
  .join-head .join-settings { grid-column: 2; grid-row: 1; justify-self: end; }
94
94
  .join-settings { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--surface); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
95
- .join-settings svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
95
+ .join-settings svg { width: 15px; height: 15px; flex: none; }
96
96
  .join-settings:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); }
97
97
  .join-settings:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
98
98
 
@@ -113,7 +113,7 @@
113
113
  .settings-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 232px minmax(0, 1fr); }
114
114
  .settings-nav { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; padding: 2px 24px 22px; border-right: 1px solid color-mix(in srgb, var(--line) 74%, transparent); }
115
115
  .settings-tab { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid transparent; border-radius: 11px; color: var(--ink-2); background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; transition: color .14s, background .14s, border-color .14s; }
116
- .settings-tab svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
116
+ .settings-tab svg { width: 17px; height: 17px; flex: none; }
117
117
  .settings-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
118
118
  .settings-tab[aria-selected="true"] { color: var(--ink); background: var(--surface-2); border-color: color-mix(in srgb, var(--line) 72%, transparent); box-shadow: 0 1px 2px rgb(20 35 30 / .06); }
119
119
  .settings-tab[aria-selected="true"] svg { color: var(--accent); }
package/server/chat.html CHANGED
@@ -18,6 +18,7 @@
18
18
  </script>
19
19
  <meta name="mobile-web-app-capable" content="yes">
20
20
  <meta name="apple-mobile-web-app-capable" content="yes">
21
+ <link rel="stylesheet" href="/assets/icons.css">
21
22
  <link rel="stylesheet" href="/assets/base.css">
22
23
  <link rel="stylesheet" href="/assets/settings.css">
23
24
 
@@ -46,7 +47,7 @@
46
47
  <header class="join-head">
47
48
  <div class="wordmark-row"><span class="brand-mark" aria-hidden="true">OC</span><p class="wordmark" data-i18n="brand">OC Chat</p><span class="version-tag">{{version}}</span></div>
48
49
  <button id="btnJoinSettings" class="join-settings" type="button" aria-haspopup="dialog" aria-controls="chatSettings" aria-expanded="false">
49
- <svg aria-hidden="true" viewBox="0 0 24 24"><path d="M4 7h9M17 7h3M4 17h3M11 17h9"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="17" r="2"/></svg>
50
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-options-24"></use></svg>
50
51
  <span data-i18n="settings">Settings</span>
51
52
  </button>
52
53
  <p class="tagline" data-i18n="tagline">A lightweight chat room. Enter a room ID to join, or create a new one.</p>
@@ -94,7 +95,7 @@
94
95
  <div id="joinError" class="alert" role="alert" hidden></div>
95
96
  </div>
96
97
  <section id="joinPending" class="join-pending" hidden aria-labelledby="joinPendingTitle">
97
- <span class="join-pending-mark" aria-hidden="true"><svg viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="10" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/></svg></span>
98
+ <span class="join-pending-mark" aria-hidden="true"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-lock_closed-24"></use></svg></span>
98
99
  <div class="join-pending-copy">
99
100
  <h2 id="joinPendingTitle" tabindex="-1" data-i18n="joinPendingTitle">Waiting for approval</h2>
100
101
  <p id="joinPendingBody" role="status" aria-live="polite"></p>
@@ -136,20 +137,20 @@
136
137
  <h2 id="settingsHeading" tabindex="-1" data-i18n="settings">Settings</h2>
137
138
  <p class="settings-lead" data-i18n="settingsLocalHint">Language, theme, transition, and scrolling preferences are saved in this browser.</p>
138
139
  </div>
139
- <button id="btnCloseSettings" class="reader-close settings-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
140
+ <button id="btnCloseSettings" class="reader-close settings-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button>
140
141
  </header>
141
142
  <div class="settings-body">
142
143
  <nav class="settings-nav" role="tablist" aria-label="Settings sections" data-i18n-aria-label="settingsSections">
143
144
  <button id="settingsTabGeneral" class="settings-tab" type="button" role="tab" aria-selected="true" aria-controls="settingsPanelGeneral" data-settings-tab="general">
144
- <svg aria-hidden="true" viewBox="0 0 24 24"><path d="M4 7h9M17 7h3M4 17h3M11 17h9"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="17" r="2"/></svg>
145
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-options-24"></use></svg>
145
146
  <span data-i18n="settingsGeneral">General</span>
146
147
  </button>
147
148
  <button id="settingsTabAppearance" class="settings-tab" type="button" role="tab" aria-selected="false" aria-controls="settingsPanelAppearance" tabindex="-1" data-settings-tab="appearance">
148
- <svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8"/><path d="M12 4v16"/><path d="M12 4a8 8 0 0 1 0 16" fill="currentColor" stroke="none"/></svg>
149
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-circle_half_fill-24"></use></svg>
149
150
  <span data-i18n="settingsAppearance">Appearance</span>
150
151
  </button>
151
152
  <button id="settingsTabConnection" class="settings-tab" type="button" role="tab" aria-selected="false" aria-controls="settingsPanelConnection" tabindex="-1" data-settings-tab="connection">
152
- <svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="8" cy="12" r="3"/><path d="M11 12h9M17 12v3M20 12v2"/></svg>
153
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-plug_connected-24"></use></svg>
153
154
  <span data-i18n="settingsConnection">Connection</span>
154
155
  </button>
155
156
  </nav>
@@ -158,7 +159,7 @@
158
159
  <div class="settings-row">
159
160
  <div class="settings-copy">
160
161
  <label class="settings-label locale-label" for="localeSelectSettings">
161
- <svg class="locale-icon" aria-hidden="true" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9S14.5 18.3 12 21M12 3C9.5 5.7 8.2 8.7 8.2 12s1.3 6.3 3.8 9"/></svg>
162
+ <svg class="fluent-icon locale-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-local_language-24"></use></svg>
162
163
  <span data-i18n="languageLabel">Language</span>
163
164
  </label>
164
165
  <p class="settings-hint" data-i18n="settingsLanguageHint">Applies right away and is saved in this browser.</p>
@@ -244,30 +245,30 @@
244
245
  <section id="chatView" class="view" hidden>
245
246
  <aside id="roomRail" class="room-rail" aria-label="Rooms" data-i18n-aria-label="roomsLabel">
246
247
  <div class="rail-brand"><span class="brand-mark">OC</span><span data-i18n="brand">OC Chat</span><span class="version-tag">{{version}}</span></div>
247
- <div class="rail-label"><span data-i18n="existingRooms">Rooms</span><span class="rail-tools"><button id="btnNewRoom" class="icon-btn" type="button" aria-label="Create a room" data-i18n-aria-label="newRoom" aria-haspopup="dialog" aria-controls="createRoomDialog" aria-expanded="false"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg></button><button id="btnRefreshRooms" class="icon-btn" type="button" aria-label="Refresh rooms" data-i18n-aria-label="refreshRooms"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 7v5h-5M4 17v-5h5"/><path d="M5.6 9a7 7 0 0 1 11.8-2L20 12M4 12l2.6 5a7 7 0 0 0 11.8-2"/></svg></button></span></div>
248
+ <div class="rail-label"><span data-i18n="existingRooms">Rooms</span><span class="rail-tools"><button id="btnNewRoom" class="icon-btn" type="button" aria-label="Create a room" data-i18n-aria-label="newRoom" aria-haspopup="dialog" aria-controls="createRoomDialog" aria-expanded="false"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-add-24"></use></svg></button><button id="btnRefreshRooms" class="icon-btn" type="button" aria-label="Refresh rooms" data-i18n-aria-label="refreshRooms"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-arrow_sync-24"></use></svg></button></span></div>
248
249
  <ul id="roomListChat" class="rail-rooms"></ul>
249
250
  <p id="roomListChatEmpty" class="hint" data-i18n="noRooms" hidden></p>
250
251
 
251
252
  <div id="railInstall" class="rail-install" hidden>
252
- <button id="btnRailInstall" class="btn ghost small rail-install-btn" type="button"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M12 4v10M8 10l4 4 4-4M5 19h14"/></svg><span data-i18n="installAction">Install</span></button>
253
+ <button id="btnRailInstall" class="btn ghost small rail-install-btn" type="button"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-arrow_download-24"></use></svg><span data-i18n="installAction">Install</span></button>
253
254
  <p id="railInstallGuide" class="hint" data-i18n="installIosGuide" hidden>Tap Share, then Add to Home Screen.</p>
254
255
  </div>
255
256
  <div class="rail-foot">
256
257
  <div class="anchor user-menu-anchor">
257
258
  <button id="btnSettings" class="user-menu-trigger" type="button" aria-label="Your profile and settings" data-i18n-aria-label="profileMenu" aria-haspopup="dialog" aria-controls="chatSettings" aria-expanded="false">
258
- <span id="profileAvatar" class="rail-avatar" aria-hidden="true">?</span><span id="railIdentity"></span><span class="user-menu-caret" aria-hidden="true">⌃</span>
259
+ <span id="profileAvatar" class="rail-avatar" aria-hidden="true">?</span><span id="railIdentity"></span><svg class="fluent-icon user-menu-caret" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-chevron_up-24"></use></svg>
259
260
  </button>
260
261
  </div>
261
262
  </div>
262
263
  </aside>
263
264
  <dialog id="createRoomDialog" class="admin-dialog create-room-dialog" aria-labelledby="createRoomHeading" aria-describedby="createRoomHint">
264
265
  <header class="create-room-head">
265
- <span class="create-room-mark" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg></span>
266
+ <span class="create-room-mark" aria-hidden="true"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-add-24"></use></svg></span>
266
267
  <div class="create-room-heading">
267
268
  <p class="create-room-eyebrow" data-i18n="existingRooms">Rooms</p>
268
269
  <h2 id="createRoomHeading" data-i18n="createRoomTitle">Create a room</h2>
269
270
  </div>
270
- <button id="btnCloseCreateRoom" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
271
+ <button id="btnCloseCreateRoom" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button>
271
272
  </header>
272
273
  <p id="createRoomHint" class="create-room-hint" data-i18n="createRoomHint">Start a new room and invite people with its ID.</p>
273
274
  <form id="railRoomForm" class="create-room-form" novalidate>
@@ -292,25 +293,25 @@
292
293
  <dialog id="editRoomDialog" class="admin-dialog edit-room-dialog" aria-labelledby="editRoomHeading">
293
294
  <header class="admin-dialog-head edit-room-head">
294
295
  <h2 id="editRoomHeading" tabindex="-1" data-i18n="editRoom">Edit room</h2>
295
- <div class="admin-dialog-actions"><button id="btnCloseEditRoom" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>
296
+ <div class="admin-dialog-actions"><button id="btnCloseEditRoom" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button></div>
296
297
  </header>
297
298
  <form id="editRoomForm" class="edit-room-form" novalidate>
298
299
  <div class="edit-room-body">
299
300
  <nav class="settings-nav edit-room-nav" role="tablist" aria-label="Edit room sections" data-i18n-aria-label="editRoomSections">
300
301
  <button id="editRoomTabDetails" class="settings-tab" type="button" role="tab" aria-selected="true" aria-controls="editRoomPanelDetails" data-edit-room-tab="details">
301
- <svg aria-hidden="true" viewBox="0 0 24 24"><path d="M5 4h9l5 5v11H5z"/><path d="M14 4v5h5"/></svg>
302
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-document-24"></use></svg>
302
303
  <span data-i18n="editRoomDetails">Room details</span>
303
304
  </button>
304
305
  <button id="editRoomTabJoining" class="settings-tab" type="button" role="tab" aria-selected="false" aria-controls="editRoomPanelJoining" tabindex="-1" data-edit-room-tab="joining">
305
- <svg aria-hidden="true" viewBox="0 0 24 24"><path d="M12 3l7 3v6c0 4.2-2.9 6.7-7 8-4.1-1.3-7-3.8-7-8V6z"/><path d="m9 12 2 2 4-4"/></svg>
306
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-shield_checkmark-24"></use></svg>
306
307
  <span data-i18n="editRoomJoining">Joining &amp; approval</span>
307
308
  </button>
308
309
  <button id="editRoomTabMembers" class="settings-tab" type="button" role="tab" aria-selected="false" aria-controls="editRoomPanelMembers" tabindex="-1" data-edit-room-tab="members">
309
- <svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="9" cy="8" r="3"/><path d="M3.5 19a5.5 5.5 0 0 1 11 0"/><path d="M16 5.7a3 3 0 0 1 0 4.6"/><path d="M18 15.2a5.4 5.4 0 0 1 2.5 3.8"/></svg>
310
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-people-24"></use></svg>
310
311
  <span data-i18n="editRoomMembers">Members &amp; roles</span>
311
312
  </button>
312
313
  <button id="editRoomTabOwnership" class="settings-tab" type="button" role="tab" aria-selected="false" aria-controls="editRoomPanelOwnership" tabindex="-1" data-edit-room-tab="ownership">
313
- <svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="8" cy="15" r="4"/><path d="m11 12 8-8M16 4h4v4"/></svg>
314
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-key-24"></use></svg>
314
315
  <span data-i18n="editRoomOwnership">Ownership</span>
315
316
  </button>
316
317
  </nav>
@@ -358,8 +359,8 @@
358
359
  <h2 id="filesHeading" tabindex="-1"><span data-i18n="filesTitle">Files</span><span id="filesRoomName" class="files-room-name"></span></h2>
359
360
  </div>
360
361
  <div class="files-head-actions">
361
- <button id="btnRefreshFiles" class="icon-btn" type="button" aria-label="Refresh files" data-i18n-aria-label="filesRefresh"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 7v5h-5M4 17v-5h5"/><path d="M5.6 9a7 7 0 0 1 11.8-2L20 12M4 12l2.6 5a7 7 0 0 0 11.8-2"/></svg></button>
362
- <button id="btnCloseFiles" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
362
+ <button id="btnRefreshFiles" class="icon-btn" type="button" aria-label="Refresh files" data-i18n-aria-label="filesRefresh"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-arrow_sync-24"></use></svg></button>
363
+ <button id="btnCloseFiles" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button>
363
364
  </div>
364
365
  </header>
365
366
  <div class="files-toolbar">
@@ -380,7 +381,7 @@
380
381
  </footer>
381
382
  </dialog>
382
383
  <dialog id="reminderDialog" class="admin-dialog reminder-dialog" aria-labelledby="reminderDialogHeading">
383
- <header class="admin-dialog-head"><h2 id="reminderDialogHeading" data-i18n="reminderCreate">Create reminder</h2><div class="admin-dialog-actions"><button id="btnCloseReminder" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></header>
384
+ <header class="admin-dialog-head"><h2 id="reminderDialogHeading" data-i18n="reminderCreate">Create reminder</h2><div class="admin-dialog-actions"><button id="btnCloseReminder" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button></div></header>
384
385
  <form id="reminderForm" class="admin-guide reminder-form">
385
386
  <label class="field"><span class="field-label" data-i18n="reminderSchedule">Schedule</span><select id="reminderType" class="input"><option value="once" data-i18n="reminderOnce">One time</option><option value="cron">CRON</option></select></label>
386
387
  <label class="field" id="reminderOnceField"><span class="field-label" data-i18n="reminderDate">Date and time</span><input id="reminderAt" class="input" type="datetime-local" required></label>
@@ -394,7 +395,7 @@
394
395
  </form>
395
396
  </dialog>
396
397
  <dialog id="announcementDialog" class="admin-dialog announcement-dialog" aria-labelledby="announcementDialogHeading">
397
- <header class="admin-dialog-head"><h2 id="announcementDialogHeading" data-i18n="announcementNew">New announcement</h2><div class="admin-dialog-actions"><button id="btnCloseAnnouncement" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></header>
398
+ <header class="admin-dialog-head"><h2 id="announcementDialogHeading" data-i18n="announcementNew">New announcement</h2><div class="admin-dialog-actions"><button id="btnCloseAnnouncement" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button></div></header>
398
399
  <form id="announcementForm" class="admin-guide announcement-form">
399
400
  <label class="field"><span class="field-label" data-i18n="announcementName">Name</span><input id="announcementName" class="input" maxlength="64" autocomplete="off" required></label>
400
401
  <label class="field"><span class="field-label" data-i18n="announcementContent">Content</span><textarea id="announcementContent" class="input" rows="4" maxlength="5000" aria-describedby="announcementCount"></textarea></label>
@@ -406,7 +407,7 @@
406
407
  <button id="roomDrawerBackdrop" class="room-drawer-backdrop" type="button" aria-label="Close room list" data-i18n-aria-label="closeRoomList" hidden></button>
407
408
  <header class="chat-head">
408
409
  <div class="chat-head-main">
409
- <div class="room-title-row"><button id="btnRoomsDrawer" class="chip rooms-drawer-trigger" type="button" aria-label="Open room list" data-i18n-aria-label="roomsMenu" aria-controls="roomRail" aria-expanded="false"><svg class="action-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h16"/></svg><span class="action-label">Rooms</span></button><h1 id="roomName"></h1></div>
410
+ <div class="room-title-row"><button id="btnRoomsDrawer" class="chip rooms-drawer-trigger" type="button" aria-label="Open room list" data-i18n-aria-label="roomsMenu" aria-controls="roomRail" aria-expanded="false"><svg class="fluent-icon action-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-navigation-24"></use></svg><span class="action-label">Rooms</span></button><h1 id="roomName"></h1></div>
410
411
  <p class="room-meta">
411
412
  <button type="button" id="btnCopyId" class="copy-id" aria-label="Copy room ID" data-i18n-aria-label="copyRoomId" title="Click to copy the full room ID" data-i18n-title="copyRoomIdTitle">
412
413
  <span class="mono" id="roomIdShort"></span><span class="copy-ok" data-i18n="copied">Copied</span>
@@ -418,7 +419,7 @@
418
419
  <div class="chat-head-actions">
419
420
  <div class="anchor questions-anchor">
420
421
  <button class="chip questions-trigger" type="button" id="btnQuestions" aria-haspopup="true" aria-expanded="false" aria-controls="questionPanel">
421
- <svg class="action-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M9.5 9a2.5 2.5 0 1 1 4.6 1.4c-.7.9-2.1 1.3-2.1 2.8M12 17.5h.01"/><circle cx="12" cy="12" r="9"/></svg><span class="action-label" data-i18n="questions">Questions</span><span id="questionBadge" class="question-badge" hidden></span>
422
+ <svg class="fluent-icon action-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-question_circle-24"></use></svg><span class="action-label" data-i18n="questions">Questions</span><span id="questionBadge" class="question-badge" hidden></span>
422
423
  </button>
423
424
  <section class="panel question-panel" id="questionPanel" aria-labelledby="questionHeading" hidden>
424
425
  <div class="question-panel-head"><h3 id="questionHeading" tabindex="-1" data-i18n="pendingQuestions">Pending questions</h3>
@@ -429,14 +430,14 @@
429
430
  </section>
430
431
  </div>
431
432
  <div class="anchor">
432
- <button class="chip" type="button" id="btnReminders" aria-haspopup="true" aria-expanded="false" aria-controls="reminderPanel"><svg class="action-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M18 8a6 6 0 1 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9"/><path d="M10 21a2 2 0 0 0 4 0"/></svg><span class="action-label" data-i18n="reminders">Reminders</span></button>
433
+ <button class="chip" type="button" id="btnReminders" aria-haspopup="true" aria-expanded="false" aria-controls="reminderPanel"><svg class="fluent-icon action-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-alert-24"></use></svg><span class="action-label" data-i18n="reminders">Reminders</span></button>
433
434
  <section class="panel reminder-panel" id="reminderPanel" aria-labelledby="reminderHeading" hidden>
434
435
  <div class="announcement-head"><h3 id="reminderHeading" tabindex="-1" data-i18n="reminders">Reminders</h3><div class="reminder-tools"><button type="button" id="btnNewReminder" class="btn primary small" data-i18n="reminderCreate">Create reminder</button><button type="button" id="btnRefreshReminders" class="question-refresh" data-i18n="refreshQuestions">Refresh</button></div></div>
435
436
  <p id="reminderStatus" class="hint" role="status" aria-live="polite"></p><ul id="reminderList" class="reminder-list"></ul>
436
437
  </section>
437
438
  </div>
438
439
  <div class="anchor">
439
- <button class="chip" type="button" id="btnMembers" aria-label="Members" data-i18n-aria-label="members" aria-haspopup="true" aria-expanded="false"><svg class="action-icon" aria-hidden="true" viewBox="0 0 24 24"><circle cx="9" cy="8" r="3"/><path d="M3.5 19v-1.5a5.5 5.5 0 0 1 11 0V19zM16 5.5a3 3 0 0 1 0 5.8M17 14a4.5 4.5 0 0 1 3.5 4.4V19h-3"/></svg><span class="action-label" data-i18n="members">Members</span><span id="joinRequestBadge" class="question-badge join-request-badge" aria-hidden="true" hidden><span id="joinRequestBadgeCount"></span></span></button>
440
+ <button class="chip" type="button" id="btnMembers" aria-label="Members" data-i18n-aria-label="members" aria-haspopup="true" aria-expanded="false"><svg class="fluent-icon action-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-people-24"></use></svg><span class="action-label" data-i18n="members">Members</span><span id="joinRequestBadge" class="question-badge join-request-badge" aria-hidden="true" hidden><span id="joinRequestBadgeCount"></span></span></button>
440
441
  <div class="panel" id="memberPanel" hidden>
441
442
  <h3 data-i18n="members">Members</h3>
442
443
  <section id="joinRequests" class="join-requests" hidden aria-labelledby="joinRequestsTitle">
@@ -454,13 +455,13 @@
454
455
  </div>
455
456
  </div>
456
457
  <div class="anchor room-options-anchor">
457
- <button class="chip" type="button" id="btnRoomOptions" aria-haspopup="true" aria-expanded="false" aria-controls="roomOptions"><svg class="action-icon" aria-hidden="true" viewBox="0 0 24 24"><circle cx="5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/></svg><span class="action-label" data-i18n="roomOptions">Options</span></button>
458
+ <button class="chip" type="button" id="btnRoomOptions" aria-haspopup="true" aria-expanded="false" aria-controls="roomOptions"><svg class="fluent-icon action-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-more_horizontal-24"></use></svg><span class="action-label" data-i18n="roomOptions">Options</span></button>
458
459
  <div class="panel room-options-panel" id="roomOptions" hidden>
459
- <button class="menu-action" type="button" id="btnAnnouncements" aria-controls="announcementPanel"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M5 4h14v16H5zM8 8h8M8 12h8M8 16h5"/></svg><span data-i18n="announcements">Announcements</span></button>
460
- <button class="menu-action files-menu-action" type="button" id="btnFiles"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M6 3h8l5 5v13H6z"/><path d="M14 3v5h5"/></svg><span data-i18n="filesTitle">Files</span></button>
461
- <button class="menu-action" type="button" id="btnEditRoom" data-i18n="editRoom">Edit room</button>
462
- <button class="menu-action" type="button" id="btnLeave" data-i18n="leave">Leave room</button>
463
- <button class="menu-action danger-text" type="button" id="btnDeleteRoom" data-i18n="deleteRoom">Delete room</button>
460
+ <button class="menu-action" type="button" id="btnAnnouncements" aria-controls="announcementPanel"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-megaphone-24"></use></svg><span data-i18n="announcements">Announcements</span></button>
461
+ <button class="menu-action files-menu-action" type="button" id="btnFiles"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-folder-24"></use></svg><span data-i18n="filesTitle">Files</span></button>
462
+ <button class="menu-action" type="button" id="btnEditRoom"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-edit-24"></use></svg><span data-i18n="editRoom">Edit room</span></button>
463
+ <button class="menu-action" type="button" id="btnLeave"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-arrow_exit-24"></use></svg><span data-i18n="leave">Leave room</span></button>
464
+ <button class="menu-action danger-text" type="button" id="btnDeleteRoom"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-delete-24"></use></svg><span data-i18n="deleteRoom">Delete room</span></button>
464
465
  </div>
465
466
  <section class="panel announcement-panel" id="announcementPanel" aria-labelledby="announcementHeading" hidden>
466
467
  <div class="announcement-head"><h3 id="announcementHeading" tabindex="-1" data-i18n="announcements">Announcements</h3><div class="announcement-tools"><button type="button" id="btnNewAnnouncement" class="btn primary small" aria-haspopup="dialog" data-i18n="announcementNew">New announcement</button><button type="button" id="btnRefreshAnnouncements" class="question-refresh" data-i18n="refreshQuestions">Refresh</button></div></div>
@@ -482,14 +483,14 @@
482
483
  <p id="msgEmpty" class="chat-empty" data-i18n="noMessages">No messages yet. Say something.</p>
483
484
  </div>
484
485
  <button type="button" id="btnJump" class="jump" aria-label="Back to latest messages" data-i18n-aria-label="latestMessages" hidden>
485
- <span aria-hidden="true">↓</span><span class="badge" id="jumpBadge" hidden></span>
486
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-arrow_down-24"></use></svg><span class="badge" id="jumpBadge" hidden></span>
486
487
  </button>
487
488
  </div>
488
489
 
489
490
  <aside id="readerPanel" class="reader-panel" role="dialog" aria-modal="false" aria-labelledby="readerHeading" hidden>
490
491
  <div class="reader-panel-head">
491
492
  <div><p id="readerCount" class="hint"></p><h2 id="readerHeading" tabindex="-1" data-i18n="readerPanelTitle">Message readers</h2></div>
492
- <button type="button" id="btnCloseReaders" class="reader-close" data-i18n-aria-label="close" aria-label="Close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
493
+ <button type="button" id="btnCloseReaders" class="reader-close" data-i18n-aria-label="close" aria-label="Close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button>
493
494
  </div>
494
495
  <ul id="readerList" class="receipt-reader-list" aria-label="Message readers" data-i18n-aria-label="readerPanelTitle"></ul>
495
496
  </aside>
@@ -511,7 +512,7 @@
511
512
  <p id="attachmentStatus" class="attachment-status" role="status" aria-live="polite"></p>
512
513
  </section>
513
514
  <div class="composer-row">
514
- <button class="attachment-button" type="button" id="btnAddAttachments" aria-label="Add files" data-i18n-aria-label="addFiles" aria-controls="attachmentPicker" disabled><svg aria-hidden="true" viewBox="0 0 24 24"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.82-2.83l8.49-8.48"/></svg></button>
515
+ <button class="attachment-button" type="button" id="btnAddAttachments" aria-label="Add files" data-i18n-aria-label="addFiles" aria-controls="attachmentPicker" disabled><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-attach-24"></use></svg></button>
515
516
  <input id="attachmentPicker" type="file" multiple hidden>
516
517
  <div id="msgInput" class="input message-editor" data-empty="true" role="textbox" aria-multiline="true" aria-label="Message" data-i18n-aria-label="messagePlaceholder" aria-placeholder="Type a message, Enter to send, Shift+Enter for a new line" data-i18n-aria-placeholder="messagePlaceholder" aria-autocomplete="list" aria-controls="mentionPicker" aria-expanded="false" aria-keyshortcuts="Enter Shift+Enter" enterkeyhint="send" autocapitalize="sentences" spellcheck="true" contenteditable="false" aria-disabled="true" tabindex="-1"></div>
517
518
  <button class="btn primary" type="button" id="btnSend" data-i18n="send" disabled>Send</button>
@@ -529,18 +530,18 @@
529
530
 
530
531
  <!-- Full-screen view of an image already loaded in the message list. -->
531
532
  <dialog id="imageDialog" class="image-dialog" aria-label="Image preview" data-i18n-aria-label="imagePreviewTitle">
532
- <button id="btnCloseImage" class="image-dialog-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
533
+ <button id="btnCloseImage" class="image-dialog-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button>
533
534
  <div class="image-dialog-tools" role="group" aria-label="Image zoom" data-i18n-aria-label="imageZoomControls">
534
- <button id="btnZoomOut" class="image-dialog-tool" type="button" aria-label="Zoom out" data-i18n-aria-label="zoomOut">−</button>
535
+ <button id="btnZoomOut" class="image-dialog-tool" type="button" aria-label="Zoom out" data-i18n-aria-label="zoomOut"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-subtract-24"></use></svg></button>
535
536
  <button id="btnZoomReset" class="image-dialog-tool image-dialog-reset" type="button" aria-label="Reset zoom" data-i18n-aria-label="zoomReset"><span id="zoomLevel">100%</span></button>
536
- <button id="btnZoomIn" class="image-dialog-tool" type="button" aria-label="Zoom in" data-i18n-aria-label="zoomIn">+</button>
537
+ <button id="btnZoomIn" class="image-dialog-tool" type="button" aria-label="Zoom in" data-i18n-aria-label="zoomIn"><svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-add-24"></use></svg></button>
537
538
  </div>
538
539
  <img id="imageDialogImage" alt="">
539
540
  </dialog>
540
541
 
541
542
  <!-- Shown when someone who is not the room owner reaches for the settings. -->
542
543
  <dialog id="ownerOnlyDialog" class="admin-dialog" aria-labelledby="ownerOnlyHeading">
543
- <header class="admin-dialog-head"><h2 id="ownerOnlyHeading" data-i18n="roomOwnerOnlyTitle">Owner or administrator only</h2><div class="admin-dialog-actions"><button id="btnCloseOwnerOnly" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></header>
544
+ <header class="admin-dialog-head"><h2 id="ownerOnlyHeading" data-i18n="roomOwnerOnlyTitle">Owner or administrator only</h2><div class="admin-dialog-actions"><button id="btnCloseOwnerOnly" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button></div></header>
544
545
  <p id="ownerOnlyNote" class="hint"></p>
545
546
  <button id="btnOwnerOnlyOk" class="btn ghost small" type="button" data-i18n="close">Close</button>
546
547
  </dialog>
@@ -563,15 +564,15 @@
563
564
  </div>
564
565
  <div class="palette-head-actions">
565
566
  <button id="paletteScope" class="chip palette-scope" type="button" data-scope="room" aria-label="Search scope">
566
- <svg aria-hidden="true" viewBox="0 0 24 24"><path d="M4 11a8 8 0 0 1 13.7-5.7L20 7.6"/><path d="M20 4v4h-4"/><path d="M20 13a8 8 0 0 1-13.7 5.7L4 16.4"/><path d="M4 20v-4h4"/></svg>
567
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-arrow_swap-24"></use></svg>
567
568
  <span id="paletteScopeLabel">This room</span>
568
569
  <kbd class="keys-key" aria-hidden="true">Tab</kbd>
569
570
  </button>
570
- <button id="btnClosePalette" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
571
+ <button id="btnClosePalette" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button>
571
572
  </div>
572
573
  </header>
573
574
  <div class="palette-search">
574
- <svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m16 16 5 5"/></svg>
575
+ <svg class="fluent-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-search-24"></use></svg>
575
576
  <input id="paletteInput" class="input palette-input" type="text" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="paletteList" aria-describedby="paletteHint" aria-label="Search messages" data-i18n-aria-label="paletteSearchLabel" placeholder="Search messages, or type > for commands" data-i18n-placeholder="palettePlaceholder" autocomplete="off" autocapitalize="off" spellcheck="false" enterkeyhint="go">
576
577
  <span id="paletteMode" class="palette-mode" aria-hidden="true">Search</span>
577
578
  </div>
@@ -586,7 +587,7 @@
586
587
  <dialog id="shortcutsDialog" class="keys-dialog" aria-labelledby="shortcutsHeading">
587
588
  <header class="keys-dialog-head">
588
589
  <h2 id="shortcutsHeading" tabindex="-1" data-i18n="shortcutsTitle">Keyboard shortcuts</h2>
589
- <button id="btnCloseShortcuts" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="close-icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
590
+ <button id="btnCloseShortcuts" class="reader-close" type="button" aria-label="Close" data-i18n-aria-label="close"><svg class="fluent-icon close-icon" aria-hidden="true" viewBox="0 0 24 24"><use href="/assets/fluent-icons.svg#fluent-dismiss-24"></use></svg></button>
590
591
  </header>
591
592
  <p id="shortcutsLead" class="keys-lead" data-i18n="shortcutsLead">ChatRoom shortcuts. Press Alt + / to open this list.</p>
592
593
 
@@ -598,6 +599,12 @@
598
599
  <li><span class="keys-combo"><kbd class="keys-key">↑</kbd><kbd class="keys-key">↓</kbd><span class="keys-sep">·</span><kbd class="keys-key">Enter</kbd></span><span data-i18n="shortcutsMention">Choose a member to mention</span></li>
599
600
  </ul>
600
601
  </section>
602
+ <section class="keys-section">
603
+ <h3 data-i18n="shortcutsSearch">Search and commands</h3>
604
+ <ul class="keys-list">
605
+ <li><span class="keys-combo"><kbd class="keys-key shortcut-mod">Alt</kbd><span class="keys-sep">+</span><kbd class="keys-key">Space</kbd></span><span data-i18n="shortcutsOpenPalette">Open search and commands</span></li>
606
+ </ul>
607
+ </section>
601
608
  <section class="keys-section">
602
609
  <h3 data-i18n="shortcutsRooms">Rooms</h3>
603
610
  <ul class="keys-list">
@@ -625,6 +632,17 @@
625
632
 
626
633
  </main>
627
634
 
635
+ <aside id="pwaUpdate" class="pwa-update" role="status" aria-live="polite" aria-labelledby="pwaUpdateTitle" hidden>
636
+ <div class="pwa-update-copy">
637
+ <strong id="pwaUpdateTitle" data-i18n="pwaUpdateTitle">Update available</strong>
638
+ <p data-i18n="pwaUpdateBody">A new version is ready. Reload now, or update the next time you open the app.</p>
639
+ </div>
640
+ <div class="pwa-update-actions">
641
+ <button id="btnPwaUpdate" class="btn primary small" type="button" data-i18n="pwaUpdateNow">Update now</button>
642
+ <button id="btnPwaLater" class="btn ghost small" type="button" data-i18n="pwaUpdateLater">Later</button>
643
+ </div>
644
+ </aside>
645
+
628
646
  <script src="/assets/marked-18.0.4.js"></script>
629
647
  <script src="/assets/dompurify-3.4.7.js"></script>
630
648
  <script src="/assets/highlight-10.7.3.min.js"></script>