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 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 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
Updated about 2 years ago