Sha256: 01f38541eeca557f5ce0da27cb49dd946cc1db8b3e1d5334a08fa53ad0cf95aa

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

/*
  Header bar at top (Bootstrap nav-bar)
*/

.topbar > .container {
  @media (max-width: breakpoint-max(xs)) {
    margin-left: 0;
    margin-right: 0;
  }
}

.navbar-brand {  /* The main logo image for the Blacklight instance */
  @if $logo-image {
    background: transparent $logo-image no-repeat top left;
  }

  @if $logo_image {
    // deprecated
    background: transparent image_url($logo_image) no-repeat top left;
  }

  display: inline-block;
  flex: 0 0 150px;
  height: 50px;
  margin-right:20px;
  margin-top: -0.4rem;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
  text-indent: 100%;
  white-space: nowrap;
  width: 150px;
}

.navbar-search {
  z-index: 1;

  .search-field {
    // This prevents the widget from being squished so the text overflows
    min-width: 7em;
  }

  .search-query-form {
    @extend .col-md-12;
    @extend .col-lg-8;
    padding-left: 0;
  }

  .submit-search-text {
    // hide 'search' label at very small screens
    @media screen and (max-width: breakpoint-max(xs)) {
      @include sr-only();
    }
  }
}

#skip-link {
  position: absolute;
  top: 5px;
  left: 10px;
  z-index: 1;

  .element-invisible {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
  }

  .element-invisible.element-focusable:active,
  .element-invisible.element-focusable:focus {
    position: static !important;
    clip: auto;
    overflow: visible;
    height: auto;
  }

  a:focus {
    background-color: $white;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-7.4.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.3.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.2.0 app/assets/stylesheets/blacklight/_header.scss