KEYCLOAK-2239

Add link to keycloak.org to Keycloak logo
This commit is contained in:
Stian Thorgersen 2015-12-21 12:15:36 +01:00
parent 606e6fa479
commit 1594e07628
3 changed files with 9 additions and 6 deletions

View file

@ -29,7 +29,7 @@
</head> </head>
<body class="${properties.kcBodyClass!}"> <body class="${properties.kcBodyClass!}">
<div id="kc-logo"><div id="kc-logo-wrapper"></div></div> <div id="kc-logo"><a href="${properties.kcLogoLink!'#'}"><div id="kc-logo-wrapper"></div></a></div>
<div id="kc-container" class="${properties.kcContainerClass!}"> <div id="kc-container" class="${properties.kcContainerClass!}">
<div id="kc-container-wrapper" class="${properties.kcContainerWrapperClass!}"> <div id="kc-container-wrapper" class="${properties.kcContainerWrapperClass!}">

View file

@ -74,11 +74,12 @@
#kc-logo-wrapper { #kc-logo-wrapper {
background-image: url("../img/keycloak-logo.png"); background-image: url("../img/keycloak-logo.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: top right;
position: absolute;
top: 50px;
right: 50px;
height: 37px; height: 37px;
width: 154px;
margin: 50px;
} }
#kc-header { #kc-header {
@ -281,8 +282,8 @@ ol#kc-totp-settings li:first-of-type {
@media (max-width: 767px) { @media (max-width: 767px) {
#kc-logo-wrapper { #kc-logo-wrapper {
margin-top: 30px; top: 15px;
margin-right: 15px; right: 15px;
} }
#kc-header { #kc-header {

View file

@ -6,6 +6,8 @@ meta=viewport==width=device-width,initial-scale=1
kcHtmlClass=login-pf kcHtmlClass=login-pf
kcLogoLink=http://www.keycloak.org
kcContentClass=col-sm-12 col-md-12 col-lg-12 container kcContentClass=col-sm-12 col-md-12 col-lg-12 container
kcContentWrapperClass=row kcContentWrapperClass=row