Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Z-Index Standardization and Component Refactoring
This pull request standardizes the use of
z-index
values across various components by introducing new CSS custom properties and refactoring existing styles.Introduction of CSS Custom Properties for
z-index
projects/client/src/style/layers/index.css
, to define custom properties forz-index
values. These properties are categorized into base layers, interactive layers, and system layers, providing a clear and organized system for managing visual hierarchy.Refactoring Components to Use New
z-index
Variablesz-index
custom properties, ensuring consistency and maintainability in managing the visual stacking order of elements.CoverImage
,Button
,PopupMenu
,CardActionBar
,CardCover
,DropdownList
,MobileNavbar
,Navbar
, andSearchInput
.Other Component Updates
DropdownList
component to use the newz-index
custom properties and fixed the dropdown rendering logic, improving both visual presentation and functionality.Miscellaneous
layers/index.css
file inprojects/client/src/style/index.ts
to ensure the custom properties are available globally, promoting consistency and ease of use.(These changes, like a meticulous stage manager orchestrating the visual hierarchy of a theatrical production, ensure that elements are displayed in the correct order and that the user interface remains visually harmonious and accessible. The standardized
z-index
values and refactored components contribute to a more organized and maintainable codebase.)