Skip to content

Instantly share code, notes, and snippets.

@danielkuhlwein
Last active June 7, 2018 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielkuhlwein/17703f63c8e9bbd02db96c523abe2f80 to your computer and use it in GitHub Desktop.
Save danielkuhlwein/17703f63c8e9bbd02db96c523abe2f80 to your computer and use it in GitHub Desktop.
Layer Header 1 CSS
/* LAYER HEADER */
// 1st Level
.header {
background-color: $ss-white;
/* height should be about 126px at mobile and 156 on desktop */
height: calc(120px + 1vw);
transition: margin-top .4s ease-in-out;
}
.mat-icon.back-icon {
color: $ss-black-blue;
width: 31px;
height: 31px;
}
.close-layer {
cursor: pointer;
width: 58px;
}
.close-layer:hover {
background-color: rgba(108, 132, 149, .1);
}
.header .divider.mat-divider.mat-divider-vertical {
border-right-color: $ss-light-blue;
border-right-width: 2px;
}
.mat-icon.comp-icon {
width: calc(55px + 2vw);
height: calc(55px + 2vw);
}
// Get rid of the unusual padding-bottom on search within header
.header .search-container {
margin-bottom: -15px;
}
.header .title {
line-height: 28px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment