From 2418e3195264fc5f2b1bb5910c589fc23cabb292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Fri, 9 Jul 2021 12:16:14 +0200 Subject: [PATCH] KEYCLOAK-18685 Style in RH-SSO login screen is broken --- .../theme/rh-sso/login/resources/css/login-rhsso.css | 6 ++---- .../resources-product/theme/rh-sso/login/theme.properties | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/themes/src/main/resources-product/theme/rh-sso/login/resources/css/login-rhsso.css b/themes/src/main/resources-product/theme/rh-sso/login/resources/css/login-rhsso.css index 4d228efff4..3668b1bb84 100644 --- a/themes/src/main/resources-product/theme/rh-sso/login/resources/css/login-rhsso.css +++ b/themes/src/main/resources-product/theme/rh-sso/login/resources/css/login-rhsso.css @@ -6,12 +6,10 @@ @media (max-width: 767px) { .login-pf body { - background-image: none; - } - .login-pf { - background-color: white; + background: white; } } + @media (min-width: 767px) { .login-pf { background-attachment: fixed; diff --git a/themes/src/main/resources-product/theme/rh-sso/login/theme.properties b/themes/src/main/resources-product/theme/rh-sso/login/theme.properties index 1bf891843f..dfe9265c06 100644 --- a/themes/src/main/resources-product/theme/rh-sso/login/theme.properties +++ b/themes/src/main/resources-product/theme/rh-sso/login/theme.properties @@ -1,4 +1,4 @@ parent=keycloak -styles=css/login.css css/login-rhsso.css -stylesCommon=node_modules/rcue/dist/css/rcue.min.css node_modules/rcue/dist/css/rcue-additions.min.css lib/zocial/zocial.css \ No newline at end of file +styles=css/login.css css/tile.css css/login-rhsso.css +stylesCommon=web_modules/@patternfly/react-core/dist/styles/base.css web_modules/@patternfly/react-core/dist/styles/app.css node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css lib/pficon/pficon.css node_modules/rcue/dist/css/rcue.min.css node_modules/rcue/dist/css/rcue-additions.min.css \ No newline at end of file