diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-06-10 07:02:20 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-06-10 07:20:35 -0300 |
| commit | 9c946df709fbeca15bc6e76435cbe30269a2bd3a (patch) | |
| tree | 2e2b465fc089aa56d40dc608d0004a409f1b541e /src/static/css | |
| parent | 7710949c13b149d40195b4203b8a8234039ef5d6 (diff) | |
client, content, css: simple group contributions table filter
Diffstat (limited to 'src/static/css')
| -rw-r--r-- | src/static/css/features.css | 37 |
1 files changed, 37 insertions, 0 deletions
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 { |