diff options
| author | Tolmachev Igor <me@igorek.dev> | 2026-01-08 03:18:12 +0900 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2026-01-08 03:18:12 +0900 |
| commit | 454c45cf94e744c5f1f0585c74e60ffa18634143 (patch) | |
| tree | f9b6a857dab6a3aa862effc49853f38119cc6079 | |
| parent | 066327db639890abb4c6598b00b7751471836a5e (diff) | |
| download | cgit_material_docker-454c45cf94e744c5f1f0585c74e60ffa18634143.tar.gz cgit_material_docker-454c45cf94e744c5f1f0585c74e60ffa18634143.zip | |
Fix css
- Fix tr.nohover behavior
| -rw-r--r-- | www/cgit.css | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www/cgit.css b/www/cgit.css index c0435e0..1119601 100644 --- a/www/cgit.css +++ b/www/cgit.css | |||
| @@ -230,14 +230,18 @@ div#cgit table.list tr { | |||
| 230 | border-bottom: 1px solid var(--color-surface-container-high); | 230 | border-bottom: 1px solid var(--color-surface-container-high); |
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | div#cgit table.list tr:nth-child(even) { | 233 | div#cgit table.list tr:not(.nohover):nth-child(even) { |
| 234 | background: var(--color-surface-container-lowest); | 234 | background: var(--color-surface-container-lowest); |
| 235 | } | 235 | } |
| 236 | 236 | ||
| 237 | div#cgit table.list tr:hover { | 237 | div#cgit table.list tr:not(.nohover):hover { |
| 238 | background: var(--color-surface-container-high); | 238 | background: var(--color-surface-container-high); |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | div#cgit table.list tr.nohover { | ||
| 242 | border: none; | ||
| 243 | } | ||
| 244 | |||
| 241 | div#cgit table.list th { | 245 | div#cgit table.list th { |
| 242 | text-align: left; | 246 | text-align: left; |
| 243 | font-weight: 600; | 247 | font-weight: 600; |
