From 738310c786fafb5b1f2f15c3c313e8cb535fe287 Mon Sep 17 00:00:00 2001 From: Ethan Sanchez Date: Tue, 22 Feb 2022 08:55:45 -0800 Subject: [PATCH] Update login styles to be consistent w/ Lifelike (#1) --- Makefile | 2 +- .../common/resources/css/lifelike-common.css | 38 ++++++++++++++++++- theme/login/messages/messages_en.properties | 10 ++--- 3 files changed, 43 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index c654400..6fb034a 100644 --- a/Makefile +++ b/Makefile @@ -12,4 +12,4 @@ logs: docker-compose logs -f copy-original-themes: - docker-compose cp keycloak:/opt/jboss/keycloak/themes ./original-themes + docker compose cp keycloak:/opt/jboss/keycloak/themes ./original-themes diff --git a/theme/common/resources/css/lifelike-common.css b/theme/common/resources/css/lifelike-common.css index 7525fa2..1b4e55e 100644 --- a/theme/common/resources/css/lifelike-common.css +++ b/theme/common/resources/css/lifelike-common.css @@ -1,3 +1,39 @@ +a { + color: #0c8caa; +} + +body { + font-family: Roboto, "Helvetica Neue", sans-serif; +} + +.card-pf { + border-top: none; +} + .login-pf body { - background: lightblue; + background: #0c8caa; +} + +.pf-c-button.pf-m-primary { + background-color: #0c8caa; +} + +.pf-c-button { + background-color: #0c8caa; +} + +.pf-c-form-control:hover { + border-bottom-color: #0c8caa; +} +.pf-c-form-control:focus { + outline-color: #0c8caa; + border-color: #0c8caa; +} + +.pf-m-primary { + color: #ffffff; + background-color: #0c8caa; +} +.pf-m-primary:hover { + background-color: #075163; } diff --git a/theme/login/messages/messages_en.properties b/theme/login/messages/messages_en.properties index 23b0f2f..5745c25 100644 --- a/theme/login/messages/messages_en.properties +++ b/theme/login/messages/messages_en.properties @@ -1,5 +1,5 @@ -termsText=

These are Lifelike''s Terms

-loginAccountTitle=Sign in to Lifelike! +termsText=

Terms & Conditions Under Construction

+loginAccountTitle=Lifelike ################################### ## UNCOMMENT AND CHANGE AS NEEDED @@ -29,7 +29,7 @@ loginAccountTitle=Sign in to Lifelike! # kerberosNotSetUp=Kerberos is not set up. You cannot login. # registerTitle=Register # loginTitle=Sign in to... {0} -# loginTitleHtml={0} +loginTitleHtml= # impersonateTitle={0} Impersonate User # impersonateTitleHtml={0} Impersonate User # realmChoice=Realm @@ -41,7 +41,7 @@ loginAccountTitle=Sign in to Lifelike! # oauthGrantTitle=Grant Access to {0} # oauthGrantTitleHtml={0} # oauthGrantInformation=Make sure you trust {0} by learning how {0} will handle your data. -# oauthGrantReview=You could review the +# oauthGrantReview=You could review the # oauthGrantTos=terms of service. # oauthGrantPolicy=privacy policy. # errorTitle=We are sorry... @@ -400,7 +400,7 @@ loginAccountTitle=Sign in to Lifelike! # # SAML authentication # saml.post-form.title=Authentication Redirect # saml.post-form.message=Redirecting, please wait. -# saml.post-form.js-disabled=JavaScript is disabled. We strongly recommend to enable it. Click the button below to continue. +# saml.post-form.js-disabled=JavaScript is disabled. We strongly recommend to enable it. Click the button below to continue. # saml.artifactResolutionServiceInvalidResponse=Unable to resolve artifact. # #authenticators