diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-12-25T21·28-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-25T22·44+0000 |
commit | f093aa5bce455510bf7e05185282ef4d78e9b251 (patch) | |
tree | 78fea5966a8aa162d0af7bcf16abbd5ef30815fb /users/grfn/bbbg/src | |
parent | b03a250fefa70e7622e8ff5825d74af87408cfab (diff) |
feat(grfn/bbbg): Add basic signup form styles r/3407
Change-Id: Ifd7a7f329b77a671642ed0940d2e9dce1f8d0d82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4623 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/bbbg/src')
-rw-r--r-- | users/grfn/bbbg/src/bbbg/handlers/signup_form.clj | 18 | ||||
-rw-r--r-- | users/grfn/bbbg/src/bbbg/styles.clj | 22 |
2 files changed, 31 insertions, 9 deletions
diff --git a/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj b/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj index 63218eb82a57..58538716ba08 100644 --- a/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj +++ b/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj @@ -25,15 +25,15 @@ :disabled "disabled"} [:input#event-id {:type "hidden" :name "event_id" :value (::event/id event)}] [:input#attendee-id {:type "hidden" :name "attendee_id"}] - [:label "Name" - [:input#name-autocomplete - {:type "search" - :name "name" - :spellcheck "false" - :autocorrect "off" - :autocomplete "off" - :autocapitalize "off" - :maxlength "2048"}]] + [:input#name-autocomplete + {:type "search" + :title "Name" + :name "name" + :spellcheck "false" + :autocorrect "off" + :autocomplete "off" + :autocapitalize "off" + :maxlength "2048"}] [:input {:type "submit" :value "Sign In" :disabled "disabled"}]]]) diff --git a/users/grfn/bbbg/src/bbbg/styles.clj b/users/grfn/bbbg/src/bbbg/styles.clj index fd341a62dd5b..61e1132b4068 100644 --- a/users/grfn/bbbg/src/bbbg/styles.clj +++ b/users/grfn/bbbg/src/bbbg/styles.clj @@ -211,6 +211,27 @@ [(& active) {:background-color (color/lighten blue 30)}]]]) +(defstyles signup-page + [:.signup-page + {:margin "1rem"} + (not-mobile + {:width content-width + :margin "1rem auto"})] + + [:#signup-form + {:display :flex + :flex-direction :row + :width "100%"} + + [:* + {:flex 1}] + + [:*+* + {:margin-left "1rem"}] + + [(attr= "type" "submit") + {:flex 0}]]) + (defstyles styles forms tables @@ -219,6 +240,7 @@ search-form flash home-page + signup-page [:body {:color black}] |