Sha256: 120a5e5f26a5a3f27faadc7f4508df39c60259cc40efd531285a5e90ee99cf79

Contents?: true

Size: 1.48 KB

Versions: 17

Compression:

Stored size: 1.48 KB

Contents

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

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

.navbar-logo {  /* 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

17 entries across 17 versions & 1 rubygems

Version Path
blacklight-7.14.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.13.2 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.13.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.13.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.12.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.12.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.11.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.10.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.9.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.8.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.8.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.7.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.6.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.5.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.5.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.4.2 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.4.1 app/assets/stylesheets/blacklight/_header.scss