From dbb9a62b97657a12ac90826cca6029c10dcd872f Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Tue, 13 May 2025 13:20:59 +0100 Subject: [PATCH] Made home icon for navbar more customised --- .../semantic-ui/less/invenio_theme_iform/header.less | 3 +++ .../templates/invenio_theme_iform/header.html | 11 +---------- .../templates/invenio_theme_iform/home_icon.svg | 1 + 3 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 invenio_theme_iform/templates/invenio_theme_iform/home_icon.svg diff --git a/invenio_theme_iform/assets/semantic-ui/less/invenio_theme_iform/header.less b/invenio_theme_iform/assets/semantic-ui/less/invenio_theme_iform/header.less index cea2aae..53d337b 100644 --- a/invenio_theme_iform/assets/semantic-ui/less/invenio_theme_iform/header.less +++ b/invenio_theme_iform/assets/semantic-ui/less/invenio_theme_iform/header.less @@ -9,6 +9,9 @@ width: 18px; height: 18px; vertical-align: top; +} + +#home-polyline { fill: @iformDarkGreen; } diff --git a/invenio_theme_iform/templates/invenio_theme_iform/header.html b/invenio_theme_iform/templates/invenio_theme_iform/header.html index 8a49505..c76bdc6 100644 --- a/invenio_theme_iform/templates/invenio_theme_iform/header.html +++ b/invenio_theme_iform/templates/invenio_theme_iform/header.html @@ -32,16 +32,7 @@
- - - - + {%- include "invenio_theme_iform/home_icon.svg" %} {{ _("Home") }} diff --git a/invenio_theme_iform/templates/invenio_theme_iform/home_icon.svg b/invenio_theme_iform/templates/invenio_theme_iform/home_icon.svg new file mode 100644 index 0000000..789de64 --- /dev/null +++ b/invenio_theme_iform/templates/invenio_theme_iform/home_icon.svg @@ -0,0 +1 @@ +