From a24b3856d9b85de903ff29a7eb2e709fa78c7077 Mon Sep 17 00:00:00 2001 From: Martin Klepsch Date: Mon, 23 Apr 2018 17:02:03 +0200 Subject: [PATCH] add current claims header --- src/cljs/commiteth/manage_payouts.cljs | 5 ++++- src/less/tachyons-utils.css | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/cljs/commiteth/manage_payouts.cljs b/src/cljs/commiteth/manage_payouts.cljs index 4b23ace..a99df2d 100644 --- a/src/cljs/commiteth/manage_payouts.cljs +++ b/src/cljs/commiteth/manage_payouts.cljs @@ -182,7 +182,10 @@ [bounty-card bounty] [:div.mt3.f6 [bounty-balance bounty]]] [:div.pa3.bg-sob-tint.br3.br--bottom - (for [claim (:claims bounty)] + [:span.f6.gray (if (second claims) + (str "Current Claims (" (count claims) ")") + "Current Claim")] + (for [claim claims] ^{:key (:pr_id claim)} [claim-card bounty claim {:render-view-claim-button? true}])]])))) diff --git a/src/less/tachyons-utils.css b/src/less/tachyons-utils.css index 359caf7..c4c6758 100644 --- a/src/less/tachyons-utils.css +++ b/src/less/tachyons-utils.css @@ -34,6 +34,12 @@ .hover-sob-tint:hover, .hover-sob-tint:focus { color: #f7f9fa; } .hover-bg-sob-tint:hover, .hover-bg-sob-tint:focus { background-color: #f7f9fa; } +.gray { color: #8d99a4; } +.bg-gray { background-color: #8d99a4; } +.b--gray { border-color: #8d99a4; } +.hover-gray:hover, .hover-gray:focus { color: #8d99a4; } +.hover-bg-gray:hover, .hover-bg-gray:focus { background-color: #8d99a4; } + /* Tachyons overrides */ .tracked { letter-spacing: .0625em } /* tachyons default: .1em */