From 008cc7218d0b47984cdd3f16b18a5c0eb4d30e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P=2E?= Date: Tue, 29 Oct 2024 08:11:27 +0100 Subject: [PATCH] Force light theme + CSS fix --- .gitignore | 3 +++ assets/styles/app.css | 8 ++++++-- templates/base.html.twig | 2 +- templates/data_entry.html.twig | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) mode change 100644 => 100755 assets/styles/app.css diff --git a/.gitignore b/.gitignore index 144897e..d9a6aca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ .ddev .vscode +# DB dumps +*sql* + ###> symfony/framework-bundle ### /.env.local /.env.local.php diff --git a/assets/styles/app.css b/assets/styles/app.css old mode 100644 new mode 100755 index 0b0d436..2e71726 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -2,13 +2,17 @@ @import url('../fonts/stylesheet.css'); @import url('../fontawesome-free-6.6.0-web/css/all.min.css'); +:root { + --arcoa-blue: rgba(66,135,199,0.98); +} + body { font-family: 'nunitolight'; } .arcoa-menu { - background-color: rgba(66,135,199,0.98); - max-height: 100vh; + background-color: var(--arcoa-blue); + min-height: 100vh; overflow-y: auto; } #vocabs a { diff --git a/templates/base.html.twig b/templates/base.html.twig index c397cb3..d5c0218 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -1,5 +1,5 @@ - + {% block title %}Welcome!{% endblock %} diff --git a/templates/data_entry.html.twig b/templates/data_entry.html.twig index acc14e6..b5688ee 100644 --- a/templates/data_entry.html.twig +++ b/templates/data_entry.html.twig @@ -213,4 +213,4 @@ {% block rightpanel %}{% endblock %} -{% endblock %} \ No newline at end of file +{% endblock %}