From ac534cf690b23dfcb08a48cf6e4bf13ff37a6c83 Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 17 Apr 2023 19:34:22 +0200 Subject: [PATCH] make 'Steuern' gray if already enough cox enrolled --- README.md | 1 + frontend/scss/components/_btns.scss | 4 ++++ templates/index.html.tera | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 393b0d1..4514caa 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ - [] delete flag user administration - [] max_people = 0 -> Rot hervorheben, dass Ausfahrt abgesagt wurde? - [] my trips for cox +- [ ] ~/frontend/scss/components/_btns.scss -> line 13 -> use proper scss variables # Nice to have - [] automatically add regular planned trip diff --git a/frontend/scss/components/_btns.scss b/frontend/scss/components/_btns.scss index 8541077..0fd7705 100644 --- a/frontend/scss/components/_btns.scss +++ b/frontend/scss/components/_btns.scss @@ -9,6 +9,10 @@ @apply bg-primary-900 hover:bg-primary-950 focus-visible:outline-primary-950; } + &-gray { + background-color: gray; + } + &-attention { @apply bg-[#f43f5e] hover:bg-[#ff0000] focus-visible:outline-[#ff0000]; } diff --git a/templates/index.html.tera b/templates/index.html.tera index 7a484f2..05dbdf7 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -92,7 +92,7 @@ Abmelden {% else %} - + {% include "includes/cox-icon" %} Steuern