mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
adding the *.ico extension to the manifest in #25; fixing the hovering tugraz logo #31; fixing the centralisation of the menu when window is minimized #32;
adding the *.ico extension to the manifest in #25; fixing the hovering tugraz logo #31; fixing the centralisation of the menu when window is minimized #32;
This commit is contained in:
@@ -40,4 +40,5 @@ recursive-include invenio_theme_tugraz *.png
|
||||
recursive-include invenio_theme_tugraz *.scss
|
||||
recursive-include invenio_theme_tugraz *.svg
|
||||
recursive-include invenio_theme_tugraz *.less
|
||||
recursive-include invenio_theme_tugraz *.ico
|
||||
recursive-include tests *.py
|
||||
@@ -25,7 +25,17 @@
|
||||
padding: 0 50px 0 0;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
& a {
|
||||
fill: #e4154b;
|
||||
}
|
||||
}
|
||||
|
||||
.affiliation-logo :hover {
|
||||
text-decoration: none;
|
||||
fill: #000000;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.affiliation {
|
||||
background-color: white;
|
||||
display: table;
|
||||
@@ -221,10 +231,6 @@ svg:not(:root) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.affiliation-logo :hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.main-menu {
|
||||
border-bottom: 1px solid #000;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -2,20 +2,19 @@
|
||||
|
||||
{%- if not current_user.is_authenticated %}
|
||||
|
||||
<div class="main-menu-entry">
|
||||
|
||||
<a href="{{url_for_security('login', next=request.path)}}">Login
|
||||
<svg shape-rendering="optimizeQuality" class="int-menu-q-open-icon"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="5.2753mm"
|
||||
width="8.7548mm" version="1.1" xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 31.02118 18.692033">
|
||||
<g style="stroke-width:2.25" transform="translate(-164.49 -416.85)">
|
||||
<path style="stroke-linejoin:round;stroke:#E4154B;stroke-linecap:round;stroke-width:2.5;fill:none"
|
||||
d="m165.63 417.99 14.375 16.43 14.375-16.43"></path>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
<a href="{{url_for_security('login', next=request.path)}}">Login
|
||||
<svg shape-rendering="optimizeQuality" class="int-menu-q-open-icon"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="5.2753mm"
|
||||
width="8.7548mm" version="1.1" xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 31.02118 18.692033">
|
||||
<g style="stroke-width:2.25" transform="translate(-164.49 -416.85)">
|
||||
<path style="stroke-linejoin:round;stroke:#E4154B;stroke-linecap:round;stroke-width:2.5;fill:none"
|
||||
d="m165.63 417.99 14.375 16.43 14.375-16.43"></path>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
|
||||
{%- else %}
|
||||
{%- if config.USERPROFILES %}
|
||||
|
||||
@@ -60,14 +60,9 @@
|
||||
|
||||
<div class="main-menu-entry">
|
||||
<div class="right menu">
|
||||
<ul class="no-dots-list">
|
||||
<div class="item">
|
||||
{%- block navbar_right %}
|
||||
<li>{%- include config.THEME_HEADER_LOGIN_TEMPLATE %}</li>
|
||||
{%- endblock navbar_right %}
|
||||
</div>
|
||||
|
||||
</ul>
|
||||
{%- block navbar_right %}
|
||||
{%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
|
||||
{%- endblock navbar_right %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -148,11 +143,11 @@
|
||||
viewBox="0 0 141.10001 51.862499">
|
||||
<g transform="matrix(1.25 0 0 -1.25 0 51.862)">
|
||||
<g transform="scale(.1)">
|
||||
<path style="fill:#e4154b" d="m0 103.73h207.45v207.46l-207.45 0.01v-207.47z"></path>
|
||||
<path style="fill:#e4154b" d="m228.19 103.73h207.46v207.46h-207.46v-207.46z"></path>
|
||||
<path style="fill:#e4154b" d="m456.41 103.73h207.44v207.46h-207.44v-207.46z"></path>
|
||||
<path style="fill:#e4154b" d="m103.72 0h207.47v207.46h-207.47v-207.46z"></path>
|
||||
<path style="fill:#e4154b" d="m352.68 207.46h207.44v207.46h-207.44v-207.46z"></path>
|
||||
<path d="m0 103.73h207.45v207.46l-207.45 0.01v-207.47z"></path>
|
||||
<path d="m228.19 103.73h207.46v207.46h-207.46v-207.46z"></path>
|
||||
<path d="m456.41 103.73h207.44v207.46h-207.44v-207.46z"></path>
|
||||
<path d="m103.72 0h207.47v207.46h-207.47v-207.46z"></path>
|
||||
<path d="m352.68 207.46h207.44v207.46h-207.44v-207.46z"></path>
|
||||
<path style="fill:#231f20"
|
||||
d="m751.04 277.91h-66.426v33.195h171.19v-33.195h-66.407v-173.73h-38.359v173.73"></path>
|
||||
<path style="fill:#231f20"
|
||||
@@ -170,7 +165,7 @@
|
||||
<path style="fill:#231f20"
|
||||
d="m985.69 69.375h57.422v-14.414l-36.04-39.473h37.31v-13.633h-60.235v14.297l36.715 39.59h-35.172v13.633">
|
||||
</path>
|
||||
<path style="fill:#e4154b" d="m1059.6 0h69.102v69.121h-69.102v-69.121z"></path>
|
||||
<path d="m1059.6 0h69.102v69.121h-69.102v-69.121z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user