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:
Nikita Lvov
2020-07-01 09:45:11 +02:00
parent 7fee8a2730
commit dbe21070b6
4 changed files with 33 additions and 32 deletions

View File

@@ -40,4 +40,5 @@ recursive-include invenio_theme_tugraz *.png
recursive-include invenio_theme_tugraz *.scss recursive-include invenio_theme_tugraz *.scss
recursive-include invenio_theme_tugraz *.svg recursive-include invenio_theme_tugraz *.svg
recursive-include invenio_theme_tugraz *.less recursive-include invenio_theme_tugraz *.less
recursive-include invenio_theme_tugraz *.ico
recursive-include tests *.py recursive-include tests *.py

View File

@@ -25,7 +25,17 @@
padding: 0 50px 0 0; padding: 0 50px 0 0;
vertical-align: middle; vertical-align: middle;
white-space: nowrap; white-space: nowrap;
& a {
fill: #e4154b;
}
} }
.affiliation-logo :hover {
text-decoration: none;
fill: #000000;
color: #000000;
}
.affiliation { .affiliation {
background-color: white; background-color: white;
display: table; display: table;
@@ -221,10 +231,6 @@ svg:not(:root) {
text-decoration: none; text-decoration: none;
} }
.affiliation-logo :hover {
text-decoration: none;
}
.main-menu { .main-menu {
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
box-sizing: border-box; box-sizing: border-box;

View File

@@ -2,9 +2,8 @@
{%- if not current_user.is_authenticated %} {%- if not current_user.is_authenticated %}
<div class="main-menu-entry">
<a href="{{url_for_security('login', next=request.path)}}">Login <a href="{{url_for_security('login', next=request.path)}}">Login
<svg shape-rendering="optimizeQuality" class="int-menu-q-open-icon" <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" 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#" width="8.7548mm" version="1.1" xmlns:cc="http://creativecommons.org/ns#"
@@ -14,8 +13,8 @@
d="m165.63 417.99 14.375 16.43 14.375-16.43"></path> d="m165.63 417.99 14.375 16.43 14.375-16.43"></path>
</g> </g>
</svg> </svg>
</a> </a>
</div>
{%- else %} {%- else %}
{%- if config.USERPROFILES %} {%- if config.USERPROFILES %}

View File

@@ -60,15 +60,10 @@
<div class="main-menu-entry"> <div class="main-menu-entry">
<div class="right menu"> <div class="right menu">
<ul class="no-dots-list">
<div class="item">
{%- block navbar_right %} {%- block navbar_right %}
<li>{%- include config.THEME_HEADER_LOGIN_TEMPLATE %}</li> {%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
{%- endblock navbar_right %} {%- endblock navbar_right %}
</div> </div>
</ul>
</div>
</div> </div>
@@ -148,11 +143,11 @@
viewBox="0 0 141.10001 51.862499"> viewBox="0 0 141.10001 51.862499">
<g transform="matrix(1.25 0 0 -1.25 0 51.862)"> <g transform="matrix(1.25 0 0 -1.25 0 51.862)">
<g transform="scale(.1)"> <g transform="scale(.1)">
<path style="fill:#e4154b" d="m0 103.73h207.45v207.46l-207.45 0.01v-207.47z"></path> <path 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 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 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 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="m352.68 207.46h207.44v207.46h-207.44v-207.46z"></path>
<path style="fill:#231f20" <path style="fill:#231f20"
d="m751.04 277.91h-66.426v33.195h171.19v-33.195h-66.407v-173.73h-38.359v173.73"></path> d="m751.04 277.91h-66.426v33.195h171.19v-33.195h-66.407v-173.73h-38.359v173.73"></path>
<path style="fill:#231f20" <path style="fill:#231f20"
@@ -170,7 +165,7 @@
<path style="fill:#231f20" <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"> 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>
<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>
</g> </g>
</svg> </svg>