Manage Personal Data Screen (v2) CSS

This screen appears after a user clicks Personal Data on the manageProfile screen.

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:

See Add custom CSS stylesheets 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\_data" 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 profile-data">
      <div class="profile-management-card large">
        <div class="card-heading aic-control" data-render-screen="manageProfile">
          <h1><span class="chevron left"></span><span class="profile-data card-icon"></span>{* textPersonalData *}</h1>
        </div>
        <div class="card-body">
          {* #manageProfile\_dataForm *}
            {* displayName *}
{* firstName *}
{* middleName *}
{* lastName *}
{* emailAddress *}
            <div class="form-action-buttons">
              <button type="submit">{* textSaveChanges *}</button>
              <button type="button" class="secondary aic-control" data-render-screen="manageProfile">{* textBackToUserProfile *}</button>
              {* savedProfileMessage *}
            </div>
          {* /manageProfile\_dataForm *}
        </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).

CSS ClassDefault 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 left.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.left:before, .lang-rtl .chevron.right:before {
left: .25em;
transform:rotate(-135deg)
}
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 
form-action-buttons.form-action-buttons {
margin:0 -10px
}
help-link 
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-actions.profile-header-actions {
display: flex;
flex-direction: row;
justify - content: space - between
}
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 large 
profile-management-container profile-data 
return-to-app-container 
screen.screen {
min-width:460px
}
screen-heading.screen-heading {
margin-top:0
}
secondary aic-control.aic-control {
cursor:pointer
}

button.secondary {
background-color: #fff;
color:#5f80c5
}

button.secondary:hover {
background-color:#ecf2ff
}

CSS classes mapped to UI elements

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


See also