diff --git a/README.rst b/README.rst index b7b49ab..5cb1fb4 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,11 @@ TU Graz standard theme. Features: -* TU Graz header templates. +* TU Graz custom header template. +* TU Graz custom footer template. +* TU Graz custom login template. +* TU Graz custom sign up template. +* TU Grau custom frontpage template. * TU Graz overriden theme. Further documentation is available on diff --git a/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/overrides.scss b/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/overrides.scss index 4918aee..49e2f68 100644 --- a/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/overrides.scss +++ b/invenio_theme_tugraz/assets/scss/invenio_tugraz_theme/overrides.scss @@ -10,14 +10,6 @@ * from #0377cd * to #E4154B */ -.section-content-white-bg a:hover, -.section-content-white-bg a:focus, -.section-content-light-bg a:hover, -.section-content-light-bg a:focus, -.hp-blog-section a:hover, -.hp-blog-section a:focus { - color: #E4154B; -} /* * Logos background frontpage. diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less index bdf5b8a..03de8e7 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less @@ -279,9 +279,3 @@ svg:not(:root) { cursor: pointer; } -/**** hyperlink hover color ****/ -a:focus, -a:hover { - color: #e4154b; - text-decoration: underline; -} diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less index f7826a5..ee9166f 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less @@ -6,19 +6,6 @@ * under the terms of the MIT License; see LICENSE file for more details. */ -/* On hover color changed -* from #0377cd -* to #E4154B -*/ -.section-content-white-bg a:hover, -.section-content-white-bg a:focus, -.section-content-light-bg a:hover, -.section-content-light-bg a:focus, -.hp-blog-section a:hover, -.hp-blog-section a:focus { - color: #e4154b; -} - /* * Logos background frontpage. * from rgba(173, 206, 224, 0.52) diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html index 659a929..00ae6d9 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html @@ -18,16 +18,22 @@

{{ _('Log in to account') }}

{%- endblock form_header %} - {%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %} -
- - - {% trans type='TU Graz' %} Log in with {{ type }}{% endtrans %} - -
-

— OR —

- {%- endif %} +
+
+ + {% trans type='TUG' %} Log in with {{ type }}{% endtrans %} + +
+ +
+ +
+ Or +
+ {%- endif %} {%- block form_outer %} {%- with form = login_user_form %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage.html index 6dbb5c1..e94fed7 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage.html @@ -17,104 +17,9 @@ {%- block page_body %} {%- block first_section%} + {%- endblock first_section%} - - {%- block second_section%} -
- Brought to you by -
-
-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-
-
-
+ {%- endblock second_section%} {%- endblock page_body%} \ No newline at end of file