Update for latest md changes

This commit is contained in:
Francis Lachapelle
2016-07-12 11:29:24 -04:00
parent 8f382192ee
commit 7e950896ba
11 changed files with 31 additions and 33 deletions
@@ -5,15 +5,22 @@ $sg-subheader-padding-top-bottom: ($subheader-padding - ($icon-button-height - $
$sg-subheader-padding-left-right: $baseline-grid;
.md-subheader-wrapper:not(.md-sticky-no-effect).md-sticky-clone {
// Increase the z-index of sticky subheaders so it always appear above
// seconday buttons of list items.
// See z-index changes in custom list.scss.
z-index: $z-index-sidenav;
}
.sg-md-subheader {
&--with-icon ._md-subheader-inner,
&--with-secondary-icon ._md-subheader-inner {
&--with-icon .md-subheader-inner,
&--with-secondary-icon .md-subheader-inner {
line-height: $sg-avatar-width + ($sg-subheader-padding-top-bottom)*2;
padding: ($subheader-padding - ($icon-button-height - $subheader-font-size)/2) $baseline-grid;
padding: 0;
padding-left: $subheader-padding;
}
&--with-icon ._md-subheader-inner {
&--with-icon .md-subheader-inner {
padding-left: 0;
}
&--fixed {