|
10 | 10 | --#{$prefix}header-hover-color: #{$header-hover-color};
|
11 | 11 | --#{$prefix}header-disabled-color: #{$header-disabled-color};
|
12 | 12 | --#{$prefix}header-active-color: #{$header-active-color};
|
| 13 | + --#{$prefix}header-transition: #{$header-transition}; |
13 | 14 | --#{$prefix}header-brand-padding-y: #{$header-brand-padding-y};
|
14 | 15 | --#{$prefix}header-brand-color: #{$header-brand-color};
|
15 | 16 | --#{$prefix}header-brand-hover-color: #{$header-brand-hover-color};
|
|
25 | 26 | --#{$prefix}header-nav-link-padding-y: #{$header-nav-link-padding-y};
|
26 | 27 | --#{$prefix}header-divider-border-color: #{$header-divider-border-color};
|
27 | 28 | --#{$prefix}header-divider-border: #{$header-divider-border-width} solid var(--#{$prefix}header-divider-border-color);
|
28 |
| - --#{$prefix}subheader-min-height: #{$subheader-min-height}; |
29 | 29 | // scss-docs-end header-css-vars
|
30 | 30 |
|
31 | 31 | position: relative;
|
32 | 32 | display: flex;
|
33 | 33 | flex-wrap: wrap; // allow us to do the line break for collapsing content
|
34 | 34 | align-items: center;
|
35 | 35 | justify-content: space-between; // space out brand from logo
|
36 |
| - min-height: var(--#{$prefix}header-min-height); |
| 36 | + // min-height: var(--#{$prefix}header-min-height); |
37 | 37 | padding: var(--#{$prefix}header-padding-y) var(--#{$prefix}header-padding-x);
|
38 | 38 | background: var(--#{$prefix}header-bg);
|
39 | 39 | border-bottom: var(--#{$prefix}header-border);
|
| 40 | + @include transition(var(--#{$prefix}header-transition)); |
40 | 41 |
|
41 | 42 | // Because flex properties aren't inherited, we need to redeclare these first
|
42 | 43 | // few properties so that content nested within behave properly.
|
|
59 | 60 | }
|
60 | 61 | }
|
61 | 62 |
|
62 |
| - .container:first-child, |
63 |
| - .container-fluid:first-child { |
64 |
| - min-height: calc(var(--#{$prefix}header-min-height) - (2 * var(--#{$prefix}header-padding-y))); // stylelint-disable-line function-disallowed-list |
65 |
| - } |
66 |
| - |
67 |
| - .container:nth-child(n+2), |
68 |
| - .container-fluid:nth-child(n+2) { |
69 |
| - min-height: calc(var(--#{$prefix}subheader-min-height) - (2 * var(--#{$prefix}header-padding-y))); // stylelint-disable-line function-disallowed-list |
70 |
| - } |
71 |
| - |
72 | 63 | &.header-sticky {
|
73 | 64 | position: sticky;
|
74 | 65 | top: 0;
|
|
0 commit comments