From a107d8e335e331d445f857e1be4a9108a7dd3c8b Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 22 Jul 2020 21:43:30 -0400 Subject: feat(web/panettone): Add support for comments Add a new-comment form and list all issue comments on the issue page Change-Id: Ia74083484614ba0ca0f2879276f717f709d0f42f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1351 Tested-by: BuildkiteCI Reviewed-by: eta --- web/panettone/src/css.lisp | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'web/panettone/src/css.lisp') diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp index f20ddf1dd4b0..3f8e33826ce7 100644 --- a/web/panettone/src/css.lisp +++ b/web/panettone/src/css.lisp @@ -57,7 +57,28 @@ :outline "none" (.issue-subject - :color ,color/primary))))) + :color ,color/primary))) + + (.comment-count + :color ,color/gray))) + +(defparameter comment-styles + `((.issue-comments + :border-top "1px" "solid" ,color/gray + :padding-top "1rem" + :padding-left "2rem" + + (.comment-info + :color ,color/gray + :margin 0 + :padding-top "1rem") + + (.comment + :padding-top "1rem" + :padding-bottom "1rem" + :border-bottom "1px" "solid" ,color/gray + + (p :margin 0))))) (defparameter form-styles `(((:or (:and input (:or (:= type "text") @@ -85,6 +106,7 @@ (defparameter styles `(,@form-styles ,@issue-list-styles + ,@comment-styles (body :font-family "sans-serif" -- cgit 1.4.1