From 3e033637b449c23388ea793c05a61e1fe501767a Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 23 Jul 2020 20:53:36 -0400 Subject: feat(web/panettone): Add a Log Out link to the footer Generalize the rendering of the footer nav, and add a Log Out button to the right. Change-Id: I107e2370fd8f12949218ecacb611649a48abd738 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1413 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/panettone/src/css.lisp | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'web/panettone/src/css.lisp') diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp index f256e8e8f6ce..2357e0ccef8c 100644 --- a/web/panettone/src/css.lisp +++ b/web/panettone/src/css.lisp @@ -103,7 +103,18 @@ :border "none" :cursor "pointer") - ,@(button '(:and input (:= type "submit"))))) + ,@(button '(:and input (:= type "submit"))) + + (.form-link + ((:and input (:= type "submit")) + :background-color "initial" + :color "inherit" + :padding 0 + :text-decoration "underline") + + ((:and input (:= type "submit") + (:or :hover :active :focus)) + :box-shadow 0 0 0 0)))) (defparameter issue-styles `((.issue-info @@ -145,13 +156,14 @@ :font-size "1.5rem")) (nav - :display :flex - :color ,color/gray) + :display "flex" + :color ,color/gray + :justify-content "space-between") (footer :border-top "1px" "solid" ,color/gray :padding-top "1rem" - :margin-top "2rem" + :margin-top "1rem" :color ,color/gray) ,@(button '.new-issue) -- cgit 1.4.1