Side nav circle becomes a quarter-circle sun in the corner once the nav sticks
Stuck, it centers on the header's bottom left and grows to reach past the list's far corner (never wider than the nav column), easing between that and its starting place on the list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e68a9be9bb
commit
c335774db5
2 changed files with 62 additions and 10 deletions
|
|
@ -1,11 +1,19 @@
|
|||
/* The side nav's circle (PageShell.tsx): the light fill of the color
|
||||
/* The side nav's circle (PageShell.tsx), a sun in the corner once
|
||||
the nav sticks: the light fill of the color
|
||||
family of the section being read (its darkest in dark mode), the
|
||||
palette shades every text color reads on at 4.5:1 or better, as
|
||||
on the page backdrop (PageBackdrop.css). */
|
||||
|
||||
.side-nav-circle {
|
||||
background: #d6f5fa;
|
||||
transition: background-color 0.8s ease-in-out;
|
||||
/* Color by section; size and place between centered on the list
|
||||
and the corner sun once it sticks. */
|
||||
transition:
|
||||
background-color 0.8s ease-in-out,
|
||||
width 0.6s ease-in-out,
|
||||
height 0.6s ease-in-out,
|
||||
left 0.6s ease-in-out,
|
||||
top 0.6s ease-in-out;
|
||||
}
|
||||
.side-nav-circle[data-family="green"] {
|
||||
background: #e6f0dd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue