KEYCLOAK-6942 Cut off background on the new login page

This commit is contained in:
June Zhang 2018-03-22 18:18:51 +08:00 committed by Stian Thorgersen
parent 66186273ca
commit bff7831912
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,6 @@
.login-pf body {
background-image: url(../node_modules/rcue/dist/img/bg-login.png);
background-size: auto;
background: url("../node_modules/rcue/dist/img/bg-login.png") no-repeat left top fixed;
background-size: auto;
}
@media (max-width: 767px) {
@ -11,3 +11,8 @@
background-color: white;
}
}
@media (min-width: 767px) {
.login-pf {
background-attachment: fixed;
}
}

View file

@ -1,5 +1,5 @@
.login-pf body {
background-image: url("../img/keycloak-bg.png");
background: url("../img/keycloak-bg.png") no-repeat center center fixed;
background-size: cover;
}