mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-02 17:32:50 +08:00
Client tree: flags on the far right, work in Chromium on Windows, zzz for away
- Country flag is the rightmost icon, after the group icons. - Flags render through the Twemoji Country Flags font (CC-BY 4.0), since Chromium on Windows has no flag emoji and shows the two letters. unicode-range keeps it to flag characters and loads it only on demand. - Away is the 💤 again, still in place of the talk dot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
5e76bd3bdf
commit
810d922b09
4 files changed
+29
-6
No files matched your search
@@ -2322,6 +2322,25 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Flags from the Twemoji Country Flags font (CC-BY 4.0), because Chromium on
|
||||
Windows has no flag emoji and shows the two letters instead. unicode-range
|
||||
keeps the font to flag characters and loads it only when one is shown. */
|
||||
@font-face {
|
||||
font-family: "Twemoji Country Flags";
|
||||
src: url("./assets/fonts/TwemojiCountryFlags.woff2") format("woff2");
|
||||
unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
.ts-flag {
|
||||
font-family: "Twemoji Country Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
|
||||
}
|
||||
|
||||
.ts-talk-lamp-away {
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.ts-client-icons {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user