From 71cee2d20c8f415246b0f3937ab0bbc4f8ea2959 Mon Sep 17 00:00:00 2001 From: Lennart K <18233294+lennart-k@users.noreply.github.com> Date: Fri, 4 Jul 2025 21:12:28 +0200 Subject: [PATCH] frontend: Add some iconography --- crates/frontend/public/assets/style.css | 12 ++++++++++++ crates/frontend/public/templates/icons/calendar.svg | 8 ++++++++ crates/frontend/public/templates/icons/group.svg | 8 ++++++++ crates/frontend/public/templates/icons/user.svg | 6 ++++++ crates/frontend/public/templates/pages/user.html | 6 +++--- 5 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 crates/frontend/public/templates/icons/calendar.svg create mode 100644 crates/frontend/public/templates/icons/group.svg create mode 100644 crates/frontend/public/templates/icons/user.svg diff --git a/crates/frontend/public/assets/style.css b/crates/frontend/public/assets/style.css index 95ee5dc..69f988f 100644 --- a/crates/frontend/public/assets/style.css +++ b/crates/frontend/public/assets/style.css @@ -93,6 +93,12 @@ header { &.active { background: color-mix(in srgb, var(--background-darker), var(--dilute-color) 15%); } + + svg.icon { + width: 1.3em; + vertical-align: bottom; + margin-right: 6px; + } } } @@ -308,3 +314,9 @@ input[type="password"] { color: var(--text-on-background-color); margin: 2px; } + +svg.icon { + stroke-width: 2px; + color: var(--text-on-background-color); + stroke: var(--text-on-background-color); +} diff --git a/crates/frontend/public/templates/icons/calendar.svg b/crates/frontend/public/templates/icons/calendar.svg new file mode 100644 index 0000000..85723fa --- /dev/null +++ b/crates/frontend/public/templates/icons/calendar.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crates/frontend/public/templates/icons/group.svg b/crates/frontend/public/templates/icons/group.svg new file mode 100644 index 0000000..4798833 --- /dev/null +++ b/crates/frontend/public/templates/icons/group.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crates/frontend/public/templates/icons/user.svg b/crates/frontend/public/templates/icons/user.svg new file mode 100644 index 0000000..ceff411 --- /dev/null +++ b/crates/frontend/public/templates/icons/user.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crates/frontend/public/templates/pages/user.html b/crates/frontend/public/templates/pages/user.html index 926e571..8b9ea6c 100644 --- a/crates/frontend/public/templates/pages/user.html +++ b/crates/frontend/public/templates/pages/user.html @@ -7,9 +7,9 @@ {% endblock %} {% block header_center %} {% endblock %}