Add global style for running icon

This commit is contained in:
Annabel Dunstone 2016-07-15 11:05:06 -05:00
parent 068f2f4f16
commit 5b5cafe024
5 changed files with 25 additions and 27 deletions

View File

@ -196,16 +196,6 @@
.merge-request-title {
margin-bottom: 2px;
.ci-status-link {
svg {
height: 13px;
width: 13px;
position: relative;
top: 2px;
}
}
}
}

View File

@ -49,6 +49,14 @@
.commit-link {
.ci-running {
svg {
top: 1px;
margin-right: 0;
}
}
a:hover {
text-decoration: none;
}
@ -123,7 +131,7 @@
right: 1px;
}
}
.stage-cell {
svg {

View File

@ -536,13 +536,6 @@ pre.light-well {
.ci-status {
margin-right: $gl-padding;
&.ci-running {
svg {
margin-right: 3px;
}
}
}
.commit-row-message {

View File

@ -41,14 +41,6 @@
color: $blue-normal;
border-color: $blue-normal;
}
svg {
width: 13px;
height: 13px;
position: relative;
top: 1px;
margin-left: 3px;
}
}
.ci-status-icon-success {
@ -70,3 +62,18 @@
color: $gl-gray;
}
}
.ci-running,
.ci-status-icon-running {
svg {
height: 13px;
width: 13px;
position: relative;
top: 2px;
margin: 0 3px;
}
&:hover {
text-decoration: none;
}
}

View File

@ -35,7 +35,7 @@
- stages_status = pipeline.statuses.latest.stages_status
- stages.each do |stage|
%td.stage-cell
%td
- status = stages_status[stage]
- tooltip = "#{stage.titleize}: #{status || 'not found'}"
- if status