about summary refs log tree commit diff
path: root/web/panettone/src/css.lisp
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-04-03T18·27-0400
committerglittershark <grfn@gws.fyi>2021-04-04T14·17+0000
commit3ec15ec9f9b4f010f32630cc3cef19120c90ed28 (patch)
tree042e2d533d0c7d45f5ecdb001128d5b64b52f06c /web/panettone/src/css.lisp
parent8d3ab61e7c136610ae1dc002226559e8c6b21fcb (diff)
feat(panettone): Add a settings page r/2428
Add a user settings page, with a single checkbox that allows disabling
receiving all email notifications.

Change-Id: Ibef2a497cd59f93b695ff8b9cd36047e514e00c2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2806
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web/panettone/src/css.lisp')
-rw-r--r--web/panettone/src/css.lisp15
1 files changed, 13 insertions, 2 deletions
diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp
index d280e11981d9..0919cc62f602 100644
--- a/web/panettone/src/css.lisp
+++ b/web/panettone/src/css.lisp
@@ -138,7 +138,13 @@
 
      ((:and input (:= type "submit")
             (:or :hover :active :focus))
-      :box-shadow 0 0 0 0))))
+      :box-shadow 0 0 0 0))
+
+    (.form-group
+     :margin-top "1rem")
+
+    (label.checkbox
+     :cursor "pointer")))
 
 (defparameter issue-styles
   `((.issue-info
@@ -193,7 +199,12 @@
     (nav
      :display "flex"
      :color ,color/gray
-     :justify-content "space-between")
+     :justify-content "space-between"
+
+     (.nav-group
+      :display "flex"
+      (>*
+       :margin-left "0.5rem")))
 
     (footer
      :border-top "1px" "solid" ,color/gray