From e98d4294266bbea138554e7964ff122ee0d8ef90 Mon Sep 17 00:00:00 2001 From: Justine Arreche Date: Wed, 22 Oct 2014 13:55:49 +0200 Subject: [PATCH] fixed colors, position on build status --- assets/scripts/app/templates/builds/show.hbs | 1 - assets/styles/main/summary.sass | 26 +++++++++----------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/assets/scripts/app/templates/builds/show.hbs b/assets/scripts/app/templates/builds/show.hbs index 622a5996..e4d2eb00 100644 --- a/assets/scripts/app/templates/builds/show.hbs +++ b/assets/scripts/app/templates/builds/show.hbs @@ -4,7 +4,6 @@
- {{#link-to "build" repo build}}#{{build.number}} {{build.state}}{{/link-to}}
diff --git a/assets/styles/main/summary.sass b/assets/styles/main/summary.sass index 2a51c85b..fce18ddc 100644 --- a/assets/styles/main/summary.sass +++ b/assets/styles/main/summary.sass @@ -2,26 +2,23 @@ .green .build-status background: #549e54 inline-image('icons/state-passed-white.svg') no-repeat - background-size: 10px 10px - background-position: 5px 10px + background-size: 14px 14px + background-position: 12px 12px .yellow .build-status - background-color: #bcaf39 - background: inline-image('icons/state-pending-white.svg') no-repeat - background-size: 10px 10px - background-position: 5px 10px + background: #bcaf39 inline-image('icons/state-pending-white.svg') no-repeat + background-size: 14px 14px + background-position: 12px 12px .red .build-status - background-color: #b54223 - background: inline-image('icons/state-failed-white.svg') no-repeat - background-size: 10px 10px - background-position: 5px 10px + background: #b54223 inline-image('icons/state-failed-white.svg') no-repeat + background-size: 14px 14px + background-position: 12px 12px .gray .build-status - background-color: #a8a8a9 - background: inline-image('icons/state-errored-white.svg') no-repeat - background-size: 10px 10px - background-position: 5px 10px + background: #a8a8a9 inline-image('icons/state-errored-white.svg') no-repeat + background-size: 14px 14px + background-position: 12px 12px #new-summary @include clearfix @@ -74,6 +71,7 @@ a color: white + padding-left: 24px .runtime font-size: 13px