mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 11:00:47 +02:00
27 lines
1020 B
TypeScript
27 lines
1020 B
TypeScript
// Centralized z-index constants for new usages added in this branch.
|
|
// Keep values identical to their original inline usages.
|
|
|
|
export const Z_INDEX_FULLSCREEN_SURFACE = 1000;
|
|
export const Z_INDEX_OVER_FULLSCREEN_SURFACE = 1300;
|
|
export const Z_ANALYTICS_MODAL = 1301;
|
|
// Config/Settings modal - should appear above analytics modal when navigating from onboarding
|
|
export const Z_INDEX_CONFIG_MODAL = 1400;
|
|
|
|
export const Z_INDEX_FILE_MANAGER_MODAL = 1200;
|
|
export const Z_INDEX_OVER_FILE_MANAGER_MODAL = 1300;
|
|
|
|
export const Z_INDEX_AUTOMATE_MODAL = 1100;
|
|
|
|
// page editor Zindexes
|
|
export const Z_INDEX_HOVER_ACTION_MENU = 100;
|
|
export const Z_INDEX_SELECTION_BOX = 1000;
|
|
export const Z_INDEX_DROP_INDICATOR = 1001;
|
|
export const Z_INDEX_DRAG_BADGE = 1001;
|
|
// Modal that appears on top of config modal (e.g., restart confirmation, update modal)
|
|
export const Z_INDEX_OVER_CONFIG_MODAL = 2000;
|
|
|
|
// Toast notifications and error displays - Always on top (higher than rainbow theme at 10000)
|
|
export const Z_INDEX_TOAST = 10001;
|
|
|
|
|