From ac3f2532caf7cbb4b1b775828559ff0dc2c18d8c Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Date: Thu, 18 Aug 2016 09:18:56 -0500 Subject: Add play icon SVG --- app/assets/stylesheets/pages/pipelines.scss | 15 +++++++++++---- app/helpers/ci_status_helper.rb | 2 +- app/views/shared/icons/_icon_play.svg | 1 + 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 app/views/shared/icons/_icon_play.svg diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index ce1c424624f..6fa097e3bf1 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -300,6 +300,17 @@ &.playable { background-color: $gray-light; + + svg { + height: 12px; + width: 12px; + position: relative; + top: 1px; + + path { + fill: $layout-link-gray; + } + } } .build-content { @@ -319,10 +330,6 @@ margin-right: 5px; } - .fa { - font-size: 13px; - } - // Connect first build in each stage with right horizontal line &:first-child { &::after { diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index 94df7d131ca..bb285a17baf 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -39,7 +39,7 @@ module CiStatusHelper when 'running' 'icon_status_running' when 'play' - return icon('play fw') + 'icon_play' when 'created' 'icon_status_pending' else diff --git a/app/views/shared/icons/_icon_play.svg b/app/views/shared/icons/_icon_play.svg new file mode 100644 index 00000000000..80a6d41dbf6 --- /dev/null +++ b/app/views/shared/icons/_icon_play.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.1