Sha256: 1b22434ccd3f325e8c4c43a7e967200153442a840a0af35d9331499ebeae488b

Contents?: true

Size: 946 Bytes

Versions: 5

Compression:

Stored size: 946 Bytes

Contents

//array input

@mixin reset-aa-button {
  background: none;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  line-height: 1;
  padding: 0;
  text-shadow: none;
  vertical-align: middle;

  &:not(.disabled) {
    &:hover,
    &:active,
    &:focus {
      background: none;
      border: 0;
      box-shadow: none;
    }
  }
}

.formtastic li.array.input {
  .input-group--array {
    width: 75%;
    margin: 0 0 0 25%;
    .input-group--array__item {
      padding: 4px 0;
      input {
        display: inline-block;
        margin: 0 10px 0 0;
        &.text--strike {
          text-decoration: line-through;
        }
      }
      &.hidden {
        display: none;
      }
    }

    .array-action--add,
    .array-action--remove {
      @include reset-aa-button;
      display: inline-block;
      font-size: rem(15);
    }

    .array-action--add {
      color: green;
    }

    .array-action--remove {
      color: red;
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
custom_inputs-0.1.4 app/assets/stylesheets/custom_inputs/array_input.scss
custom_inputs-0.1.3 app/assets/stylesheets/custom_inputs/array_input.scss
custom_inputs-0.1.2 app/assets/stylesheets/custom_inputs/array_input.scss
custom_inputs-0.1.1 app/assets/stylesheets/custom_inputs/array_input.scss
custom_inputs-0.1.0 app/assets/stylesheets/custom_inputs/array_input.scss