Sha256: 990be98dd2e8a2e14d8ec81bf5759985f3316d9e9ddf3d3b6641e3d43912f329

Contents?: true

Size: 801 Bytes

Versions: 4

Compression:

Stored size: 801 Bytes

Contents

// ============
// EDGE FORM 
// ============

@mixin input($style: false) {
  
  [type="text"],
  [type="password"],
  [type="date"],
  [type="time"],
  [type="datetime"],
  [type="email"],
  [type="number"],
  [type="search"],
  [type="tel"],
  [type="url"],
  select,
  textarea {
    @content;

    @if $style {
      display: block;
      width: 100%;
      outline: none;
      padding: 10px;
      border: 1px solid $passive-color;
      border-top-color: darken($passive-color, 5%);

      &:hover {
        border-color: darken($passive-color, 10%);
        @include box-shadow(inset 0 0 3px $passive-color);
      }

      &:focus {
        border-color: $main-color;
        @include box-shadow(inset 0 1px 2px rgba(black, .2) );
      }
    }
  }

}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
edge_framework-2.1.1 assets/sass/edge/component/_form.scss
edge_framework-2.1.0 assets/sass/edge/component/_form.scss
edge_framework-2.0.0 assets/sass/edge/components/_form.scss
edge_framework-2.0.0.a assets/sass/edge/components/_form.scss