diff --git a/forms/common-themes/src/main/resources/theme/base/login/template.ftl b/forms/common-themes/src/main/resources/theme/base/login/template.ftl index aca358fd4c..a637969419 100755 --- a/forms/common-themes/src/main/resources/theme/base/login/template.ftl +++ b/forms/common-themes/src/main/resources/theme/base/login/template.ftl @@ -29,7 +29,7 @@ - +
diff --git a/forms/common-themes/src/main/resources/theme/keycloak/login/resources/css/login.css b/forms/common-themes/src/main/resources/theme/keycloak/login/resources/css/login.css index 8f09a97946..f951c1d3eb 100644 --- a/forms/common-themes/src/main/resources/theme/keycloak/login/resources/css/login.css +++ b/forms/common-themes/src/main/resources/theme/keycloak/login/resources/css/login.css @@ -74,11 +74,12 @@ #kc-logo-wrapper { background-image: url("../img/keycloak-logo.png"); background-repeat: no-repeat; - background-position: top right; + position: absolute; + top: 50px; + right: 50px; height: 37px; - - margin: 50px; + width: 154px; } #kc-header { @@ -281,8 +282,8 @@ ol#kc-totp-settings li:first-of-type { @media (max-width: 767px) { #kc-logo-wrapper { - margin-top: 30px; - margin-right: 15px; + top: 15px; + right: 15px; } #kc-header { diff --git a/forms/common-themes/src/main/resources/theme/keycloak/login/theme.properties b/forms/common-themes/src/main/resources/theme/keycloak/login/theme.properties index 7319690b4b..b2364e1427 100644 --- a/forms/common-themes/src/main/resources/theme/keycloak/login/theme.properties +++ b/forms/common-themes/src/main/resources/theme/keycloak/login/theme.properties @@ -6,6 +6,8 @@ meta=viewport==width=device-width,initial-scale=1 kcHtmlClass=login-pf +kcLogoLink=http://www.keycloak.org + kcContentClass=col-sm-12 col-md-12 col-lg-12 container kcContentWrapperClass=row