Sha256: 590fec1bed10e4a9ad71eb8b83de4c22f1c632fcc906264ea67e55d6056fc754

Contents?: true

Size: 1.5 KB

Versions: 25

Compression:

Stored size: 1.5 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;
  }

  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)) {
      @if mixin-exists(sr-only) {
        @include sr-only();
      }
      @if mixin-exists(visually-hidden) {
        @include visually-hidden();
      }
    }
  }
}

#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

25 entries across 25 versions & 1 rubygems

Version Path
blacklight-7.31.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.30.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.29.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.28.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.27.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.27.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.26.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.26.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.25.3 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.25.2 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.25.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.25.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.24.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.23.0.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.23.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.22.2 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.22.1 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.22.0 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.21.2 app/assets/stylesheets/blacklight/_header.scss
blacklight-7.21.1 app/assets/stylesheets/blacklight/_header.scss