From 07d7e6fa0eff6476e6c822d2a05fbfb4d18d4b30 Mon Sep 17 00:00:00 2001 From: David <72449192+rekt-hard@users.noreply.github.com> Date: Mon, 8 Nov 2021 10:33:11 +0100 Subject: [PATCH] update register and login view (#247) fix: remove redundant closing div tag for register ui: update register and login template with accordion styling: modify accordion css translation: add german translation --- .../less/invenio_theme_tugraz/overrides.less | 22 +++- .../accounts/login_user.html | 36 ++--- .../accounts/register_user.html | 84 ++++++------ .../translations/de/LC_MESSAGES/messages.po | 124 +++++++++--------- .../translations/messages.pot | 84 ++++-------- 5 files changed, 177 insertions(+), 173 deletions(-) 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 39bb412..1ceb574 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 @@ -77,12 +77,25 @@ pre { background-color: @tugrazRed; } -.ui.button:hover, -.ui.search.button:hover { - background-color: @primaryButtonHoverBackground; +/*** + * accordion title + ***/ +.ui.accordion.styled { + .title, + .title.active { + background-color: @greyLight; + color: rgba(0, 0, 0, 0.6); + } } -.ui.button:hover { +/*** + * buttons hover and accordion hover + ***/ +.ui.button:hover, +.ui.search.button:hover, +.ui.accordion.styled .title:hover, +.ui.accordion.styled .accordion .title:hover { + background-color: @primaryButtonHoverBackground; color: @primaryButton; } @@ -97,6 +110,7 @@ pre { .ui.input > input, /* it seams redundant but it is not */ .ui.segment, .ui.selection.dropdown, +.ui.accordion.styled, .ui.card, .ui.cards > .card, .ui.basic.button, .ui.basic.buttons .button, diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html index 94cedf5..544cc8e 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html @@ -17,7 +17,7 @@