Manage Account Security screen (v1) CSS

๐Ÿ“˜

Looking for the Hosted Login v2 version of this screen? Then see Manage Account Security v2.

Appears after a user clicks Account Security on the manageProfile screen.


Login page HTML

To help you put the CSS classes in context, the following snippet shows the HTML markup used to define the screen. 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\_security" class="screen">  
ย <div class="manage-screen content-wrapper">  
ย  ย <button type="button" class="aic-control logout" data-action="logout">{* textLogout *}</button>  
ย  ย <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-security">  
ย  ย  ย <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-preferences card-icon"></span>{* textAccountSecurity *}</h1>  
ย  ย  ย  ย </div>  
ย  ย  ย  ย <div class="card-body">  
ย  ย  ย  ย  ย <div class="flex-container">  
ย  ย  ย  ย  ย  ย <div class="flex-row">  
ย  ย  ย  ย  ย  ย  ย <div class="flex-quad">  
ย  ย  ย  ย  ย  ย  ย  ย <h2>{* textPasswordSettings *}</h2>  
ย  ย  ย  ย  ย  ย  ย  ย {* #changePasswordForm *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย {* currentPassword *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย {* newPassword *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย {* newPasswordConfirm *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย <div class="form-action-buttons flex">  
ย  ย  ย  ย  ย  ย  ย  ย  ย  ย <button type="submit">{* textSaveChanges *}</button>  
ย  ย  ย  ย  ย  ย  ย  ย  ย  ย {* savedProfileMessage *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย </div>  
ย  ย  ย  ย  ย  ย  ย  ย {* /changePasswordForm *}  
ย  ย  ย  ย  ย  ย  ย </div>  
ย  ย  ย  ย  ย  ย  ย <div class="flex-quad">  
ย  ย  ย  ย  ย  ย  ย  ย <div class="flex-quad-header">  
ย  ย  ย  ย  ย  ย  ย  ย  ย <h2>{* textLinkAccountsSettings *}</h2>  
ย  ย  ย  ย  ย  ย  ย  ย  ย <p>{* textLinkAccountsDescription *}</p>  
ย  ย  ย  ย  ย  ย  ย  ย </div>  
ย  ย  ย  ย  ย  ย  ย  ย <div class="flex-quad-body">  
ย  ย  ย  ย  ย  ย  ย  ย  ย {* linkedAccounts *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย <!-- The widget LOSES ITS MIND if this container isn't here -->  
ย  ย  ย  ย  ย  ย  ย  ย  ย {* #linkAccountContainer *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย {* /linkAccountContainer *}  
ย  ย  ย  ย  ย  ย  ย  ย  ย <div class="social-login-buttons link-account" data-button-prefix="{* textConnectWith *}"><ul><li><button title="googleplus" class="social-provider googleplus"><span class="content-wrapper"><span class="social-provider-icon googleplus"></span><span class="provider-name">{* textConnectWith *} Google</span></span></button></li><li><button title="facebook" class="social-provider facebook"><span class="content-wrapper"><span class="social-provider-icon facebook"></span><span class="provider-name">{* textConnectWith *} Facebook</span></span></button></li><li><button title="yahoo-oauth2" class="social-provider yahoo-oauth2"><span class="content-wrapper"><span class="social-provider-icon yahoo-oauth2"></span><span class="provider-name">{* textConnectWith *} Yahoo!</span></span></button></li></ul></div>  
ย  ย  ย  ย  ย  ย  ย  ย </div>  
ย  ย  ย  ย  ย  ย  ย </div>  
ย  ย  ย  ย  ย  ย </div>  
ย  ย  ย  ย  ย </div>  
ย  ย  ย  ย </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, aren't defined 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 aic-control.aic-control {
cursor:pointer
}

.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)
}
flex-container.flex-container {
display:flex
}
flex-quadย 
flex-quad bodyย 
flex-quad-headerย 
flex-row.flex-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin:0 -8px
}
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-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-textย 
profile-management-card large.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
}

.profile-management-card.large .card-body {
padding:25px
}
profile-management-containerย 
provider-name.social-login-buttons .provider-name {
font-size: 18px;
color:#fff
}
screen.screen {
min-width:460px
}
screen-heading.screen-heading {
margin-top:0
}
social-login-buttons.social-login-buttons button {
margin: 5px 0;
padding: 0;
width:100%
}
social-provider.social-provider-icon {
display: inline-block;
margin-right: 15px;
background-color: #fff;
height: 39px;
width: 39px;
background-size: 39px;
vertical-align: middle;
border-radius:3px
}
social-provider-iconย 

CSS classes mapped to UIย elements

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


See also