Commit 5d3b6ed8 authored by Simon Knox's avatar Simon Knox

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
parent f1d1cea8
.ci-status-icon-success, .ci-status-icon-success,
.ci-status-icon-passed { .ci-status-icon-passed {
&, svg {
&:hover, fill: $green-500;
&:focus {
color: $green-500;
} }
} }
.ci-status-icon-failed { .ci-status-icon-failed {
&, svg {
&:hover, fill: $gl-danger;
&:focus {
color: $gl-danger;
} }
} }
.ci-status-icon-pending, .ci-status-icon-pending,
.ci-status-icon-failed_with_warnings, .ci-status-icon-failed_with_warnings,
.ci-status-icon-success_with_warnings { .ci-status-icon-success_with_warnings {
&, svg {
&:hover, fill: $orange-500;
&:focus {
color: $orange-500;
} }
} }
.ci-status-icon-running { .ci-status-icon-running {
&, svg {
&:hover, fill: $blue-400;
&:focus {
color: $blue-400;
} }
} }
.ci-status-icon-canceled, .ci-status-icon-canceled,
.ci-status-icon-disabled, .ci-status-icon-disabled,
.ci-status-icon-not-found { .ci-status-icon-not-found {
&, svg {
&:hover, fill: $gl-text-color;
&:focus {
color: $gl-text-color;
} }
} }
.ci-status-icon-created, .ci-status-icon-created,
.ci-status-icon-skipped { .ci-status-icon-skipped {
&, svg {
&:hover, fill: $gray-darkest;
&:focus {
color: $gray-darkest;
} }
} }
.ci-status-icon-manual { .ci-status-icon-manual {
&, svg {
&:hover, fill: $gl-text-color;
&:focus {
color: $gl-text-color;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment