Sha256: d1295bdb98c426e32e3f00f9ae667f53942ccae3493b0e8e0c88f6d1f72c4bc0

Contents?: true

Size: 904 Bytes

Versions: 5

Compression:

Stored size: 904 Bytes

Contents

@mixin logo-variant-background-image(
  $first-page-only,
  $top,
  $min-width,
  $max-width,
  $width,
  $height
) {
  $page-selector: if($first-page-only, ":first-child", "");

  .js .page#{$page-selector} {
    .content_and_background .scroller > div:after {
      content: "";
      position: absolute;
      left: 8%;
      top: $top;
      z-index: 200;
      min-width: $min-width;
      max-width: $max-width;
      width: $width;
      height: $height;
      background-image: image-url("pageflow/themes/#{$theme-name}/logo_header.png");
      background-repeat: no-repeat;
      background-size: contain;
      background-position: left top;

      @include mobile {
        padding-top: 1%;
        height: 35px;
      }
    }

    &.invert .content_and_background .scroller > div:after {
      background-image: image-url("pageflow/themes/#{$theme-name}/logo_header_invert.png");
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pageflow-0.11.4 app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss
pageflow-0.11.3 app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss
pageflow-0.11.2 app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss
pageflow-0.11.1 app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss
pageflow-0.11.0 app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss