aboutsummaryrefslogtreecommitdiffstats
path: root/res/css/setup.css
diff options
context:
space:
mode:
authorRemi <6680627+riseremi@users.noreply.github.com>2025-04-07 19:58:46 +0500
committerGitHub <noreply@github.com>2025-04-07 17:58:46 +0300
commitf61717fcc48fe7039cab5e183da29653e445f691 (patch)
treeb1c03132d9e76554f898b82c02a5987e40388917 /res/css/setup.css
parentf874dcd3de368e7e512ab1c0defdd17bc3026ce5 (diff)
Ask to create admin user on fresh install (#62)
* Ask to create admin user on fresh install * Implement client form submitting * minimize diff, simplify impl * Check json typing and clean stuff --------- Co-authored-by: RblSb <msrblsb@gmail.com>
Diffstat (limited to 'res/css/setup.css')
-rw-r--r--res/css/setup.css49
1 files changed, 49 insertions, 0 deletions
diff --git a/res/css/setup.css b/res/css/setup.css
new file mode 100644
index 0000000..9755ad3
--- /dev/null
+++ b/res/css/setup.css
@@ -0,0 +1,49 @@
+body {
+ display: flex;
+ height: 100vh;
+ align-items: center;
+ justify-content: center;
+}
+
+.setup {
+ margin: auto;
+ padding: 2rem;
+ width: 320px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+
+ /* debug */
+ background-color: #1a1a1f;
+ border-radius: 0.375rem;
+
+ & h1 {
+ font-size: 1.75rem;
+ }
+}
+
+.setup-form {
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
+ width: 100%;
+
+ & button {
+ margin: 0;
+ padding: .75rem .5rem;
+ justify-content: center;
+ background-color: var(--accent);
+ color: #fff;
+
+ &:hover {
+ filter: brightness(1.15);
+ }
+ }
+}
+
+.form-errors {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+ color: var(--error);
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage