Made home icon for navbar more customised

This commit is contained in:
2025-05-13 13:20:59 +01:00
parent 2dad05ffb7
commit dbb9a62b97
3 changed files with 5 additions and 10 deletions

View File

@@ -9,6 +9,9 @@
width: 18px;
height: 18px;
vertical-align: top;
}
#home-polyline {
fill: @iformDarkGreen;
}

View File

@@ -32,16 +32,7 @@
<div class="two wide column main-menu-entry">
<a href="{{url_for('invenio_theme_iform.index')}}" title="Home" class="no-decoration">
<span class="home-inline">
<svg shape-rendering="geometricPrecision" id="int-menu-q-home-icon"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg"
version="1.1" xml:space="preserve" height="36.997" width="35.969"
enable-background="new 0 0 595.28 841.89" y="0px" x="0px" xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 35.969 36.997451">
<polyline style="stroke:#E4154B;stroke-linecap:square;stroke-width:4;fill:none"
points="282.72 437.28 282.72 414.77 297.71 406.69 312.69 414.77 312.69 437.28"
transform="translate(-279.72 -403.28)">
</polyline>
</svg>
{%- include "invenio_theme_iform/home_icon.svg" %}
{{ _("Home") }}
</span>
</a>

View File

@@ -0,0 +1 @@
<svg id="int-menu-q-home-icon" width="35.969" height="36.997" enable-background="new 0 0 595.28 841.89" shape-rendering="geometricPrecision" version="1.1" viewBox="0 0 35.969 36.997" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><polyline id="home-polyline" transform="translate(-279.72 -403.28)" points="282.72 437.28 282.72 414.77 297.71 406.69 312.69 414.77 312.69 437.28" style="fill:none;stroke-linecap:square;stroke-width:4;stroke:#069f4b"></polyline></svg>

After

Width:  |  Height:  |  Size: 474 B