forge
Clone
https://git.tahinli.com/Tahinli/forge.git
0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits
| 1 | // The lists pages: only what style/_min.scss does not already give them. |
| 2 | |
| 3 | // Issue, pull and discussion rows: the title, then its meta line under it. Nothing sits at the far end. |
| 4 | .line.issue-row { |
| 5 | align-items: flex-start; |
| 6 | min-height: 0; |
| 7 | padding: 10px 0; |
| 8 | background: none; |
| 9 | |
| 10 | &:hover { |
| 11 | background: none; |
| 12 | } |
| 13 | |
| 14 | .issue-main { |
| 15 | display: flex; |
| 16 | flex: 1 1 auto; |
| 17 | flex-direction: column; |
| 18 | gap: 4px; |
| 19 | min-width: 0; |
| 20 | } |
| 21 | |
| 22 | .issue-title-line, |
| 23 | .issue-meta { |
| 24 | display: flex; |
| 25 | flex-wrap: wrap; |
| 26 | align-items: center; |
| 27 | gap: 4px 8px; |
| 28 | } |
| 29 | |
| 30 | .issue-meta img { |
| 31 | vertical-align: middle; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | // Notifications: a row's mark-as-read sits under it, shown on hover or focus. Touch screens always show it. |
| 36 | .notif-rows > .notif-row { |
| 37 | display: block; |
| 38 | padding: 0; |
| 39 | border-bottom: 1px solid var(--border); |
| 40 | |
| 41 | &:last-child { |
| 42 | border-bottom: 0; |
| 43 | } |
| 44 | |
| 45 | > .line { |
| 46 | border-bottom: 0; |
| 47 | } |
| 48 | |
| 49 | > .acts { |
| 50 | padding: 0 0 8px 23px; |
| 51 | } |
| 52 | |
| 53 | &.unread > .line .name { |
| 54 | font-weight: 600; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | @media (hover: hover) { |
| 59 | .notif-rows > .notif-row:not(:hover):not(:focus-within) > .acts { |
| 60 | visibility: hidden; |
| 61 | } |
| 62 | } |