<div class="fix-flex-height">
    <div class="logincont dark">
        <div class="logo">
            <img class="customer-logo" src="https://grabaperch.com/assets/img/logo.png" alt="Site Name" width="180">
        </div>
        <div class="login-box">
            <div class="hd">
                <h1>Log in</h1>
            </div>
            <div class="bd">
                <form action="/perch/" method="post" class="form-simple form-login">
                    <div class="field-wrap"><label for="username">Username</label>
                        <div class="form-entry"><input type="text" id="username" required="required" aria-required="true" class="input-simple"></div>
                    </div>

                    <div class="field-wrap"><label for="password">Password</label>
                        <div class="form-entry"><input type="password" id="password" required="required" aria-required="true" class="input-simple"></div>
                    </div>
                    <div class="buttons">
                        <input type="submit" class="button button-simple" value="Submit">

                        <a class="reset-link" href="/perch/core/reset">Reset password</a>
                    </div>
                </form>
            </div>
        </div>
        <div class="notification notification-info">
            <a href="https://grabaperch.com/buy">Licensed for local testing</a>
        </div>
    </div>
</div>
<div class="fix-flex-height"><div class="logincont dark">
    <div class="logo">
        <img class="customer-logo" src="https://grabaperch.com/assets/img/logo.png" alt="Site Name" width="180">
    </div>
    <div class="login-box">
        <div class="hd">
            <h1>Log in</h1>
        </div>
        <div class="bd">
            <form action="/perch/" method="post" class="form-simple form-login">
              <div class="field-wrap"><label for="username">Username</label>
                  <div class="form-entry"><input type="text" id="username" required="required" aria-required="true" class="input-simple"></div>
              </div>

              <div class="field-wrap"><label for="password">Password</label>
                  <div class="form-entry"><input type="password" id="password" required="required" aria-required="true" class="input-simple"></div>
              </div>
                <div class="buttons">
                    {{ render '@button-simple--default' }}
                   <a class="reset-link" href="/perch/core/reset">Reset password</a>
                </div>
            </form>
        </div>
    </div>
    <div class="notification notification-info">
      <a href="https://grabaperch.com/buy">Licensed for local testing</a>
    </div>
</div></div>
/* No context defined for this component. */
  • Content:
    .page-login {
      display:flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      background-color: palette(ui, panel);
      padding-bottom: 20%;
    }
    
    @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
        .fix-flex-height {
          display: flex;
          flex-direction: column;
          padding-top: 100px;
        }
    }
    
    .logincont {
      width: 100%;
      margin: 0 auto;
    }
    
    @include media(">bp-s") {
      .logincont {
        width: 500px;
      }
    }
    
    .logincont .logo {
      text-align: center;
    }
    
    .logincont .login-box {
      background-color: rgba(255, 255, 255, 0.9);
    }
    
    .login-box .hd {
      padding: $main-gutter;
    }
    
    .login-box .hd {
      //border-bottom:1px solid palette(ui, light);
      background-color: palette(ui);
    }
    
    .login-box .hd h1 {
      margin: 0;
    }
    
    .login-box .bd {
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-top: none;
    }
    
    .login-box .buttons {
      padding: $half-gutter $main-gutter $main-gutter $main-gutter;
      display: flex;
      justify-content: space-between;
      align-items: baseline;
    }
    
    .login-box .buttons a.reset-link {
      @include font-scale(m, helvetica);
      color: palette(info,dark);
    }
    
    .login-box .form-simple .fieldset-inner,
    .login-box .form-simple .field-wrap {
      margin: 0 0 0.5em 0;
      padding: 0.5em 0 0.5em ($main-gutter);
    }
    
  • URL: /components/raw/login-page/login-page.scss
  • Filesystem Path: src/components/99-pages/06-login-page/login-page.scss
  • Size: 1.3 KB

There are no notes for this item.