all the right colors!
This commit is contained in:
parent
9ba2e768f9
commit
b443f0440e
|
@ -1,9 +1,3 @@
|
||||||
@mixin colorTiles($color)
|
|
||||||
.tile-status
|
|
||||||
background-color: $color
|
|
||||||
.repo-header-title a,
|
|
||||||
.repo-build-status a
|
|
||||||
color: $color
|
|
||||||
|
|
||||||
.repo
|
.repo
|
||||||
font-size: $font-size-m
|
font-size: $font-size-m
|
||||||
|
@ -15,20 +9,6 @@
|
||||||
> *
|
> *
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
|
|
||||||
&.started,
|
|
||||||
&.created
|
|
||||||
@include colorTiles($start-color)
|
|
||||||
&.failed
|
|
||||||
@include colorTiles($fail-color)
|
|
||||||
&.errored
|
|
||||||
@include colorTiles($error-color)
|
|
||||||
&.canceled
|
|
||||||
@include colorTiles($cancel-color)
|
|
||||||
&.passed
|
|
||||||
@include colorTiles($pass-color)
|
|
||||||
&.inactive
|
|
||||||
@include colorTiles($cancel-color)
|
|
||||||
|
|
||||||
.repo-header-title
|
.repo-header-title
|
||||||
@extend %inline-block
|
@extend %inline-block
|
||||||
margin: 0
|
margin: 0
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
@mixin colorTiles($color)
|
||||||
|
.tile-status
|
||||||
|
background-color: $color
|
||||||
|
.repo-header-title a,
|
||||||
|
.repo-build-status a
|
||||||
|
color: $color
|
||||||
|
|
||||||
.tile
|
.tile
|
||||||
@extend border-radius-4px
|
@extend border-radius-4px
|
||||||
position: relative
|
position: relative
|
||||||
|
@ -7,6 +14,20 @@
|
||||||
margin: 0
|
margin: 0
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
|
&.started,
|
||||||
|
&.created
|
||||||
|
@include colorTiles($start-color)
|
||||||
|
&.failed
|
||||||
|
@include colorTiles($fail-color)
|
||||||
|
&.errored
|
||||||
|
@include colorTiles($error-color)
|
||||||
|
&.canceled
|
||||||
|
@include colorTiles($cancel-color)
|
||||||
|
&.passed
|
||||||
|
@include colorTiles($pass-color)
|
||||||
|
&.inactive
|
||||||
|
@include colorTiles($cancel-color)
|
||||||
|
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
height: 145px
|
height: 145px
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{#if loading}}
|
{{#if loading}}
|
||||||
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
|
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<section class="tile tile--pass row" {{!-- id="new-summary" --}}>
|
<section {{bind-attr class=":tile :tile--pass :row build.state"}} {{!-- id="new-summary" --}}>
|
||||||
<div class="tile-status">
|
<div class="tile-status">
|
||||||
<span {{bind-attr class=":icon :icon-status build.state"}}></span>
|
<span {{bind-attr class=":icon :icon-status build.state"}}></span>
|
||||||
<span {{bind-attr class=":request-kind build.eventType :icon"}}></span>
|
<span {{bind-attr class=":request-kind build.eventType :icon"}}></span>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{#if content.isLoaded}}
|
{{#if content.isLoaded}}
|
||||||
{{!-- <table id="builds" class="list"> --}}
|
{{!-- <table id="builds" class="list"> --}}
|
||||||
{{#each build in controller itemController="buildsItem"}}
|
{{#each build in controller itemController="buildsItem"}}
|
||||||
<div {{bind-attr class="build.color :tile :tile--small :tile--build :row"}}>
|
<div {{bind-attr class="build.state :tile :tile--small :tile--build :row"}}>
|
||||||
<div class="tile-status">
|
<div class="tile-status">
|
||||||
<span class="icon icon-status passed"></span>
|
<span class="icon icon-status passed"></span>
|
||||||
<span {{bind-attr class=":request-kind build.eventType :icon"}}></span>
|
<span {{bind-attr class=":request-kind build.eventType :icon"}}></span>
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
{{#if build.id}}
|
{{#if build.id}}
|
||||||
{{#link-to "build" build.repo build}}
|
{{#link-to "build" build.repo build}}
|
||||||
<span class="icon icon-hash"></span>
|
<span class="icon icon-hash"></span>
|
||||||
{{build.number}} {{build.status}}
|
{{build.number}} {{build.state}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user