diff options
| author | Henry Jameson <me@hjkos.com> | 2022-06-22 00:30:10 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-06-22 00:30:10 +0300 |
| commit | 872db65fd86aaa605789383e629321e32447a997 (patch) | |
| tree | 498d4bba5b24a9dc7855809388dcea4a29389562 /src/App.scss | |
| parent | 93293db038a864aafd0f6da3df15bc86e0370bfc (diff) | |
slight z-index refactor and attempt at organizing it
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/App.scss b/src/App.scss index 79c07683..78835c61 100644 --- a/src/App.scss +++ b/src/App.scss @@ -4,6 +4,13 @@ :root { --navbar-height: 3.5rem; --post-line-height: 1.4; + // Z-Index stuff + --ZI_media_modal: 90000; + --ZI_navbar_popovers: 85000; + --ZI_navbar: 80000; + --ZI_modals_popovers: 75000; + --ZI_modals: 70000; + --ZI_popovers: 60000; } html { @@ -117,7 +124,7 @@ i[class*=icon-], } nav { - z-index: 1000; + z-index: var(--ZI_navbar); color: var(--topBarText); background-color: $fallback--fg; background-color: var(--topBar, $fallback--fg); |
