From 9c946df709fbeca15bc6e76435cbe30269a2bd3a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 10 Jun 2026 07:02:20 -0300 Subject: client, content, css: simple group contributions table filter --- src/static/css/features.css | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'src/static/css') diff --git a/src/static/css/features.css b/src/static/css/features.css index 2d54fe7a..f0bd1425 100644 --- a/src/static/css/features.css +++ b/src/static/css/features.css @@ -1260,12 +1260,49 @@ padding-right: 1.5ch; } + th:nth-child(1) { text-align: left; } td.group { padding-left: 3ch; } td.count { text-align: center; } td.duration { text-align: right; } } } +@layer interaction { + .group-contributions-table { + .group a { + position: relative; + text-decoration: underline; + text-decoration-style: dotted; + } + } + + .group-contributions-table:has(.group a.selected) { + tr:has(.group a:not(.selected)) { + td { opacity: 0.65; } + td.group { opacity: 0.8; } + } + + .group a.selected { + text-decoration-style: solid; + } + + .group a.selected::before { + content: ""; + + position: absolute; + display: inline-block; + top: 50%; transform: translateY(-50%); + left: -1.75ch; + + width: 0.4em; + height: 0.4em; + border-radius: 100000cm; + + background: var(--primary-color); + } + } +} + /* Image and media containers */ @layer layout { -- cgit 1.3.0-6-gf8a5