some hbs and style stuff

This commit is contained in:
Lisa Passing 2015-04-10 14:27:17 +02:00
parent 75ca986093
commit 3f8f20f9d0
3 changed files with 18 additions and 9 deletions

View File

@ -8,7 +8,7 @@
background-clip: padding-box background-clip: padding-box
border-radius 4px border-radius 4px
@mixin fadeOut($position, $angle, $color) @mixin fadeOut($position, $angle, $color, $width: 0%)
content: "" content: ""
display: block display: block
position: absolute position: absolute
@ -23,7 +23,7 @@
width: 2em width: 2em
height: 100% height: 100%
background: linear-gradient($angle, rgba($color, 1) 0%, rgba($color, 0) 100%) background: linear-gradient($angle, rgba($color, 1) $width, rgba($color, 0) 100%)
@mixin clearfix @mixin clearfix
&:before, &:before,

View File

@ -1,15 +1,19 @@
.requests .requests
@include resetul @include resetul
.requests-commit color: #969496
.requests-commit,
.requests-branch
position: relative position: relative
&:after &:after
content: "" content: ""
@include fadeOut(right, -90deg, $cream-light) @include fadeOut(right, -90deg, $cream-light, 20%)
.requests-time .requests-time
border-left: 1px solid $grey4 @media #{$medium-up}
padding-left: 1em padding-left: 2em
border-left: 1px solid $grey4
.tile--jobs .tile--jobs
padding-left: 2.5em padding-left: 2.5em

View File

@ -17,12 +17,17 @@
{{!-- time --}} {{!-- time --}}
<p class="jobs-item requests-time column medium-2">{{format-time created_at}}</p> <p class="jobs-item requests-time column medium-2">{{format-time created_at}}</p>
{{!-- request branch commit --}} {{!-- request branch commit --}}
<p class="jobs-item column medium-2"> <p class="jobs-item requests-branch column medium-2">
<span {{bind-attr class=":icon :icon--grey type"}}></span> <span {{bind-attr class=":icon :icon--grey type"}}></span>
{{#if isPullRequest}}
#{{pullRequestNumber}}
{{else}}
{{branchName}}
{{/if}}
{{github-commit-link repo.slug commit.sha}} {{github-commit-link repo.slug commit.sha}}
</p> </p>
{{!-- commit message --}} {{!-- commit message --}}
<p class="jobs-item requests-commit column medium-4">{{{format-message commit.message short="true" repoBinding=build.repo}}}</p> <p class="jobs-item requests-commit column medium-5">{{{format-message commit.message short="true" repoBinding=build.repo}}}</p>
{{!-- job id --}} {{!-- job id --}}
<p class="jobs-item column medium-1"> <p class="jobs-item column medium-1">
{{#if build}} {{#if build}}
@ -34,7 +39,7 @@
{{/if}} {{/if}}
</p> </p>
{{!-- comment --}} {{!-- comment --}}
<p class="jobs-item column medium-3">{{message}}</p> <p class="jobs-item column medium-2">{{message}}</p>
</div> </div>
{{/each}} {{/each}}