The Hosted Login v2 authRule_secondFactor Screen: CSS

ImportantIdentity Cloud's 2FA feature is currently in Limited Availability. Please contact your Akamai representative as usage of 2FA features must be approved during Limited Availability.


This screen appears after:

  1. A user has been authenticated.
  2. Two-factor authentication is in force.
  3. The user has both a verified email address and a verified mobile number.

If all of the preceding conditions are true, the authRule_secondFactor appears and the user can choose whether their two-factor access code is sent to them via email or via text messaging.

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="authRule_secondFactor" class="screen">

  <div class="auth-screen content-wrapper">

    <h1 class="screen-heading">{* textAuthRuleSecondFactorHeading *}</h1>

    <p class="screen-description">{* textAuthRuleSecondFactorValue *}</p>

      <div class="form-action-buttons">

        <p class="action-description">{* textAuthRuleSecondFactorActionTitle *}</p>

            <div id="requestSecondFactorEmailCodeContainer">

                <p class="action-description" id="requestSecondFactorEmailCodeTitle">{* textAuthRuleSecondFactorEmailCodeTitle *}</p>

                <button type="submit" id="requestSecondFactorEmailCodeButton" class="aic-control" data-action="requestSecondFactorEmailCode">g*****</button>

                <p class="aic-error" id="requestSecondFactorCodeEmailError"></p>


        <p style="display:none;" class="aic-error" id="requestSecondFactorCodeError">{* textAuthRuleSecondFactorActionError *}</p>



  <div class="additional-actions-container">

    <div class="content-wrapper">

      <span class="help-text"><a href="#" class="aic-control cancel-link" data-action="cancel">{* textCancelRequest *}</a></span>



  <div class="footer-container">

    <div class="content-wrapper">

        <span class="help-link">{* textNeedHelp *}{* linkHelp *}</span>

        <div class="footer-text">

        {* textFooter *}


        <div class="footer-extra-text">

        {* textFooterExtra *}





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.


Default CSS



.additional-actions-container {
    padding: 25px;

aic-control cancel-link

.aic-control {



.cancel-link {

    display: block;margin - bottom: 10 px



.aic-control {




.aic-error {

    color:# fa5151


auth-screen content-wrapper

.auth-screen.content-wrapper {


content-wrapper {
   background-color: #fff;
   box-shadow:1px 1px 5px 2px rgba(0, 0, 0, .1)


footer-container {

    padding: 25 px;

    border - top: 1 px solid #f2f2f2;

    text - align: center





.form-action-buttons {
   margin:0 -10px





.screen-heading {

Mapping CSS Classes to UI Elements

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

See Also