qpp-style 9.22.0 → 9.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qpp-style",
3
- "version": "9.22.0",
3
+ "version": "9.22.1",
4
4
  "description": "Shared style guide across the QPP program.",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "https://cmsgov.github.io/qpp-style",
@@ -12,7 +12,7 @@ header {
12
12
  flex-wrap: wrap;
13
13
  justify-content: space-between;
14
14
  position: relative;
15
- z-index: 1;
15
+ z-index: $zIndexTopNavClosed;
16
16
  @include breakpoint(sm) {
17
17
  box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
18
18
  display: block;
@@ -313,6 +313,7 @@ header {
313
313
  }
314
314
 
315
315
  .nav-section.open {
316
+ z-index: $zIndexTopNavOpen;
316
317
  background-color: $gray-02;
317
318
  @include breakpoint(sm) {
318
319
  background-color: $gray-02;
@@ -1,3 +1,4 @@
1
1
  @import './color';
2
- @import './type';
3
2
  @import './layout';
3
+ @import './type';
4
+ @import './z-index';
@@ -0,0 +1,8 @@
1
+ $zIndexTopNavClosed: 1;
2
+ $zIndexTopNavOpen: 999;
3
+ // to further populate, thus consolidating all z-indexes
4
+
5
+ :export {
6
+ zIndexTopNavClosed: $zIndexTopNavClosed;
7
+ zIndexTopNavOpen: $zIndexTopNavOpen;
8
+ }