Fishies 0.8.8
This commit is contained in:
parent
45ce5768ff
commit
e2458d8e0d
6 changed files with 43 additions and 20 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
BIN
icons/school.png
Normal file
BIN
icons/school.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
|
|
@ -322,7 +322,9 @@ export const ICON_FACTS: Readonly<Record<string, { readonly px: number; readonly
|
|||
"solved": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": []
|
||||
"usedBy": [
|
||||
"Game"
|
||||
]
|
||||
},
|
||||
"staff": {
|
||||
"px": 168,
|
||||
|
|
@ -344,7 +346,9 @@ export const ICON_FACTS: Readonly<Record<string, { readonly px: number; readonly
|
|||
"report": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": []
|
||||
"usedBy": [
|
||||
"Game"
|
||||
]
|
||||
},
|
||||
"follow": {
|
||||
"px": 168,
|
||||
|
|
@ -385,12 +389,16 @@ export const ICON_FACTS: Readonly<Record<string, { readonly px: number; readonly
|
|||
"bug": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": []
|
||||
"usedBy": [
|
||||
"Game"
|
||||
]
|
||||
},
|
||||
"idea": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": []
|
||||
"usedBy": [
|
||||
"Game"
|
||||
]
|
||||
},
|
||||
"reply": {
|
||||
"px": 168,
|
||||
|
|
@ -428,13 +436,16 @@ export const ICON_FACTS: Readonly<Record<string, { readonly px: number; readonly
|
|||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": [
|
||||
"Game",
|
||||
"Reef Journal"
|
||||
]
|
||||
},
|
||||
"trash": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": []
|
||||
"usedBy": [
|
||||
"Game"
|
||||
]
|
||||
},
|
||||
"link": {
|
||||
"px": 168,
|
||||
|
|
@ -447,12 +458,15 @@ export const ICON_FACTS: Readonly<Record<string, { readonly px: number; readonly
|
|||
"smile": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": []
|
||||
"usedBy": [
|
||||
"Game"
|
||||
]
|
||||
},
|
||||
"send": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": [
|
||||
"Game",
|
||||
"Reef Journal"
|
||||
]
|
||||
},
|
||||
|
|
@ -471,6 +485,13 @@ export const ICON_FACTS: Readonly<Record<string, { readonly px: number; readonly
|
|||
"Reef Journal"
|
||||
]
|
||||
},
|
||||
"school": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
"usedBy": [
|
||||
"Game"
|
||||
]
|
||||
},
|
||||
"thermometer": {
|
||||
"px": 168,
|
||||
"sharpTo": 84,
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ export const SYSTEM_ICONS = [
|
|||
ui('tank', 'Aquarium', 'things', 'an aquarium you own or buy'), ui('block', 'Block', 'system', 'block a keeper, ban'),
|
||||
ui('trash', 'Remove', 'system', 'remove, delete'), ui('link', 'Link', 'system', 'copy or open a link'),
|
||||
ui('smile', 'Emoji', 'system', 'pick an emoji'), ui('send', 'Send', 'system', 'send a message or post'),
|
||||
ui('whisper', 'Whisper', 'places', 'a private message'), ui('wave', 'Open water', 'places', 'open water, the reef lane'),
|
||||
ui('whisper', 'Whisper', 'places', 'a private message'), ui('wave', 'Open water', 'places', 'open water, the reef lane'), ui('school', 'School', 'places', 'your school of keepers, its app and Cove'),
|
||||
ui('thermometer', 'Temperature', 'care', 'water temperature, the heater'), ui('drop', 'Water', 'care', 'water quality'),
|
||||
ui('warning', 'Warning', 'system', 'warning, danger'), ui('gift', 'Gift', 'things', 'gifts, something given'),
|
||||
ui('gem', 'Grade', 'things', 'quality tier, grade'), ui('trophy', 'Trophy', 'things', 'achievements, badges'),
|
||||
|
|
|
|||
16
src/kit.css
16
src/kit.css
|
|
@ -10,7 +10,7 @@
|
|||
position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--fx-s-2);
|
||||
min-height: 46px; padding: 0 var(--fx-s-5); border: 1px solid var(--fx-rim); border-radius: var(--fx-r-full);
|
||||
font: 800 var(--fx-t-md)/1 var(--fx-font-display); letter-spacing: var(--fx-track-tight); white-space: nowrap; text-decoration: none;
|
||||
cursor: pointer; -webkit-tap-highlight-color: transparent;
|
||||
cursor: var(--cursor-hand); -webkit-tap-highlight-color: transparent;
|
||||
transition: transform var(--m-quick) var(--m-ease-spring), box-shadow var(--m-quick) var(--m-ease-out), filter var(--m-quick) var(--m-ease-out);
|
||||
}
|
||||
.fx-button.is-sm { min-height: 36px; padding: 0 var(--fx-s-4); font-size: var(--fx-t-sm); gap: var(--fx-s-1); }
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
.fx-round {
|
||||
display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0;
|
||||
border: 1px solid var(--fx-rim); border-radius: 50%; color: var(--fx-ink); cursor: pointer;
|
||||
border: 1px solid var(--fx-rim); border-radius: 50%; color: var(--fx-ink); cursor: var(--cursor-hand);
|
||||
background: radial-gradient(circle at 35% 28%, rgb(255 255 255 / 26%), transparent 52%), var(--fx-navy);
|
||||
box-shadow: inset 0 -2px 4px rgb(0 0 0 / 25%), 0 2px 0 rgb(2 10 24 / 50%);
|
||||
transition: transform var(--m-quick) var(--m-ease-spring), filter var(--m-quick) var(--m-ease-out);
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
font: 800 var(--fx-t-sm)/1 var(--fx-font-display); font-variant-numeric: tabular-nums; white-space: nowrap;
|
||||
transition: background var(--m-quick) var(--m-ease-out), transform var(--m-quick) var(--m-ease-spring);
|
||||
}
|
||||
button.fx-chip { cursor: pointer; }
|
||||
button.fx-chip { cursor: var(--cursor-hand); }
|
||||
button.fx-chip:hover { background: rgb(255 255 255 / 13%); }
|
||||
button.fx-chip:active { transform: scale(.95); }
|
||||
.fx-chip:focus-visible { outline: 3px solid var(--fx-gold); outline-offset: 2px; }
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
.fx-tabs { display: inline-flex; gap: 4px; max-width: 100%; padding: 4px; overflow-x: auto; border: 1px solid var(--fx-rim); border-radius: var(--fx-r-full); background: var(--fx-deep); box-shadow: inset 0 2px 6px rgb(0 0 0 / 40%); scrollbar-width: none; }
|
||||
.fx-tab {
|
||||
display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 var(--fx-s-4); border: 1px solid transparent; border-radius: var(--fx-r-full);
|
||||
background: none; color: var(--fx-ink-2); font: 800 var(--fx-t-sm)/1 var(--fx-font-display); white-space: nowrap; cursor: pointer;
|
||||
background: none; color: var(--fx-ink-2); font: 800 var(--fx-t-sm)/1 var(--fx-font-display); white-space: nowrap; cursor: var(--cursor-hand);
|
||||
transition: background var(--m-base) var(--m-ease-out), color var(--m-base) var(--m-ease-out), transform var(--m-quick) var(--m-ease-spring);
|
||||
}
|
||||
.fx-tab .fx-icon { width: 22px; height: 22px; }
|
||||
|
|
@ -147,7 +147,7 @@
|
|||
border: 1px solid transparent; border-radius: var(--fx-r-md); background: none; color: var(--fx-ink); text-align: left; font: inherit;
|
||||
transition: background var(--m-quick) var(--m-ease-out), border-color var(--m-quick) var(--m-ease-out);
|
||||
}
|
||||
button.fx-row, a.fx-row { cursor: pointer; text-decoration: none; }
|
||||
button.fx-row, a.fx-row { cursor: var(--cursor-hand); text-decoration: none; }
|
||||
:is(button, a).fx-row:hover, .fx-row.is-on { background: rgb(108 200 255 / 14%); border-color: var(--fx-gold-rim-quiet); }
|
||||
.fx-row:focus-visible { outline: 3px solid var(--fx-gold); outline-offset: 1px; }
|
||||
.fx-row > .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); }
|
||||
|
|
|
|||
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue