fix(library): fold the picked drive root to the root it is, so a folder row draws its own frames and the subfolder toggle holds
This commit is contained in:
@@ -1555,15 +1555,15 @@ form[data-key='immich-modal'] {
|
||||
read by the year first and the month under it after. */
|
||||
.lib-ruler-band { position: absolute; left: 0; right: 0; background: var(--bg-elev); border-radius: 3px; }
|
||||
.lib-ruler-tick { position: absolute; left: 0; width: 10px; height: 1px; background: color-mix(in srgb, var(--text-dim) 30%, transparent); }
|
||||
/* A year is the ruler's own rule: a hairline across the column with the year in
|
||||
brackets at the end of it — `-----[2024]`, which is what a ruler reads like.
|
||||
The line is the months' own grey, since a year is a tick like any other and not
|
||||
a band; the brackets are drawn here so the tick still reads as its bare year. */
|
||||
/* A year is the ruler's own rule: `-----2024`, a run of rule across the column
|
||||
with the bare year at the end of it, which is what a ruler's own edge reads
|
||||
like. The run is the page's ruler ink at its heavy weight — the ink the ticks
|
||||
are drawn in, one weight up, so a year separates where a month only marks — and
|
||||
not the solid `--text-dim` it first was, which stood out of the column like a
|
||||
border. */
|
||||
.lib-ruler-tick.lib-ruler-year { left: 0; right: 0; width: auto; height: 1px; background: none; display: flex; align-items: center; gap: 4px; }
|
||||
.lib-ruler-tick.lib-ruler-year::before { content: ''; flex: 1 1 auto; height: 1px; background: color-mix(in srgb, var(--text-dim) 30%, transparent); }
|
||||
.lib-ruler-tick.lib-ruler-year::before { content: ''; flex: 1 1 auto; height: 1px; background: var(--tick-strong); }
|
||||
.lib-ruler-tick.lib-ruler-year i { position: static; font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: 0.02em; color: var(--text-dim); }
|
||||
.lib-ruler-tick.lib-ruler-year i::before { content: '['; }
|
||||
.lib-ruler-tick.lib-ruler-year i::after { content: ']'; }
|
||||
.lib-ruler-tick.lib-ruler-year.on { width: auto; background: none; }
|
||||
.lib-ruler-tick.lib-ruler-year.on::before { background: var(--accent); }
|
||||
.lib-ruler-tick.lib-ruler-year.on i { color: var(--accent); }
|
||||
|
||||
Reference in New Issue
Block a user