The Hosted Login v2 manageProfile Screen: CSS

ImportantIdentity Cloud's 2FA feature is currently in Limited Availability. Please contact your Akamai representative as usage of 2FA features must be approved during Limited Availability.


   

This screen appears after a user clicks a link for managing his or her user profile.

You can also display a Back to App button on this screen by including the redirect_uri parameter when opening the user profile. For example:

https://v1.api.us.janrain.com/e0a70b4f-1eef-4856-bcdb-f050fee66aae/auth-ui/profile?client_id=70a45721-c6ef-4d7c-91ff-f14e9346b8b6&redirect_uri=https://identitydocs.akamai.com

If the user clicks the Back to App button, he or she is sent to the URL specified by the redirect_uri parameter.

 The Back to App button (available only in Hosted Login v2), looks like this:

Click here for information on overriding the default CSS settings.




Login Page HTML


To help you put the CSS classes in context, the following snippet shows the HTML markup used to define the screen, with the CSS classes highlighted using red text. To view the latest HTML for a screen, right-click a blank spot on your Hosted Login login page, click View Page Source, then search for the screen name.


  <div style="display:none;" id="manageProfile" class="screen">

  <div class="manage-screen content-wrapper">

    <div class="profile-header-actions">

  <div class="return-to-app-container">

  </div>

  <div class="logout-container">

    <button type="button" class="aic-control logout" data-action="logout">{* textLogout *}</button>

  </div>

</div>

<div class="profile-header">

  <div class="profile-header-image user-photo-container" data-render-user-photo="large"></div>

  <div class="profile-header-text">

    <h1>{* dataDisplayName *}</h1>

    <h3>{* dataEmailAddress *}</h3>

  </div>

</div>

    <h1 class="screen-heading">{* textAccountScreensHeading *}</h1>

    <div class="profile-management-container">

      <div class="profile-management-card aic-control" data-render-screen="manageProfile_data">

        <div class="card-heading">

          <h1><span class="profile-data card-icon"></span>{* textPersonalData *}<span class="chevron right"></span></h1>

        </div>

        <div class="card-body">

          <p>{* textPersonalDataSectionDescription *}</p>

        </div>

      </div>

      <div class="profile-management-card aic-control" data-render-screen="manageProfile_security">

        <div class="card-heading">

          <h1><span class="profile-security card-icon"></span>{* textAccountSecurity *}<span class="chevron right"></span></h1>

        </div>

        <div class="card-body">

          <p>{* textAccountSecuritySectionDescription *}</p>

        </div>

      </div>

      <div class="profile-management-card aic-control" data-render-screen="manageProfile_privacy">

        <div class="card-heading">

          <h1><span class="profile-privacy card-icon"></span>{* textPrivacySettings *}<span class="chevron right"></span></h1>

        </div>

        <div class="card-body">

          <p>{* textPrivacySettingsSectionDescription *}</p>

        </div>

      </div>

    </div>

  </div>

  <div class="footer-container">

    <div class="content-wrapper">

        <span class="help-link">{* textNeedHelp *}{* linkHelp *}</span>

        <div class="footer-text">

        {* textFooter *}

        </div>

        <div class="footer-extra-text">

        {* textFooterExtra *}

        </div>

    </div>

</div>

</div>




CSS Classes Used on This Screen


The following table lists all the CSS classes used on this screen; the table also includes the default CSS specified for each class (note that some classes, such as footer-text, are not spelled out in the base.css file). Click a class name for a more graphical look at the class and how it can be styled. Note that the sample shows a generic use of the class and doesn't necessarily show how the class is used on this particular form.


CSS Class

Default CSS

aic-control logout

.aic-control {
  cursor:pointer
}

.logout {
   position: absolute;
   top: 25px;
   right:50px
}

card-body

.card-body {
  padding:15px 25px
}

card-heading

.card-heading {
   border-bottom: 1px solid #f2f2f2;
   position:relative
}

chevron right

.chevron::before {
   border-style: solid;
   border-width: .12em .12em 0 0;
   content: "";
   display: inline-block;
   height: .65em;
   left: .15em;
   position: relative;
   top: .32em;
   transform: rotate(-45deg);
   vertical-align: top;
   width: .65em;
   border-color:#979797
}

.chevron.right:before, .lang-rtl .chevron.left:before {
   left: 0;
   transform:rotate(45deg)
}

content-wrapper

#content-wrapper {
   background-color: #fff;
   box-shadow:1px 1px 5px 2px rgba(0, 0, 0, .1)
}

footer-container

.footer-container {
   padding: 25px;
   border-top: 1px solid #f2f2f2;
   text-align:center
}

footer-extra-text


footer-text


help-link


logout-container


manage-screen content-wrapper

.manage-screen.content-wrapper {
   position:relative
}

profile-data card-icon

.card-heading .card-icon {
   background-size: 25px 25px;
   height: 25px;
   width: 25px;
   display: inline-block;
   margin: 0 15px;
   position: relative;
   top:3px
}

profile-header

.profile-header {
   display: flex;
   flex-direction: row;
   flex-wrap:wrap
}

profile-header-image user-photo-container

.profile-header-image {
   text-align:right
}

.profile-header-image .profile-image {
   margin-right: 20px;
   border-radius: 50%;
   max-height: 100px;
   max-width:100px
}

profile-header-text


profile-management-card aic-control

.profile-management-card {
   background-color: #fff;
   box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, .1);
   min-width: 270px;
   max-width: 915px;
   margin-top: 15px;
   overflow:auto
}

.aic-control {
   cursor:pointer
}

profile-managmenet-container


profile-privacy card-icon

.card-heading .card-icon.profile-privacy {
   background-image: url("/gizmo/static/privacy_settings_icon.png")
}

profile-security card-icon

.card-heading .card-icon.profile-security {
   background-image: url("/gizmo/static/account_security_icon.png")
}

return-to-app-container



screen

.screen {
   min-width:460px
}

screen-heading

.screen-heading {
   margin-top:0
}




Mapping CSS Classes to UI Elements


The following graphic maps CSS classes to the more-visible UI elements used in the screen:





See Also