aboutsummaryrefslogtreecommitdiff
path: root/www/cgit.css
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2026-01-08 03:18:12 +0900
committerTolmachev Igor <me@igorek.dev>2026-01-08 03:18:12 +0900
commit454c45cf94e744c5f1f0585c74e60ffa18634143 (patch)
treef9b6a857dab6a3aa862effc49853f38119cc6079 /www/cgit.css
parent066327db639890abb4c6598b00b7751471836a5e (diff)
downloadcgit_material_docker-454c45cf94e744c5f1f0585c74e60ffa18634143.tar.gz
cgit_material_docker-454c45cf94e744c5f1f0585c74e60ffa18634143.zip
Fix css
- Fix tr.nohover behavior
Diffstat (limited to 'www/cgit.css')
-rw-r--r--www/cgit.css8
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
233div#cgit table.list tr:nth-child(even) { 233div#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
237div#cgit table.list tr:hover { 237div#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
241div#cgit table.list tr.nohover {
242 border: none;
243}
244
241div#cgit table.list th { 245div#cgit table.list th {
242 text-align: left; 246 text-align: left;
243 font-weight: 600; 247 font-weight: 600;