Sign-In Success screen (v2) CSS

This screen appears after a user successfully logs in.

See Add custom CSS stylesheets to Hosted Login 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="loginSuccess" class="screen">
  <div class="auth-success-screen content-wrapper">
    <span class="success-check"></span>
    <h2 class="screen-heading">{* textLoginSuccessful *}</h2>
  </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
auth-success-screen content-wrapperauth-success-screen.content-wrapper {
max-width: 275px;
margin: 0 auto 20px;
padding:25px 0 25px 75px
}
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-text 
footer-extra-text 
help-link 
screen.screen {
min-width:460px
}
[screen-heading](doc:screen-heading-1.screen-heading {
margin-top:0
}
success-check.success-check {
display:inline-block;
height:80px;
width:80px;
min-width:80px;
border-radius:50px;
background-color:# 57 d38f;
border: 1 px solid #31b06a
}

CSS classes mapped to UI elements

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


See also