-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Z-index guidelines #4407
Comments
myrta2302
added
the
needs: 💬 pattern discussion
This issue will be discussed in the next Pattern Discussion meeting.
label
Jan 9, 2025
oliverschuerch
added
needs: 🏓 dev roundtable
To be discussed at the roundtable of esteemed developers
and removed
needs: 💬 pattern discussion
This issue will be discussed in the next Pattern Discussion meeting.
labels
Jan 14, 2025
We will not create any tokens for this. |
Resolution: Create demo page to identify problematic use cases where two elements try to be on the top layer (open dialog with toast message) and try to figure out how we can control which takes precedence. Also, confirm with an example if e.g. dropdowns or tooltips work in an open dialog in the top layer. |
gfellerph
removed
the
needs: 🏓 dev roundtable
To be discussed at the roundtable of esteemed developers
label
Jan 16, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
z-index variables:
In the styles\src\variables_commons.scss file we have:
$zindex-spinner: 990 !default;
$zindex-dropdown: 1000 !default; (top layer)
$zindex-sticky: 1020 !default;
$zindex-fixed: 1030 !default;
$zindex-modal-backdrop: 1040 !default; (top layer backdrop)
$zindex-modal: 1055 !default; (top layer)
$zindex-popover: 1060 !default; (top layer)
$zindex-tooltip: 1070 !default; (top layer)
$zindex-alert: 1080 !default; (top layer)
$zindex-header: 1090 !default;
...
Header z-index has been set so far with the custom property --header-z-index, usually with a default value of 10 (same value as post.ch header's z-index).
The text was updated successfully, but these errors were encountered: