summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-01-30 12:18:52 -0600
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-01-30 12:18:52 -0600
commitd8b8168623ae780b72723546524cce0aae979556 (patch)
treeb3ee65fa3e41eb14c5f4446ff287ef3b4c5c70ba
parent863efcc60437ccec67be6bd68af9ff3678141b89 (diff)
downloadgitlab-ce-d8b8168623ae780b72723546524cce0aae979556.tar.gz
Remove underline style for icon hover
-rw-r--r--app/assets/stylesheets/framework/icons.scss6
-rw-r--r--app/views/projects/merge_requests/widget/_heading.html.haml2
2 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/icons.scss b/app/assets/stylesheets/framework/icons.scss
index dccf5177e35..33de9022da7 100644
--- a/app/assets/stylesheets/framework/icons.scss
+++ b/app/assets/stylesheets/framework/icons.scss
@@ -57,3 +57,9 @@
fill: $gl-text-color;
}
}
+
+.icon-link {
+ &:hover {
+ text-decoration: none;
+ }
+}
diff --git a/app/views/projects/merge_requests/widget/_heading.html.haml b/app/views/projects/merge_requests/widget/_heading.html.haml
index cc939ab9441..ecd626872a5 100644
--- a/app/views/projects/merge_requests/widget/_heading.html.haml
+++ b/app/views/projects/merge_requests/widget/_heading.html.haml
@@ -2,7 +2,7 @@
.mr-widget-heading
- %w[success success_with_warnings skipped canceled failed running pending].each do |status|
.ci_widget{ class: "ci-#{status} ci-status-icon-#{status}", style: ("display:none" unless @pipeline.status == status) }
- = link_to namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id) do
+ = link_to namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'icon-link' do
= ci_icon_for_status(status)
%span
Pipeline