Skip to content

Commit

Permalink
fix(headers): restore sticky header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed May 8, 2017
1 parent e7acc7e commit 5ba4714
Showing 1 changed file with 17 additions and 25 deletions.
42 changes: 17 additions & 25 deletions app/scripts/modules/core/utils/stickyHeader/stickyHeader.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,23 @@
box-shadow: 0 8px 6px -6px @mid_lighter_grey;
}
}
&.heading-sticky {
position: fixed;
z-index: 2;
margin: 0;
box-shadow: none;
.shadowed {
box-shadow: 0 8px 6px -6px @mid_lighter_grey;
}
.sticky-only {
display: inline;
}
.shadowed {
display: flex;
flex: 1 1 auto;
background-color: @pod_header_blue;
align-items: center;
}
}
&.not-sticky {
top: unset;
z-index: 3;
}
.clearfix();
}

&.sticky-only {
display: none;
.heading-sticky {
position: fixed;
z-index: 2;
margin: 0;
.sticky-only {
display: inline;
}
.clearfix();
}
.not-sticky {
top: unset;
width: 100%;
z-index: 3;
}

.sticky-only {
display: none;
}

0 comments on commit 5ba4714

Please sign in to comment.