Sha256: 684e7e1d69f3828fcf9bbc2ec1a3bd0482350945f31fa52cf051e3f5d5253c39

Contents?: true

Size: 1.9 KB

Versions: 12

Compression:

Stored size: 1.9 KB

Contents

$white:                    #FFFFFF;
$devise-bg-gradient-start: #355069;
$devise-bg-gradient-end:   #5E7A9B;
$devise-box-border-color:  #6ED5E4;

html, body {
  height: 100%;
}

.text-white { color: $white; }

.devise_sessions, .devise_registrations, .devise_passwords {
  &.new, &.create {
    @extend .devise;
  }
}

.devise_passwords.edit {
  @extend .devise;
}

// For compatibility with Flutie body_class
.devise-sessions-new, .devise-sessions-create, .devise-registrations-new, .devise-registrations-create, .devise-passwords-new, .devise-passwords-create, .devise-passwords-edit {
  @extend .devise;
}

.devise {
  @include gradient-vertical($devise-bg-gradient-start, $devise-bg-gradient-end);
  background-attachment: fixed !important;
  .devise-welcome {
    @extend .text-center;
    @extend .text-white;
    text-shadow: 1px 1px 3px $gray-dark;
    padding: 50px 0 20px 0;
    h2 {
      margin-bottom: 50px;
      a {
        @extend .text-white;
        text-decoration: none;
        @include transition(color 0.25s linear);
        &:hover {
          color: darken($white, 20%);
        }
      }
    }
    h2, h3 {
      font-weight: lighter;
    }
  }
  form {
    @include border-top-radius($border-radius-base);
    @include border-bottom-radius($border-radius-base);
    border: 1px solid $white;
    background: $white;
    box-shadow: 1px 1px 3px $gray-dark;
    padding: 40px 40px 20px;
    border-top: 6px solid $devise-box-border-color;
    #error_explanation {
      @extend .alert;
      @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
      h2 {
        margin-top: 0;
        font-size: 15px;
      }
    }
    .actions {
      @extend .text-center;
      padding-top: 30px;
    }
  }
  .devise-links {
    @extend .text-center;
    @extend .text-white;
    margin-top: 20px;
    margin-bottom: 70px;
    a {
      text-decoration: underline;
      @extend .text-white;
    }
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
leather-0.2.20 templates/_devise.css.scss
leather-0.2.19 templates/_devise.css.scss
leather-0.2.18 templates/_devise.css.scss
leather-0.2.17 templates/_devise.css.scss
leather-0.2.16 templates/_devise.css.scss
leather-0.2.15 templates/_devise.css.scss
leather-0.2.14 templates/_devise.css.scss
leather-0.2.13 templates/_devise.css.scss
leather-0.2.12 templates/_devise.css.scss
leather-0.2.11 templates/_devise.css.scss
leather-0.2.10 templates/_devise.css.scss
leather-0.2.9 templates/_devise.css.scss