update coloring and include check box w/ message

This commit is contained in:
Rob Culliton 2018-05-07 17:00:59 -04:00
parent cd2739b229
commit 773da8d074
No known key found for this signature in database
GPG Key ID: 6FDEF60B3DC84D94
4 changed files with 14 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

View File

@ -254,6 +254,11 @@
[:span.pt2.pointer
[:img.o-50.pl3.pt2 {:src image-src}]])
(defn check-box [image-src]
"generates the appropriate container for a blue arrow"
[:span.pr2
[:img.w1.v-mid.o-50 {:src image-src}]])
(defn three-dots []
[:div
[:div
@ -316,11 +321,10 @@
(into [:div]
(for [revoking-bounty @banner-info]
^{:key (:contract_address revoking-bounty)}
;; TODO change this to green
;; and make it a reusable banner component
[:div.relative.pa3.pr4.bg-sob-blue-o-20.br3.nt1
[:div.relative.pa3.pr4.bg-sob-green.br3.nt1
[:div
[:p [:span.pg-med "Transaction sent."] " Refund is pending until the transaction is completed. Check its status"
[:p.v-mid [check-box "ic-check-circle-black-24dp-2x.png"]
[:span.pg-med "Transaction sent."] " Refund is pending until the transaction is completed. Check its status"
[:a.sob-blue.pg-med {:href (etherscan-address-url (:contract_address revoking-bounty)) :target "_blank"} " here."]]]]))))))
(defn salute []

View File

@ -29,6 +29,12 @@
.hover-sob-sky:hover, .hover-sob-sky:focus { color: #f2f5f8; }
.hover-bg-sob-sky:hover, .hover-bg-sob-sky:focus { background-color: #f2f5f8; }
.sob-green { color: #d1ead8; }
.bg-sob-green { background-color: #d1ead8; }
.b--sob-green { border-color: #d1ead8; }
.hover-sob-green:hover, .hover-sob-green:focus { color: #d1ead8; }
.hover-bg-sob-green:hover, .hover-bg-sob-green:focus { background-color: #d1ead8; }
.sob-tint { color: #f7f9fa; }
.bg-sob-tint { background-color: #f7f9fa; }
.b--sob-tint { border-color: #f7f9fa; }