diff --git a/handbook/README.md b/handbook/README.md index 61ebfcd..84cdceb 100644 --- a/handbook/README.md +++ b/handbook/README.md @@ -228,16 +228,17 @@ Named slots the motion system fills (apps/web/app/motion/motion.css, where each - [Kelp Garden](https://fishies.lol/open-water/kelp-garden) · A coral garden that runs into a kelp forest. Room to roam. - [Shipwreck](https://fishies.lol/open-water/shipwreck) · An old ship asleep on the sand, lanterns still lit. Swim through its ribs. -- [Market](https://fishies.lol/open-water/market) · Stalls in the sunny shallows round a wanted board. Bring the fish the Market is asking for. +- [Market](https://fishies.lol/open-water/market) · A wanted board in the sunny shallows. Bring the fish the Market is asking for this week. - [Lagoon](https://fishies.lol/open-water/lagoon) · Warm, bright shallows of seagrass and white sand. Play Pearl Catch at the oyster bed. - [Arena](https://fishies.lol/open-water/arena) · An open stadium of coral stands round a start gate. Race the week's course for a place on the board. - [Ice Shelf](https://fishies.lol/open-water/ice-shelf) · Pale water under an ice roof, frost ferns and ice spires. The seasonal parties are thrown here. - [Ruins](https://fishies.lol/open-water/ruins) · A sunken temple among fallen columns, its door sealed. Six lost tablets are hidden across Open Water. - [Trench](https://fishies.lol/open-water/trench) · The dark deep at the reef's edge. Send a fish on an expedition into it from the diving bell. - [Vents](https://fishies.lol/open-water/vents) · Warm volcanic chimneys glowing in the dark. Send a fish on an expedition from the outpost. -- [Pineapple House](https://fishies.lol/open-water/pineapple-house) · A house made from a pineapple, deep in the kelp. Somebody keeps it very tidy. +- [Pineapple House](https://fishies.lol/open-water/pineapple-house) · A house made from a pineapple, hidden deep in the kelp. A quiet room to swim into and meet whoever found it too. - [Gallery](https://fishies.lol/open-water/gallery) · Keepers' aquariums, framed on the wall. Swim close to look inside. - [The Temple](https://fishies.lol/open-water/ruins-temple) · Inside the sunken temple, where the first light is kept. +- [Cove](https://fishies.lol/open-water/cove) · Your school's own bay, with its banner and notice board. ### Catalogues diff --git a/icons/school.png b/icons/school.png new file mode 100644 index 0000000..f1a1ea1 Binary files /dev/null and b/icons/school.png differ diff --git a/src/icons.generated.ts b/src/icons.generated.ts index 803bb2b..8e92095 100644 --- a/src/icons.generated.ts +++ b/src/icons.generated.ts @@ -322,7 +322,9 @@ export const ICON_FACTS: Readonly .fx-icon { width: 36px; height: 36px; filter: drop-shadow(0 3px 3px rgb(0 0 0 / 30%)); } @@ -170,7 +170,7 @@ .fx-input:focus-visible { border-color: var(--fx-gold-rim); box-shadow: inset 0 2px 6px rgb(0 0 0 / 45%), 0 0 0 4px rgb(255 196 107 / 22%); } .fx-input[aria-invalid='true'] { border-color: var(--fx-alarm); } - .fx-toggle { display: inline-flex; align-items: center; gap: var(--fx-s-3); color: var(--fx-ink); font: 800 var(--fx-t-md)/1.2 var(--fx-font-display); cursor: pointer; } + .fx-toggle { display: inline-flex; align-items: center; gap: var(--fx-s-3); color: var(--fx-ink); font: 800 var(--fx-t-md)/1.2 var(--fx-font-display); cursor: var(--cursor-hand); } .fx-toggle > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; } .fx-toggle > i { position: relative; flex: none; width: 52px; height: 30px; border: 1px solid var(--fx-rim); border-radius: var(--fx-r-full); @@ -229,7 +229,7 @@ .fx-stat > span > span { color: var(--fx-ink-3); font: 700 var(--fx-t-sm)/1.3 var(--fx-font-ui); } - .fx-tile { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 118px; padding: 0; border: 0; background: none; color: var(--fx-ink); font: inherit; cursor: pointer; } + .fx-tile { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 118px; padding: 0; border: 0; background: none; color: var(--fx-ink); font: inherit; cursor: var(--cursor-hand); } .fx-tile-glass { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 1.5px solid var(--fx-gold-rim); border-radius: var(--fx-r-xl); background: radial-gradient(circle at 30% 22%, rgb(255 255 255 / 34%), transparent 34%), linear-gradient(160deg, oklch(62% .12 var(--hue, 220)), oklch(36% .1 var(--hue, 220)) 70%, oklch(28% .08 var(--hue, 220))); @@ -248,7 +248,7 @@ .fx-dock { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 8px 10px; overflow-x: auto; border-color: var(--fx-gold-rim); border-radius: var(--fx-r-xl); box-shadow: var(--fx-rim-light), var(--fx-lift-2); scrollbar-width: none; } .fx-dock-item { - position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 18px; background: none; cursor: pointer; + position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 18px; background: none; cursor: var(--cursor-hand); transition: transform var(--m-quick) var(--m-ease-spring), background var(--m-quick) var(--m-ease-out); } .fx-dock-item:hover { background: rgb(255 255 255 / 8%); transform: translateY(-4px) scale(1.06); } diff --git a/src/select.css b/src/select.css index edfbc95..64d8925 100644 --- a/src/select.css +++ b/src/select.css @@ -12,6 +12,7 @@ } .aquarium-game { --fs-select-ink: var(--fx-ink); + --fs-select-font: 800 var(--t-sm, 13px)/1.2; --fs-select-muted: var(--fx-ink-3); --fs-select-line: rgb(140 200 255 / 24%); --fs-select-bg: rgb(255 255 255 / 5%); @@ -47,13 +48,13 @@ border: 1px solid var(--fs-select-line); border-radius: var(--fs-select-radius); background: var(--fs-select-bg); color: var(--fs-select-ink); font: var(--fs-select-font) var(--font-ui), system-ui, sans-serif; letter-spacing: 0; text-align: left; text-transform: none; - box-shadow: none; text-shadow: none; cursor: pointer; transition: border-color .15s, background .15s; + box-shadow: none; text-shadow: none; cursor: var(--cursor-hand); transition: border-color .15s, background .15s; } .fs-select.fs-select:hover:not(:disabled), .fs-select.fs-select.is-open { border-color: color-mix(in srgb, var(--fs-select-accent) 55%, transparent); } .fs-select.fs-select:disabled { opacity: .55; cursor: not-allowed; } .fs-select.fs-select:focus-visible { outline: 2px solid var(--fs-select-accent); outline-offset: 2px; } .fs-select .fs-select-value { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: anywhere; } -.fs-select i { flex: none; margin-left: auto; color: var(--fs-select-muted); font-size: 14px; font-style: normal; line-height: 1; transition: transform .15s; } +.fs-select i { flex: none; margin-left: auto; color: var(--fs-select-muted); font-size: var(--t-md, 14px); font-style: normal; line-height: 1; transition: transform .15s; } .fs-select.is-open i { transform: rotate(180deg); } .fs-select-icon { display: inline-grid; place-items: center; flex: none; width: 20px; } .fs-select.fs-select.fs-select-compact { min-height: 32px; padding: 5px 10px; gap: 6px; } @@ -71,7 +72,7 @@ .fs-select-popover li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-height: 36px; padding: 7px 9px; border-radius: max(4px, calc(var(--fs-select-radius) - 3px)); - color: var(--fs-select-ink); cursor: pointer; user-select: none; + color: var(--fs-select-ink); cursor: var(--cursor-hand); user-select: none; } .fs-select-popover li > span:not(.fs-select-icon) { grid-column: 2; overflow-wrap: anywhere; } .fs-select-popover li.is-active, .fs-select-popover li[aria-selected=true] { background: var(--fs-select-hover); }