The traditionalRegistration Screen: CSS

   

This screen (click the thumbnail above to see a bigger version) appears if a user elects to create a new account by using traditional registration (that is, by providing an email address and password).

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="traditionalRegistration" class="screen">
 <div class="auth-screen content-wrapper">
   <h1 class="screen-heading">{* textCreateNewAccount *}</h1>
   <p class="screen-description">{* textCreateNewAccountSubHeading *}</p>
   <div class="social-signin">
     <p class="screen-description">{* textCreateNewAccountSocialSubHeading *}</p>
     <div class="social-login-buttons"><ul><li><button title="googleplus" class="social-provider googleplus"><span class="content-wrapper"><span class="social-provider-icon googleplus"></span><span class="provider-name"> 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"> 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"> Yahoo!</span></span></button></li></ul></div>
   </div>
   <div class="traditional-registration">
     <p class="screen-description">{* textCreateNewAccountTraditionalSubHeading *}</p>
     {* #traditionalRegistrationForm *}
       {* emailAddress *}
{* newPassword *}
{* newPasswordConfirm *}
       <p class="registration-acceptance">{* textAcceptanceBlurb *}</p>
       <div class="form-action-buttons">
         <button type="submit" class="register-button">{* textCreateAccount *}</button>
       </div>
     {* /traditionalRegistrationForm *}
   </div>
 </div>
 <div class="additional-actions-container">
   <div class="content-wrapper">
     <span class="help-text"><a href="#" class="aic-control cancel-link" data-action="cancel">{* textRegistrationCancel *}</a></span>
   </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

additional-actions-container

.additional-actions-container {
    padding: 25px;
    text-align:center
}

aic-control cancel-link

.aic-control {
   cursor:pointer
}

.cancel-link {
   display: block;
   margin-bottom:10px
}

auth-screen content-wrapper

.auth-screen.content-wrapper {
   max-width:500px
}

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

help-text

provider-name

.social-login-buttons .provider-name {
    font-size: 18px;
    color:#fff
}

register-button

registration-acceptance

screen

.screen {
   min-width:460px
}

screen-description

screen-heading

.screen-heading {
   margin-top:0
}

social-login-buttons

social-provider

social-provider-icon

.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-signin

traditional-registration


Mapping CSS Classes to UI Elements

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