Sha256: c296ae8c2276e7c03fad76c8438d91db354d7e407b64d58c796a54527e083bf9

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

.impersonation_banner {
  position: fixed;
  top: 0;
  width: 100%;
  height: $impersonation-banner-height;
  min-width: $minimum-application-width;
  padding-top: 1px; // shimming visual alignment
  font-size: $font-size-100;
  z-index: $in-front-of-primary-and-banner;
}

.has-impersonation_banner {
  .ambassador_banner,
  #header-is_fixed.affix {
    margin-top: $impersonation-banner-height;
  }
  .ambassador_banner-dropdown_container.open {
    top: $ambassador-banner-text-height + $impersonation-banner-height;
  }
  .ambassador_banner-text:after {
    top: $impersonation-banner-height;
  }
  .nav-mobile-menu.in {
    @media(max-width: $grid-float-breakpoint) {
      top: $impersonation-banner-height;
    }
  }
  .navigation-account_dropdown.in {
    @media(min-width: $grid-float-breakpoint) {
      top: $impersonation-banner-height;
    }
  }
}

.btn.btn-cancel_impersonation {
  height: auto;
  float: right;
  margin-top: -3px; //account for fa-close icon throwing off vertical alignment
  color: $color-white;
  font-size: $font-size-100;
  text-decoration: none;

  .fa {
    font-size: $font-size-100;
  }

  &:link,
  &:hover,
  &:focus,
  &:active,
  &:active:focus {
    color: $color-white;
    padding: 0;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forever_style_guide-3.3.3 app/assets/stylesheets/forever_style_guide/modules/_impersonation_banner.scss