Sha256: 7078ceef25d1b68d207cfdbec71b69608e28a7f4902dc6681c085643a4817fea

Contents?: true

Size: 901 Bytes

Versions: 2

Compression:

Stored size: 901 Bytes

Contents

@import url(asset-path("accessible-autocomplete/dist/accessible-autocomplete.min.css"));

.gem-c-accessible-autocomplete {
  .autocomplete__input {
    z-index: 1;
  }

  .autocomplete__dropdown-arrow-down {
    z-index: 0;
  }

  .autocomplete__option {
    @include govuk-font(19);
  }

  // needed as frontend doesn't currently support select multiples
  // hopefully will in future and this can be removed
  .govuk-select[multiple] {
    height: auto;
  }

  .js-enabled & .app-c-autocomplete__multiselect-instructions {
    display: none;
  }

  .autocomplete__list .autocomplete__option {
    padding: 5px 6px;

    &:before {
      position: relative;
      top: 3px;
      padding-top: 2px;
    }
  }
}

.gem-c-accessible-autocomplete--hide-menu {
  .autocomplete__menu {
    display: none;
  }
}

.gem-c-accessible-autocomplete--hide-facets {
  .autocomplete__list {
    display: none;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk_publishing_components-15.3.0 app/assets/stylesheets/govuk_publishing_components/components/_accessible-autocomplete.scss
govuk_publishing_components-15.2.0 app/assets/stylesheets/govuk_publishing_components/components/_accessible-autocomplete.scss