fix icon colors in commit list
this is not a great way to do this. But using currentColor for these means we are competing with this selector: ul.content-list li a
This commit is contained in:
parent
f1d1cea8b0
commit
5d3b6ed861
1 changed files with 14 additions and 28 deletions
|
@ -1,62 +1,48 @@
|
|||
.ci-status-icon-success,
|
||||
.ci-status-icon-passed {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $green-500;
|
||||
svg {
|
||||
fill: $green-500;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-icon-failed {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $gl-danger;
|
||||
svg {
|
||||
fill: $gl-danger;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-icon-pending,
|
||||
.ci-status-icon-failed_with_warnings,
|
||||
.ci-status-icon-success_with_warnings {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $orange-500;
|
||||
svg {
|
||||
fill: $orange-500;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-icon-running {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $blue-400;
|
||||
svg {
|
||||
fill: $blue-400;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-icon-canceled,
|
||||
.ci-status-icon-disabled,
|
||||
.ci-status-icon-not-found {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $gl-text-color;
|
||||
svg {
|
||||
fill: $gl-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-icon-created,
|
||||
.ci-status-icon-skipped {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $gray-darkest;
|
||||
svg {
|
||||
fill: $gray-darkest;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-icon-manual {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $gl-text-color;
|
||||
svg {
|
||||
fill: $gl-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue