Created
October 12, 2018 22:16
-
-
Save sompylasar/99b5d307da3168b833c1119fb95caf11 to your computer and use it in GitHub Desktop.
GitHub UX: Distinct referenced commits style. [BEFORE](https://user-images.githubusercontent.com/498274/46896325-533c9a00-ce31-11e8-948d-c9be7a479cf7.png) [BEFORE WITH EXPLANATION](https://user-images.githubusercontent.com/498274/46896331-58014e00-ce31-11e8-9571-b59762f33a9b.png) [AFTER](https://user-images.githubusercontent.com/498274/46896352-…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.discussion-item-header[id^=ref-] .discussion-item-icon { | |
background-color: #6db2ff; | |
color: #ffffff; | |
} | |
.discussion-item-header[id^=ref-]::before { | |
content: ''; | |
position: absolute; | |
display: block; | |
z-index: -1; | |
left: -25px; | |
top: -40px; | |
width: 2px; | |
height: 140px; | |
background-color: #ffffff; | |
} | |
.discussion-item-header[id^=ref-commit-] + .discussion-item-body .timeline-commits .commit .commit-icon { | |
color: #6db2ff; | |
} | |
.discussion-item-header { | |
position: relative; | |
} | |
.discussion-item-header[id^=ref-commit-]::after { | |
content: ''; | |
position: absolute; | |
display: block; | |
z-index: 0; | |
left: -25px; | |
top: 30px; | |
bottom: -20px; | |
width: 2px; | |
background-color: #6db2ff; | |
} | |
.discussion-item-header[id^=ref-commit-] + .discussion-item-body .timeline-commits { | |
position: relative; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment