Now every row is highlighted and a link is clickable along whole cell.

This commit is contained in:
Alexander Andreev 2021-03-04 23:55:42 +04:00
parent 9622b18305
commit 88b0c0b0b2
Signed by: Arav
GPG Key ID: 610DF2574456329F

View File

@ -99,23 +99,29 @@ nav h1 {
section { margin-top: 1rem; }
#files table { overflow-y: scroll; width: 100%; }
table { overflow-y: scroll; width: 100%; }
#files table tr { vertical-align: top; }
tr { vertical-align: top; }
#files table th { text-align: left; }
td a { display: block; width: 100%; }
#files table th,
#files table td { line-break: strict; }
tr:hover { background-color: var(--primary-color); color: white; }
#files table th:nth-child(2),
#files table th:last-child { width: 1%; white-space: nowrap; }
tr:hover a { color: white; }
#files table td:nth-child(2),
#files table td:last-child { white-space: nowrap; }
th { text-align: left; }
#files table th:nth-child(2),
#files table td:nth-child(2) { padding: 0 1rem; }
th,
td { line-break: strict; }
th:nth-child(2),
th:last-child { width: 1%; white-space: nowrap; }
td:nth-child(2),
td:last-child { white-space: nowrap; }
th:nth-child(2),
td:nth-child(2) { padding: 0 1rem; }
footer {
font-size: .8rem;