get request links hover right

This commit is contained in:
Lisa Passing 2015-04-10 15:13:49 +02:00
parent 3f8f20f9d0
commit c116cc3bbe
2 changed files with 19 additions and 3 deletions

View File

@ -1,14 +1,30 @@
@mixin colorRequests($color-bg)
&:hover
background-color: $color-bg
.requests-commit,
.requests-branch
&:after
@include fadeOut(right, -90deg, $color-bg, 30%)
.requests
@include resetul
.accepted:hover
@include colorRequests(#e5efe4)
.rejected:hover
@include colorRequests(#fbebe6)
color: #969496
a:hover
text-decoration: underline
.requests-commit,
.requests-branch
position: relative
&:after
content: ""
@include fadeOut(right, -90deg, $cream-light, 20%)
@include fadeOut(right, -90deg, $cream-light, 30%)
.requests-time
@media #{$medium-up}

View File

@ -20,9 +20,9 @@
<p class="jobs-item requests-branch column medium-2">
<span {{bind-attr class=":icon :icon--grey type"}}></span>
{{#if isPullRequest}}
#{{pullRequestNumber}}
<strong>#{{pullRequestNumber}}</strong>
{{else}}
{{branchName}}
<strong>{{branchName}}</strong>
{{/if}}
{{github-commit-link repo.slug commit.sha}}
</p>