Skip to content

Commit

Permalink
Merge pull request #799 from tf/logo-opacity
Browse files Browse the repository at this point in the history
Allow specifying opacity of image variant logo
  • Loading branch information
tf authored Jul 24, 2017
2 parents a2e719a + dc2220f commit e450200
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@import "../alignment";

// Opacity of the logo
$logo-background-image-variant-opacity: null !default;

/// Opacity of the logo on the first page
$logo-background-image-variant-first-page-opacity: null !default;

@mixin logo-variant-background-image(
$first-page-only,
$top,
Expand Down Expand Up @@ -44,4 +50,12 @@
background-image: image-url("pageflow/themes/#{$theme-name}/logo_header_invert.png");
}
}

.page .scroller > div:after {
opacity: $logo-background-image-variant-opacity;
}

.page:first-child .scroller > div:after {
opacity: $logo-background-image-variant-first-page-opacity;
}
}

0 comments on commit e450200

Please sign in to comment.