Skip to content
Snippets Groups Projects
Commit 1d6f3786 authored by Simon Knox's avatar Simon Knox
Browse files

override a:focus styles. fix Commit page pipeline icon

parent f19a5e6d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -9,6 +9,7 @@
.text-plain:hover {
color: $gl-text-color;
}
.text-secondary {
color: $gl-text-color-secondary;
}
Loading
Loading
.ci-status-icon-success,
.ci-status-icon-passed {
&,
&:hover {
&:hover,
&:focus {
color: $green-500;
}
}
 
.ci-status-icon-failed {
&,
&:hover {
&:hover,
&:focus {
color: $gl-danger;
}
}
Loading
Loading
@@ -17,14 +19,16 @@
.ci-status-icon-failed_with_warnings,
.ci-status-icon-success_with_warnings {
&,
&:hover {
&:hover,
&:focus {
color: $orange-500;
}
}
 
.ci-status-icon-running {
&,
&:hover {
&:hover,
&:focus {
color: $blue-400;
}
}
Loading
Loading
@@ -33,7 +37,8 @@
.ci-status-icon-disabled,
.ci-status-icon-not-found {
&,
&:hover {
&:hover,
&:focus {
color: $gl-text-color;
}
}
Loading
Loading
@@ -41,14 +46,16 @@
.ci-status-icon-created,
.ci-status-icon-skipped {
&,
&:hover {
&:hover,
&:focus {
color: $gray-darkest;
}
}
 
.ci-status-icon-manual {
&,
&:hover {
&:hover,
&:focus {
color: $gl-text-color;
}
}
Loading
Loading
Loading
Loading
@@ -67,8 +67,8 @@
- if @commit.last_pipeline
- last_pipeline = @commit.last_pipeline
.well-segment.pipeline-info
.status-icon-container{ class: "ci-status-icon-#{last_pipeline.status}" }
= link_to project_pipeline_path(@project, last_pipeline.id) do
.status-icon-container
= link_to project_pipeline_path(@project, last_pipeline.id), class: "ci-status-icon-#{last_pipeline.status}" do
= ci_icon_for_status(last_pipeline.status)
#{ _('Pipeline') }
= link_to "##{last_pipeline.id}", project_pipeline_path(@project, last_pipeline.id)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment