diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-03-22 14:14:55 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-03-22 14:14:55 -0400 |
| commit | 2db8f1d7da619891e2fbfb76d04b734b583440ab (patch) | |
| tree | 6a81e00dedc15deaa5d75a6c13a88cc465ff10b5 | |
| parent | 8f00e1b0ebe2aaf6f84db2f3c870cf2159f74c86 (diff) | |
| download | cgit-skin-2db8f1d7da619891e2fbfb76d04b734b583440ab.tar.gz | |
More table tweaks
| -rw-r--r-- | cgit.css | 41 |
1 files changed, 19 insertions, 22 deletions
@@ -126,12 +126,8 @@ body { padding: 0 1em; } -#cgit .list[summary="repository info"] tr:nth-child(2n+1) > td { - background-color: #F7FBFC; -} - -#cgit .list[summary="tree listing"] tr:nth-child(2n+1) > td { - background-color: #F7FBFC; +#cgit .list tr:last-child td { + border-bottom: 1px solid #C5D5DD; } #cgit .list th:first-child, @@ -144,37 +140,38 @@ body { border-right: 1px solid #C5D5DD; } -#cgit .list[summary="repository info"] tr.nohover + tr:not(.nohover) > td { - border-top: 1px solid #C5D5DD; +#cgit .list tr:hover > td { + background-color: #FCFCE2 !important; } -#cgit .list tr:hover > td { - background-color: #FCFCE2; +#cgit .list .nohover:hover > td { + background-color: transparent !important; } -#cgit .list[summary="repository info"] tr:not(.nohover) + tr.nohover { - border-top: 1px solid #C5D5DD; +#cgit .list .nohover > td { + background-color: transparent !important; } -#cgit .list[summary="repository info"] tr:last-of-type { - border-bottom: 1px solid #C5D5DD; +#cgit .list[summary="repository info"] tr:nth-child(2n+1) > td { + background-color: #F7FBFC; } -#cgit .list[summary="repository info"] tr.nohover { - border-bottom: none; +#cgit .list[summary="tree listing"] tr:nth-child(2n+1) > td { + background-color: #F7FBFC; } -#cgit .list[summary="repository info"] tr:last-of-type > td { - border-top: 1px solid #C5D5DD; +#cgit .list[summary="repository info"] tr:not(.nohover) + .nohover { + border-top: 1px solid #C5D5DD !important; } -#cgit .list[summary="repository info"] tr.nohover > td { +#cgit .list[summary="repository info"] .nohover > td { background: transparent; - border: none; + border-left: none; + border-right: none; } -#cgit .list tr:last-child { - border-bottom: 1px solid #C5D5DD; +#cgit .list[summary="repository info"] tr:last-of-type > td { + border: none; } #cgit .list .commitgraph { |
