about summary refs log tree commit diff
path: root/users/grfn/bbbg/src/bbbg/styles.clj
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-12-26T15·15-0500
committerclbot <clbot@tvl.fyi>2021-12-26T16·04+0000
commit800eba4ccab5050784abecbd41e2ac3c798154a1 (patch)
tree10c7bcb213e5087e631374f8258d8103f627373a /users/grfn/bbbg/src/bbbg/styles.clj
parentf7d6ad1cea5b5604197924f2122428e02db8f629 (diff)
feat(grfn/bbbg): Add checks edit form styling r/3416
Change-Id: I2b965412434002c2739dfeaa733dab408916dba1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4634
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to '')
-rw-r--r--users/grfn/bbbg/src/bbbg/styles.clj33
1 files changed, 29 insertions, 4 deletions
diff --git a/users/grfn/bbbg/src/bbbg/styles.clj b/users/grfn/bbbg/src/bbbg/styles.clj
index 09f5eb31113a..1c495faa285e 100644
--- a/users/grfn/bbbg/src/bbbg/styles.clj
+++ b/users/grfn/bbbg/src/bbbg/styles.clj
@@ -99,8 +99,7 @@
   [:.search-form
    {:display :flex
     :flex-direction :row
-    :width "100%"
-    :padding "0 1rem"}
+    :width "100%"}
 
    [:>*+*
     {:margin-left "0.75rem"}]
@@ -163,7 +162,24 @@
      :color :white
      :box-shadow :none}
     [(& :a)
-     {:text-decoration :none}]]])
+     {:text-decoration :none}]]]
+
+  [:label
+   {:font-weight 600
+    :width "100%"}
+
+   [:input
+    {:font-weight "initial"
+     :margin-top "0.3rem"}]]
+
+  [:.form-group
+   {:display :flex
+    :margin-bottom "0.8rem"
+    :flex-direction :column}
+
+   [(attr= "type" "submit")
+    {:text-align :right
+     :align-self :flex-end}]])
 
 (defstyles tables
   [:table
@@ -261,6 +277,12 @@
   [:.hidden
    {:display :none}])
 
+(defstyles attendees
+  [:.attendee-checks-form
+   {:max-width "340px"
+    :margin-left "auto"
+    :margin-right "auto"}])
+
 (defstyles styles
   forms
   tables
@@ -270,6 +292,7 @@
   flash
   home-page
   signup-page
+  attendees
 
   [:body
    {:color black}]
@@ -281,7 +304,9 @@
     :width "100%"}]
 
   [:.page
-   {:margin-top "1rem"}
+   {:margin-top "1rem"
+    :margin-left "1rem"
+    :margin-right "1rem"}
 
    (not-mobile
     {:width content-width