summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Luís <aluis@gitlab.com>2018-03-16 12:44:28 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2018-03-22 15:18:47 -0600
commit2ef38f7047cac0ddbbec00e1a1efd202f4116951 (patch)
treedab73d7905f10fde8fe68b1e00ceb7f69bff0af0
parentbb2cf65e90b19ad7cea73d01b491523b78a81dfb (diff)
downloadgitlab-ce-2ef38f7047cac0ddbbec00e1a1efd202f4116951.tar.gz
Make whole row of Job status activate tooltip and darker bg
-rw-r--r--app/assets/stylesheets/pages/builds.scss2
-rw-r--r--app/views/projects/jobs/_sidebar.html.haml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index 98d460339cd..7a6352e45f1 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -391,7 +391,7 @@
}
&:hover {
- background-color: $row-hover;
+ background-color: $dropdown-item-hover-bg;
}
.icon-retry {
diff --git a/app/views/projects/jobs/_sidebar.html.haml b/app/views/projects/jobs/_sidebar.html.haml
index 4b21794bb45..2322548218a 100644
--- a/app/views/projects/jobs/_sidebar.html.haml
+++ b/app/views/projects/jobs/_sidebar.html.haml
@@ -91,9 +91,9 @@
- HasStatus::ORDERED_STATUSES.each do |build_status|
- builds.select{|build| build.status == build_status}.each do |build|
.build-job{ class: sidebar_build_class(build, @build), data: { stage: build.stage } }
- = link_to project_job_path(@project, build) do
+ = link_to(project_job_path(@project, build), data: { toggle: 'tooltip', html: true, title: tooltip_for_badge(build, build.detailed_status(current_user)), container: 'body' }) do
= sprite_icon('arrow-right', size:16, css_class: 'icon-arrow-right')
- %span{ class: "ci-status-icon-#{build.status}", data: { toggle: 'tooltip', title: tooltip_for_badge(build, build.detailed_status(current_user)), html: true, container: 'body' } }
+ %span{ class: "ci-status-icon-#{build.status}" }
= ci_icon_for_status(build.status)
%span
- if build.name