From babb45efd8a4d663c4b975ea41b91b3700ff0990 Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Fri, 27 Apr 2018 20:00:46 +0000 Subject: [PATCH] Fix login page layout without OpenId. When OpenId is disabled and the input therefore is missing from the login the page looks weird. Fix that. --- view/theme/frio/css/style.css | 6 ++---- view/theme/frio/templates/login.tpl | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 0d611de41..18b2f4208 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -3187,7 +3187,6 @@ section .profile-match-wrapper { .mod-home.is-not-singleuser .login-form > #login-extra-links { margin-top: 4em; - margin-bottom: 1em; } .mod-home.is-not-singleuser .login-form > #login-form label, @@ -3213,7 +3212,6 @@ section .profile-match-wrapper { background-color: #fff; padding: 1em; position: relative; - margin-top: 4em; } .mod-home.is-not-singleuser .login-form > #login-extra-links { margin-top: unset; @@ -3225,7 +3223,7 @@ section .profile-match-wrapper { color: #444; } - .mod-home.is-not-singleuser .login-form > #login-form::before, + .mod-home.is-not-singleuser .login-form::before, .mod-login #content #login-form::before { display: block; position: absolute; @@ -3238,7 +3236,7 @@ section .profile-match-wrapper { z-index: -1; } - .mod-home.is-not-singleuser .login-form > #login-form::after, + .mod-home.is-not-singleuser .login-form::after, .mod-login #content #login-form::after { display: block; position: absolute; diff --git a/view/theme/frio/templates/login.tpl b/view/theme/frio/templates/login.tpl index 57bb86c15..ae586a3e6 100644 --- a/view/theme/frio/templates/login.tpl +++ b/view/theme/frio/templates/login.tpl @@ -11,6 +11,7 @@ +
{{if $openid}}