Sha256: ce7fdb7cea3a07ddbe2a56a2da442e90a77b835c9d2d57e4d6cdb5f094b7a868

Contents?: true

Size: 855 Bytes

Versions: 1

Compression:

Stored size: 855 Bytes

Contents

.search {
  align-items: center;
  border-bottom: $base-border;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 0 $base-spacing;
  position: relative;
  width: 100%;
}

.search__icon {
  svg {
    @include size(1em);
  }

  path {
    @include transition($base-transition);
    fill: $hint-grey;
  }

  &--active path {
    fill: $base-accent-color;
  }
}

.search__input {
  appearance: none;
  border: none;
  box-shadow: none;
  flex-grow: 1;
  margin: 0;
  padding: ($small-spacing * 1.5) $small-spacing;

  &:focus {
    box-shadow: none;
  }
}

.search__hint {
  @include position(absolute, 1em null null null);
  @include transition($base-transition);
  color: $hint-grey;
  opacity: 0;

  svg {
    @include size(100%);
  }

  path,
  rect {
    fill: $base-accent-color;
  }

  &--active {
    opacity: 1;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
administrate-0.0.12 app/assets/stylesheets/administrate/components/_search.scss