From 63a9752093a85f1bc952ca1f61e56f6a9a42dea2 Mon Sep 17 00:00:00 2001 From: mb Date: Thu, 9 Jul 2020 16:46:50 +0200 Subject: [PATCH 1/4] modified login with used semantic_ui animated class to fade on hover. --- .../invenio_theme_tugraz/accounts/login.html | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) 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..2ec63c6 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 %} +
+ + +
+ +
+ Or +
+ {%- endif %} {%- block form_outer %} {%- with form = login_user_form %} From 7315eee27c2487710a0c194ad073c098c1a860d6 Mon Sep 17 00:00:00 2001 From: mb Date: Fri, 10 Jul 2020 09:42:50 +0200 Subject: [PATCH 2/4] modified login page removed hyperlink hover color --- .../assets/scss/invenio_tugraz_theme/overrides.scss | 8 -------- .../less/invenio_theme_tugraz/header.less | 6 ------ .../less/invenio_theme_tugraz/overrides.less | 13 ------------- .../invenio_theme_tugraz/accounts/login.html | 4 ++-- 4 files changed, 2 insertions(+), 29 deletions(-) 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 2ec63c6..00ae6d9 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login.html @@ -19,10 +19,10 @@ {%- endblock form_header %} {%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %} -
+