Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

Commit

Permalink
feat(toolbar): add md-hero height for large material page headers
Browse files Browse the repository at this point in the history
  • Loading branch information
justindujardin committed Dec 28, 2015
1 parent 375e912 commit a949ba8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ng2-material/components/toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $toolbar-tools-height: 64px !default;
$toolbar-height: 64px !default;
$toolbar-medium-tall-height: 88px !default;
$toolbar-tall-height: 128px !default;
$toolbar-hero-height: 256px !default;

// Mobile portrait heights
$toolbar-tools-height-mobile-portrait: 56px !default;
Expand Down Expand Up @@ -54,6 +55,12 @@ md-toolbar {
max-height: $toolbar-tall-height;
}

&.md-hero {
height: $toolbar-hero-height;
min-height: $toolbar-hero-height;
max-height: $toolbar-hero-height;
}

&.md-medium-tall {
height: $toolbar-medium-tall-height;
min-height: $toolbar-medium-tall-height;
Expand Down

0 comments on commit a949ba8

Please sign in to comment.