(css) Improve subheader with icon buttons

This commit is contained in:
Francis Lachapelle
2016-05-17 15:10:09 -04:00
parent 8c4d4e0e2d
commit 87fbedb89d
4 changed files with 15 additions and 11 deletions
@@ -6,12 +6,15 @@ $sg-subheader-padding-left-right: $baseline-grid;
.sg-md-subheader {
&--icon-button ._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: $sg-subheader-padding-top-bottom $sg-subheader-padding-left-right;
padding: 0;
padding-left: $subheader-padding;
padding-right: 0;
}
&--with-icon ._md-subheader-inner {
padding-left: 0;
}
&--fixed {
position: fixed;