Sha256: a4a32b69cc968dd4a3754d7834798b5a5812b65e8154b5f8b34970e1d1a485f8

Contents?: true

Size: 668 Bytes

Versions: 14

Compression:

Stored size: 668 Bytes

Contents

// Styles below keep footer at bottom of viewport
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: calc(#{$footer-height} + #{$footer-top-margin});

  &.dashboard {
    margin-bottom: 0;
  }
}


.site-footer {
  margin-top: $footer-top-margin;
  padding: 10px;

  // Styles below keep footer at bottom of viewport
  position: absolute;
  bottom: 0;
  height: $footer-height;
  width: 100%;
}

@media (max-width: map-get($grid-breakpoints, "md")) {
  // make more room in the footer for mobile devices
  body {
    margin-bottom: calc(#{2 * $footer-height} + #{$footer-top-margin});
  }
  .site-footer {
    height: 2 * $footer-height;
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hyrax-5.0.4 app/assets/stylesheets/hyrax/_footer.scss
hyrax-5.0.3 app/assets/stylesheets/hyrax/_footer.scss
hyrax-5.0.2 app/assets/stylesheets/hyrax/_footer.scss
hyrax-5.0.1 app/assets/stylesheets/hyrax/_footer.scss
hyrax-5.0.0 app/assets/stylesheets/hyrax/_footer.scss
hyrax-5.0.0.rc3 app/assets/stylesheets/hyrax/_footer.scss
hyrax-5.0.0.rc2 app/assets/stylesheets/hyrax/_footer.scss
hyrax-5.0.0.rc1 app/assets/stylesheets/hyrax/_footer.scss
hyrax-4.0.0 app/assets/stylesheets/hyrax/_footer.scss
hyrax-4.0.0.rc3 app/assets/stylesheets/hyrax/_footer.scss
hyrax-4.0.0.rc2 app/assets/stylesheets/hyrax/_footer.scss
hyrax-4.0.0.rc1 app/assets/stylesheets/hyrax/_footer.scss
hyrax-4.0.0.beta2 app/assets/stylesheets/hyrax/_footer.scss
hyrax-4.0.0.beta1 app/assets/stylesheets/hyrax/_footer.scss