indicate if repo is starred or not

use real link to settings, give footer some spacing
This commit is contained in:
Lisa P 2016-03-09 12:53:11 +01:00 committed by lislis
parent 9bbf3ae671
commit 5a4f6e7c21
3 changed files with 9 additions and 8 deletions

View File

@ -2,6 +2,9 @@
.row
max-width: 1024px
.footer
margin-top: 5rem
.main
margin: auto
max-width: 1024px
@ -49,10 +52,6 @@
margin-bottom: -99999px
padding-bottom: 100034px
.footer
margin-top: 5rem
@media #{$large-up}
#left, .wrapper-main
@ -115,3 +114,4 @@
footer.hidden
display: block
margin-top: 5rem

View File

@ -219,6 +219,8 @@
@extend %icon
width: 18px
height: 18px
fill: none
stroke: $cement-grey
%icon-line-passed
background-image: inline-image('stroke-icons/icon-passed.svg')

View File

@ -1,6 +1,6 @@
<div class="dash-head">
<a href="#" class="dash-star is-starred" title="(un-) star this repo"><span class="icon-star">
<svg version="1.1" id="icon-star" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 15 15" style="enable-background:new 0 0 15 15;" xml:space="preserve" alt="star repository">
<div class="dash-head">
<a href="#" class="dash-star {{if repo.starred 'is-starred'}}" title="{{if repo.starred 'un'}}star this repo"><span class="icon-star">
<svg version="1.1" id="icon-star" x="0px" y="0px" viewBox="0 0 15 15" xml:space="preserve" alt="star repository">
<path id="star" d="M7.159,1.035c0.188-0.38,0.495-0.38,0.683,0l1.596,3.234c0.188,0.38,0.685,0.741,1.105,0.802
l3.569,0.519c0.42,0.061,0.515,0.353,0.211,0.649l-2.583,2.517c-0.304,0.296-0.494,0.88-0.422,1.298l0.61,3.555
c0.072,0.418-0.177,0.599-0.552,0.401l-3.192-1.678c-0.375-0.197-0.99-0.197-1.365,0l-3.192,1.678
@ -61,7 +61,6 @@
</p>
</div>
</section>
{{#if displayMenuTofu}}
<div class="dash-menu">
<div class="dropup {{if dropupIsOpen "is-open"}}">