Changeset 2f919c0 in Klonkt


Ignore:
Timestamp:
06/28/2026 11:20:05 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
f1ee40e
Parents:
69a10e7
Message:

fix(grid): restore pinned/boosted accent ring over the new cover <img>

The is-pinned highlight was a tile outline, which the absolute cover <img> now paints over →
boosted tiles in the Cirkel lost their accent border. Redrawn as a ::after overlay above the
image (below badges + nsfw veil).

  • assets/css/style.css — .grid-tile.is-pinned::after ring (replaces outline)
  • views/shell.ejs — style.css cache buster v60
Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/style.css

    r69a10e7 r2f919c0  
    24862486    margin-top: -1px;
    24872487}
    2488 /* Pinned-tile overall highlight: accent border + subtle inner glow */
    2489 .grid-tile.is-pinned {
    2490     outline: 3px solid var(--accent);
    2491     outline-offset: -3px;
     2488/* Pinned/boosted tile: accent ring. An outline on the tile is painted UNDER the absolute
     2489   cover <img>, so draw the ring as a pseudo-element overlay ABOVE the image (z-index above
     2490   the img, below the corner badges + nsfw veil). */
     2491.grid-tile.is-pinned { position: relative; z-index: 1; }
     2492.grid-tile.is-pinned::after {
     2493    content: '';
     2494    position: absolute;
     2495    inset: 0;
     2496    border: 3px solid var(--accent);
     2497    border-radius: inherit;
     2498    pointer-events: none;
    24922499    z-index: 1;
    2493 }
    2494 .grid-tile.is-pinned:hover {
    2495     outline-offset: -2px;
    24962500}
    24972501.grid-tile-type {
  • src/views/shell.ejs

    r69a10e7 r2f919c0  
    198198
    199199<!-- v9 stylesheet (full palette system) -->
    200 <link rel="stylesheet" href="/assets/css/style.css?v=59">
     200<link rel="stylesheet" href="/assets/css/style.css?v=60">
    201201<script>
    202202/* iOS safe-area, built by hand. env(safe-area-inset-top) resolves to 0 on this iOS in
Note: See TracChangeset for help on using the changeset viewer.