Bug#810324: Hint chevrons are actionable
control: tags -1 patch
Here is a patch for indicating chevrons are actionable, using a pointing
hand cursor and coloring chevrons in blue.
Cheers,
Christophe
>From 9e66996255322ff12abef1d30fd404e5c4731c32 Mon Sep 17 00:00:00 2001
From: Christophe Siraut <tobald@debian.org>
Date: Thu, 28 Jan 2016 16:24:36 +0100
Subject: [PATCH] css: hint chevrons are actionable (closes #810324)
---
distro_tracker/core/static/css/style.css | 7 +++++++
distro_tracker/core/templates/core/panels/action-needed.html | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/distro_tracker/core/static/css/style.css b/distro_tracker/core/static/css/style.css
index 7087910..7405a77 100644
--- a/distro_tracker/core/static/css/style.css
+++ b/distro_tracker/core/static/css/style.css
@@ -289,3 +289,10 @@ ul.inline > li {
label {
cursor: pointer;
}
+
+.chevron {
+ padding-left: 5px;
+ padding-right: 5px;
+ cursor: pointer;
+ color: #0275D8;
+}
diff --git a/distro_tracker/core/templates/core/panels/action-needed.html b/distro_tracker/core/templates/core/panels/action-needed.html
index 6bdb100..427d648 100644
--- a/distro_tracker/core/templates/core/panels/action-needed.html
+++ b/distro_tracker/core/templates/core/panels/action-needed.html
@@ -9,7 +9,7 @@
<span data-toggle="collapse"
data-parent="#action-needed-list"
data-target="#action-needed-details-{{ forloop.counter }}"
- style="padding-left: 5px; padding-right: 5px;"
+ class="chevron"
title="Click to toggle more details">
<span class="octicon octicon-chevron-down"></span>
</span>
--
2.7.0.rc3
Reply to: