From 3ddc3fd4de21b29b7a38ef696fa78595d4f3cfdc Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 15 Aug 2024 11:55:56 +0200 Subject: [PATCH] added properties for classes Signed-off-by: Erik Jan de Wit --- .../login-recovery-authn-code-config.ftl | 22 ++++----- .../login/select-authenticator.ftl | 45 ++++++++++--------- .../theme/keycloak.v2/login/theme.properties | 18 +++++++- 3 files changed, 52 insertions(+), 33 deletions(-) diff --git a/themes/src/main/resources/theme/keycloak.v2/login/login-recovery-authn-code-config.ftl b/themes/src/main/resources/theme/keycloak.v2/login/login-recovery-authn-code-config.ftl index e895cf137f..30c9d9a084 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/login-recovery-authn-code-config.ftl +++ b/themes/src/main/resources/theme/keycloak.v2/login/login-recovery-authn-code-config.ftl @@ -6,23 +6,23 @@ ${msg("recovery-code-config-header")} <#elseif section = "form"> -
-
+
+
-

+

Warning alert: ${msg("recovery-code-config-warning-title")}

-
+

${msg("recovery-code-config-warning-message")}

-
-
-
-
    +
    +
    +
    +
      <#list recoveryAuthnCodesConfigBean.generatedRecoveryAuthnCodesList as code>
    1. ${code[0..3]}-${code[4..7]}-${code[8..]}
    2. @@ -33,13 +33,13 @@
      - - -
      diff --git a/themes/src/main/resources/theme/keycloak.v2/login/select-authenticator.ftl b/themes/src/main/resources/theme/keycloak.v2/login/select-authenticator.ftl index f14db8e929..4117018ddd 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/select-authenticator.ftl +++ b/themes/src/main/resources/theme/keycloak.v2/login/select-authenticator.ftl @@ -6,30 +6,33 @@ <#elseif section = "form"> -
      -
        - <#list auth.authenticationSelections as authenticationSelection> -
      • -
        -
        -
        - -
        -
        -

        ${msg('${authenticationSelection.displayName}')}

        -
        -
        - ${msg('${authenticationSelection.helpText}')} -
        +
          + <#list auth.authenticationSelections as authenticationSelection> +
        • + + +
        • +
          +
          +
          +
          -
          - +
          +

          + ${msg('${authenticationSelection.displayName}')} +

          +
          +
          + ${msg('${authenticationSelection.helpText}')}
          - - -
        - +
        + +
        +
        +
      • + +
      diff --git a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties index 7dc49dc6dc..c684fcc4bd 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties +++ b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties @@ -11,10 +11,18 @@ kcInputGroup=pf-v5-c-input-group kcInputErrorMessageClass=pf-v5-c-helper-text__item pf-m-error pf-v5-c-form__label-required kc-feedback-text kcAlertClass=pf-v5-c-alert pf-m-inline +kcAlertIconClass=pf-v5-c-alert__icon kcAlertTitleClass=pf-v5-c-alert__title +kcAlertDescriptionClass=pf-v5-c-alert__description kcFormPasswordVisibilityButtonClass=pf-v5-c-button pf-m-control +kcPanelClass=pf-v5-c-panel pf-m-raised +kcPanelMainClass=pf-v5-c-panel__main +kcPanelMainBodyClass=pf-v5-c-panel__main-body +kcListClass=pf-v5-c-list + kcButtonClass=pf-v5-c-button +kcButtonLinkClass=pf-v5-c-button pf-m-link kcCommonLogoIdP=pf-v5-c-login__main-footer-links-item kcFormSocialAccountListClass=pf-v5-c-login__main-footer-links kcFormSocialAccountListItemClass=pf-v5-c-login__main-footer-links-item @@ -28,5 +36,13 @@ kcFormCardClass=card-pf kcResetFlowIcon=pf-icon fas fa-share-square -kcSelectAuthListItemClass= pf-v5-c-data-list__item pf-m-clickable select-auth-box-parent +kcSelectAuthListClass=pf-v5-c-data-list select-auth-container +kcSelectAuthListItemWrapperClass=pf-v5-c-data-list__item pf-m-clickable +kcSelectAuthListItemClass=pf-v5-c-data-list__item-row select-auth-box-parent kcSelectAuthListItemHeadingClass=pf-v5-u-font-family-heading select-auth-box-headline +kcSelectAuthListItemBodyClass=pf-v5-c-data-list__cell pf-m-no-fill +kcSelectAuthListItemIconClass=pf-v5-c-data-list__cell pf-m-icon select-auth-box-icon +kcSelectAuthListItemFillClass=pf-v5-c-data-list__item-action +kcSelectAuthListItemDescriptionClass=pf-v5-c-data-list__cell pf-m-no-fill select-auth-box-desc + +kcRecoveryCodesWarning=pf-v5-c-alert pf-m-warning pf-m-inline pf-v5-u-mb-md kc-recovery-codes-warning \ No newline at end of file