Sha256: 7adfee12271fa56edef4b180714b0bed44b75bfdf8e0c835e043e9bf314b5a97

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

////
/// @group logo
////

/// Variant of logo to display:
///
/// - `"first-page"`: Background image on first page.
///
/// - `"all-pages"`: Background image on all pages.
///
/// - `"watermark"`: Use `.header_logo` element as logo.
$logo-variant: "first-page" !default;

/// Top position of logo.
$logo-top: 30px !default;

/// Width of the logo. (Watermark variant only)
$logo-width: 100px !default;

/// Width of the logo in percent. (Non-watermark variants only)
$logo-relative-width: 13% !default;

/// Min Width of the logo. (Non-watermark variants only)
$logo-min-width: 100px !default;

/// Max Width of the logo. (Non-watermark variants only)
$logo-max-width: 221px !default;

/// Height of the logo.
$logo-height: 50px !default;

/// Height of the logo in phone layout. (Watermark variant only)
$logo-phone-height: 24px !default;

@import "./logo/variant/background_image";
@import "./logo/variant/watermark";

@if $logo-variant == "watermark" {
  @include logo-variant-watermark(
    $top: $logo-top,
    $width: $logo-width,
    $height: $logo-height,
    $phone-height: $logo-phone-height
  );
} @else {
  @include logo-variant-background-image(
    $first-page-only: ($logo-variant == "first-page"),
    $top: $logo-top,
    $min-width: $logo-min-width,
    $max-width: $logo-max-width,
    $width: $logo-relative-width,
    $height: $logo-height
  );
}

Version data entries

5 entries across 5 versions & 1 rubygems

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