modification

added missing css
* autofocus to search input
* changed the name to Repository
This commit is contained in:
mb-wali
2020-07-24 12:02:31 +02:00
committed by GitHub
6 changed files with 15 additions and 6 deletions
@@ -10,7 +10,7 @@
width: 18px; width: 18px;
height: 18px; height: 18px;
vertical-align: top; vertical-align: top;
fill: red; fill: #e4154b;
} }
/*****logo section******/ /*****logo section******/
@@ -49,3 +49,11 @@ forcing the font changes
body { body {
font-family: "Source Sans Pro"; font-family: "Source Sans Pro";
} }
/***
search.button
**/
.ui.search.button{
background-color:#e4154b;
}
@@ -6,6 +6,7 @@
* under the terms of the MIT License; see LICENSE file for more details. * under the terms of the MIT License; see LICENSE file for more details.
*/ */
@import "variables";
@import "header"; @import "header";
@import "footer"; @import "footer";
@import "overrides"; @import "overrides";
+1 -1
View File
@@ -43,7 +43,7 @@ THEME_HEADER_LOGIN_TEMPLATE = 'invenio_theme_tugraz/accounts/header_login.html'
THEME_FOOTER_TEMPLATE = 'invenio_theme_tugraz/footer.html' THEME_FOOTER_TEMPLATE = 'invenio_theme_tugraz/footer.html'
"""footer template""" """footer template"""
THEME_FRONTPAGE_TITLE = _('Frontpage Title') THEME_FRONTPAGE_TITLE = _('TU Graz Repository')
"""Frontpage title.""" """Frontpage title."""
THEME_SITENAME = _('Repository') THEME_SITENAME = _('Repository')
@@ -46,13 +46,13 @@
</div> </div>
</div> </div>
<div class="short-menu-right"> <div class="short-menu-right">
{# <div class="short-menu-right-h"> onclick="toggleVisibility('heading');"> #}
{%- block navbar_right %} {%- block navbar_right %}
{%- include config.THEME_HEADER_LOGIN_TEMPLATE %} {%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
{%- endblock navbar_right %} {%- endblock navbar_right %}
</div> </div>
</div>
</div> </div>
<!----END MENU-------------------------------------------------------------> <!----END MENU------------------------------------------------------------->
@@ -62,7 +62,7 @@
<div class="affiliation-text"> <div class="affiliation-text">
<a title="RDM" href="{{url_for('invenio_theme_tugraz.index')}}"> <a title="RDM" href="{{url_for('invenio_theme_tugraz.index')}}">
TU Graz TU Graz
<br>{{_ ("Research Data Management")}} <br>{{_ ("Repository")}}
</a> </a>
</div> </div>
@@ -22,7 +22,7 @@
<div class="eight wide column"> <div class="eight wide column">
<form action="/search" class="ui form"> <form action="/search" class="ui form">
<div class="ui fluid big action input"> <div class="ui fluid big action input">
<input type="text" name="q" class="form-control" placeholder="{{ _("Type and press enter to search") }}"> <input type="text" name="q" autofocus="autofocus" class="form-control" placeholder="{{ _("Type and press enter to search") }}">
<button type="submit" class="ui icon search button"><i class="search icon"></i></button> <button type="submit" class="ui icon search button"><i class="search icon"></i></button>
</div> </div>
</form> </form>