xonecas.io
8356
Wx

www-xonecas-io / files

www-xonecas-io / tickets / 1038-let-s-make-tag-pool-more-alive-and-animated.md

1.8 KB
1---
2id: 1038
3title: let's make tag pool more alive and animated with hover states.
4type: feature
5status: done
6priority: p2
7created: 2026-11-08T05:21:27Z
8updated: 2026-11-08T16:01:12Z
9source: devnote
10moves: 2026-11-08T05:21:35Z inbox doing drag; 2026-11-08T05:28:22Z doing review agent; 2026-11-08T16:01:12Z review done drag
11area: site
12---
13
14## Context
15
16Filed from `http://192.168.122.10:8080/`, on `span.inline-flex.items-center.border-[1.5px]`.
17
18> jquery
19
20## Notes
21
22- 2026-11-08 05:28Z (agent): Done: the tag pools are livelier.
23  
24  - On load, each linked chip pops in one after another. It rises 4px and scales up from 0.85 with a little overshoot, 18ms apart, in the order of the pool. The whole front page pool takes about 0.9s.
25  - On hover or keyboard focus, a chip lifts 2px up and left, casts a hard 2px ink shadow, and fills with the accent colour with paper text. On press it drops back flat.
26  - With prefers-reduced-motion there is no pop-in and no lift, only the colour change.
27  
28  Where: the front page sidebar (the 6 tags and the topics) and the topic links on project pages. On project pages the structural tags aren't links, so they stay still. The /projects filter chips are unchanged.
29  
30  Files: assets/site.css (.pool block, @keyframes pop), templates/index.html and project.html (class 'pool', --i per chip). Note: the hover rules are plain CSS, not Tailwind's hover: variant, so unlike Tailwind's hover classes they also apply on touch screens after a tap.
31  
32  Checked in agent-browser: hovering 'jquery' on / gives transform translate(-2px,-2px), shadow 'rgb(26,26,26) 2px 2px 0', accent fill rgb(168,70,31) (screenshot attached). animation-name is pop, with a 0.234s delay for the 13th chip. Not checked: the pop-in by eye (only by its computed values) and dark mode.