Sleepyfx's picture
download
raw
27.2 kB
/* ============================================================================= SleepyFX Pro — Modal / Sheet / Toast / Overlay Full overlay stack. All values reference theme.css tokens. Includes sheet drag handle, toast stack, context menu, and prompt dialog. No hardcoded colours or dimensions — all custom properties. ============================================================================= */ /* ============================================================================= OVERLAY BACKDROP ============================================================================= */ .overlay { position: fixed; inset: 0; background: oklch(8% 0.015 240 / 0.82); backdrop-filter: blur(5px) saturate(0.8); -webkit-backdrop-filter: blur(5px) saturate(0.8); z-index: var(--z-overlay); display: flex; align-items: center; justify-content: center; padding: var(--space-5); animation: fadeIn 160ms var(--ease-out) both; overscroll-behavior: none; touch-action: none; } .overlay.align-bottom { align-items: flex-end; padding: 0; } .overlay.align-top { align-items: flex-start; padding-top: var(--space-7); } .overlay.is-exiting { animation: fadeOut 200ms var(--ease-in) both; pointer-events: none; } /* ============================================================================= MODAL DIALOG ============================================================================= */ .modal { position: relative; background: var(--bg-card); border: 1px solid var(--border-medium); border-radius: var(--radius-xl); padding: var(--space-6); width: 100%; max-width: 400px; max-height: 90dvh; max-height: 90vh; overflow-y: auto; overflow-x: hidden; box-shadow: var(--shadow-modal); animation: scaleIn 220ms var(--ease-expo-out) both; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) transparent; } .modal::-webkit-scrollbar { width: 4px; } .modal::-webkit-scrollbar-track { background: transparent; } .modal::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: var(--radius-pill); } .modal.is-exiting { animation: scaleOut 180ms var(--ease-in) both; pointer-events: none; } /* Modal size variants */ .modal-xs { max-width: 280px; } .modal-sm { max-width: 340px; } .modal-md { max-width: 480px; } .modal-lg { max-width: 600px; } .modal-xl { max-width: 760px; } /* --- Header --- */ .modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); } .modal-header-left { display: flex; align-items: center; gap: var(--space-3); flex: 1; min-width: 0; } .modal-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-md); flex-shrink: 0; } .modal-icon.icon-brand { background: var(--brand-light); color: var(--brand); } .modal-icon.icon-success { background: var(--success-muted); color: var(--success); } .modal-icon.icon-danger { background: var(--danger-muted); color: var(--danger); } .modal-icon.icon-warning { background: var(--warning-muted); color: var(--warning); } .modal-icon.icon-info { background: var(--info-muted); color: var(--info); } .modal-icon.icon-neutral { background: var(--bg-elevated); color: var(--text-secondary); } .modal-titles { flex: 1; min-width: 0; } .modal-title { font-size: var(--text-lg); font-weight: var(--font-semibold); color: var(--text-primary); letter-spacing: var(--tracking-snug); line-height: var(--leading-tight); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .modal-subtitle { font-size: var(--text-sm); color: var(--text-tertiary); margin-top: 3px; line-height: var(--leading-snug); } /* --- Close button --- */ .modal-close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--radius-md); background: transparent; border: 1px solid transparent; color: var(--text-secondary); cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast); -webkit-tap-highlight-color: transparent; } .modal-close:hover { background: var(--bg-muted); color: var(--text-primary); border-color: var(--border); } .modal-close:active { transform: scale(0.88); } .modal-close svg { width: 16px; height: 16px; pointer-events: none; } /* --- Body --- */ .modal-body { color: var(--text-secondary); font-size: var(--text-base); line-height: var(--leading-relaxed); } .modal-body p { margin: 0; max-width: none; color: inherit; } .modal-body p+p { margin-top: var(--space-3); } /* --- Full-bleed internal divider --- */ .modal-divider { border: none; border-top: 1px solid var(--border); margin: var(--space-5) calc(var(--space-6) * -1); width: calc(100% + var(--space-6) * 2); } /* --- Modal section --- */ .modal-section { margin-bottom: var(--space-5); } .modal-section:last-child { margin-bottom: 0; } .modal-section-label { font-size: var(--text-xs); font-weight: var(--font-semibold); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: var(--tracking-caps); margin-bottom: var(--space-3); } /* --- Footer --- */ .modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border); flex-wrap: wrap; } .modal-footer.justify-start { justify-content: flex-start; } .modal-footer.justify-center { justify-content: center; } .modal-footer.justify-between { justify-content: space-between; } /* --- Confirmation variant --- */ .modal-confirm.is-destructive .modal-title { color: var(--danger); } .modal-confirm.is-destructive .modal-icon { background: var(--danger-muted); color: var(--danger); } /* ============================================================================= BOTTOM SHEET / DRAWER ============================================================================= */ .sheet-backdrop { position: fixed; inset: 0; background: oklch(8% 0.015 240 / 0.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: var(--z-overlay); animation: fadeIn 200ms var(--ease-out) both; touch-action: none; } .sheet-backdrop.is-exiting { animation: fadeOut 200ms var(--ease-in) both; pointer-events: none; } .sheet { position: fixed; bottom: 0; left: 0; right: 0; max-height: 85dvh; max-height: 85vh; background: var(--bg-card); border-top: 1px solid var(--border-medium); border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-modal); z-index: var(--z-modal); display: flex; flex-direction: column; padding: var(--space-3) var(--space-5) calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); animation: slideUp 280ms var(--ease-expo-out) both; overscroll-behavior: contain; touch-action: pan-y; } .sheet.is-exiting { animation: slideOutDown 220ms var(--ease-in) both; pointer-events: none; } /* Drag handle */ .sheet-handle { width: 40px; height: 4px; background: var(--border-medium); border-radius: var(--radius-pill); margin: 0 auto var(--space-4); flex-shrink: 0; cursor: grab; user-select: none; transition: background var(--transition-fast), width var(--transition-fast); } .sheet-handle:hover { background: var(--text-tertiary); width: 52px; } .sheet-handle:active { cursor: grabbing; } /* Sheet header */ .sheet-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); flex-shrink: 0; } .sheet-title { font-size: var(--text-lg); font-weight: var(--font-semibold); color: var(--text-primary); letter-spacing: var(--tracking-snug); line-height: var(--leading-tight); } .sheet-subtitle { font-size: var(--text-sm); color: var(--text-tertiary); margin-top: 2px; } .sheet-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--bg-muted); border: none; color: var(--text-secondary); cursor: pointer; flex-shrink: 0; transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast); -webkit-tap-highlight-color: transparent; } .sheet-close:hover { background: var(--bg-elevated); color: var(--text-primary); } .sheet-close:active { transform: scale(0.88); } .sheet-close svg { width: 16px; height: 16px; } /* Scrollable content */ .sheet-body { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) transparent; } .sheet-body::-webkit-scrollbar { width: 3px; } .sheet-body::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: var(--radius-pill); } /* Sticky CTA footer */ .sheet-footer { flex-shrink: 0; padding-top: var(--space-4); margin-top: var(--space-3); border-top: 1px solid var(--border); display: flex; gap: var(--space-3); } /* Sheet size helpers */ .sheet-sm { max-height: 40dvh; max-height: 40vh; } .sheet-md { max-height: 60dvh; max-height: 60vh; } .sheet-lg { max-height: 85dvh; max-height: 85vh; } .sheet-full { max-height: 96dvh; max-height: 96vh; } /* ============================================================================= TOAST NOTIFICATIONS ============================================================================= */ .toast-container { position: fixed; z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--space-2); pointer-events: none; top: calc(var(--topbar-height, 56px) + var(--space-4)); right: var(--space-4); width: 360px; max-width: calc(100vw - var(--space-7)); } .toast { position: relative; display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--bg-elevated); border: 1px solid var(--border-medium); border-radius: var(--radius-lg); box-shadow: var(--shadow-modal); pointer-events: auto; animation: slideInRight 210ms var(--ease-expo-out) both; overflow: hidden; } .toast.is-exiting { animation: slideInRight 180ms var(--ease-in) reverse both; pointer-events: none; } /* Top accent stripe */ .toast::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--brand); border-radius: var(--radius-lg) var(--radius-lg) 0 0; } /* Auto-dismiss progress bar */ .toast::before { content: ''; position: absolute; bottom: 0; left: 0; height: 2px; background: var(--border-medium); animation: toastProgress var(--toast-duration, 4000ms) linear forwards; } @keyframes toastProgress { from { width: 100%; } to { width: 0%; } } /* Status variants */ .toast-success { border-color: var(--border-success); } .toast-success::after { background: var(--success); } .toast-success::before { background: var(--success); } .toast-error { border-color: var(--border-danger); } .toast-error::after { background: var(--danger); } .toast-error::before { background: var(--danger); } .toast-warning { border-color: var(--border-warning); } .toast-warning::after { background: var(--warning); } .toast-warning::before { background: var(--warning); } .toast-info { border-color: var(--border-brand); } .toast-info::after { background: var(--brand); } .toast-info::before { background: var(--brand); } /* Toast icon */ .toast-icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; margin-top: 1px; } .toast-icon svg { width: 18px; height: 18px; } .toast-success .toast-icon { color: var(--success); } .toast-error .toast-icon { color: var(--danger); } .toast-warning .toast-icon { color: var(--warning); } .toast-info .toast-icon { color: var(--brand); } /* Toast text */ .toast-content { flex: 1; min-width: 0; } .toast-message { font-size: var(--text-sm); font-weight: var(--font-semibold); color: var(--text-primary); line-height: var(--leading-snug); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .toast-description { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: 2px; line-height: var(--leading-snug); } /* Dismiss */ .toast-dismiss { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--radius-sm); background: transparent; border: none; color: var(--text-tertiary); cursor: pointer; padding: 0; transition: background var(--transition-fast), color var(--transition-fast); margin-top: -2px; -webkit-tap-highlight-color: transparent; } .toast-dismiss:hover { background: var(--bg-muted); color: var(--text-primary); } .toast-dismiss svg { width: 14px; height: 14px; pointer-events: none; } /* Optional action CTA inside toast */ .toast-action { flex-shrink: 0; display: inline-flex; align-items: center; height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-md); background: var(--bg-muted); border: 1px solid var(--border); font-size: var(--text-xs); font-weight: var(--font-semibold); color: var(--text-primary); cursor: pointer; white-space: nowrap; transition: background var(--transition-fast), border-color var(--transition-fast); margin-top: 1px; } .toast-action:hover { background: var(--bg-elevated); border-color: var(--border-medium); } /* ============================================================================= TOAST — MOBILE ============================================================================= */ @media (max-width: 430px) { .toast-container { top: auto; right: 0; left: 0; bottom: calc(var(--bottomnav-height, 64px) + env(safe-area-inset-bottom, 0px) + var(--space-3)); width: 100%; max-width: 100%; padding: 0 var(--space-3); align-items: stretch; } .toast { width: 100%; animation: slideUp 210ms var(--ease-expo-out) both; } .toast.is-exiting { animation: slideOutDown 180ms var(--ease-in) both; pointer-events: none; } } /* ============================================================================= MODAL — MOBILE (sheet-style) ============================================================================= */ @media (max-width: 430px) { .overlay { align-items: flex-end; padding: 0; } .modal { max-width: 100%; width: 100%; border-radius: var(--radius-xl) var(--radius-xl) 0 0; border-bottom: none; border-left: none; border-right: none; max-height: 95dvh; max-height: 95vh; padding: var(--space-4); padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); animation: slideUp 280ms var(--ease-expo-out) both; } .modal.is-exiting { animation: slideOutDown 200ms var(--ease-in) both; pointer-events: none; } .modal-footer { flex-direction: column-reverse; gap: var(--space-2); } .modal-footer .btn { width: 100%; } .modal-divider { margin-left: calc(var(--space-4) * -1); margin-right: calc(var(--space-4) * -1); width: calc(100% + var(--space-4) * 2); } } /* ============================================================================= CONTEXTUAL MENU ============================================================================= */ .context-menu { position: fixed; background: var(--bg-card); border: 1px solid var(--border-medium); border-radius: var(--radius-lg); box-shadow: var(--shadow-dropdown); z-index: var(--z-modal); overflow: hidden; min-width: 180px; max-width: 260px; animation: scaleIn 120ms var(--ease-expo-out) both; transform-origin: top left; padding: var(--space-1) 0; } .context-menu.origin-top-right { transform-origin: top right; } .context-menu.origin-bottom-left { transform-origin: bottom left; } .context-menu.origin-bottom-right { transform-origin: bottom right; } .context-menu.is-exiting { animation: scaleOut 100ms var(--ease-in) both; pointer-events: none; } .context-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4); font-size: var(--text-sm); font-weight: var(--font-medium); color: var(--text-primary); cursor: pointer; transition: background var(--transition-fast); user-select: none; -webkit-tap-highlight-color: transparent; min-height: 40px; } .context-item:hover { background: var(--bg-muted); } .context-item:active { background: var(--bg-elevated); } .context-item.is-danger { color: var(--danger); } .context-item.is-danger:hover { background: var(--danger-muted); } .context-item.is-disabled { opacity: 0.38; pointer-events: none; } .context-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-tertiary); pointer-events: none; } .context-item.is-danger svg { color: var(--danger); } .context-item-shortcut { margin-left: auto; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-tertiary); background: var(--bg-muted); padding: 1px 5px; border-radius: var(--radius-xs); border: 1px solid var(--border); } .context-separator { border: none; border-top: 1px solid var(--border); margin: var(--space-1) 0; } .context-header { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); font-weight: var(--font-semibold); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: var(--tracking-caps); pointer-events: none; } /* ============================================================================= FULLSCREEN OVERLAY ============================================================================= */ .fullscreen-overlay { position: fixed; inset: 0; background: var(--bg-primary); z-index: calc(var(--z-modal) + 50); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-5); animation: fadeIn 250ms var(--ease-out) both; padding: var(--space-7); text-align: center; } .fullscreen-overlay.is-exiting { animation: fadeOut 300ms var(--ease-in) both; pointer-events: none; } .fullscreen-overlay .overlay-logo { font-family: var(--font-sans); font-size: var(--text-5xl); font-weight: var(--font-bold); color: var(--text-primary); letter-spacing: var(--tracking-tight); line-height: 1; } .fullscreen-overlay .overlay-logo .accent { color: var(--brand); } .fullscreen-overlay .overlay-tagline { font-size: var(--text-sm); color: var(--text-tertiary); letter-spacing: var(--tracking-wider); text-transform: uppercase; margin-top: calc(var(--space-2) * -1); } .fullscreen-overlay .overlay-spinner { width: 36px; height: 36px; border: 2.5px solid var(--border-medium); border-top-color: var(--brand); border-radius: 50%; animation: spin 700ms linear infinite; } .fullscreen-overlay .overlay-message { font-size: var(--text-sm); color: var(--text-tertiary); max-width: 26ch; } .fullscreen-overlay .overlay-progress { width: 140px; height: 3px; background: var(--bg-elevated); border-radius: var(--radius-pill); overflow: hidden; } .fullscreen-overlay .overlay-progress-fill { height: 100%; background: var(--brand); border-radius: var(--radius-pill); transition: width 300ms var(--ease-expo-out); } /* ============================================================================= PROMPT DIALOG ============================================================================= */ .prompt-overlay { position: fixed; inset: 0; background: oklch(8% 0.015 240 / 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: calc(var(--z-modal) + 20); display: flex; align-items: center; justify-content: center; padding: var(--space-5); animation: fadeIn 150ms var(--ease-out) both; touch-action: none; } .prompt-dialog { background: var(--bg-card); border: 1px solid var(--border-medium); border-radius: var(--radius-xl); padding: var(--space-5); width: 100%; max-width: 340px; box-shadow: var(--shadow-modal); animation: scaleIn 200ms var(--ease-expo-out) both; } .prompt-dialog.is-exiting { animation: scaleOut 160ms var(--ease-in) both; pointer-events: none; } .prompt-dialog.is-destructive .prompt-title { color: var(--danger); } .prompt-title { font-size: var(--text-md); font-weight: var(--font-semibold); color: var(--text-primary); margin-bottom: var(--space-2); line-height: var(--leading-tight); } .prompt-body { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-4); line-height: var(--leading-relaxed); max-width: none; } .prompt-input-wrap { margin-bottom: var(--space-4); } .prompt-actions { display: flex; gap: var(--space-2); justify-content: flex-end; } /* ============================================================================= ALERT BANNER (sticky below topbar — system-level notices) ============================================================================= */ .alert-banner { position: sticky; top: var(--topbar-height, 56px); left: 0; right: 0; z-index: calc(var(--z-nav) - 1); display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); font-size: var(--text-sm); font-weight: var(--font-medium); border-bottom: 1px solid transparent; transition: max-height var(--transition-base), opacity var(--transition-base), padding var(--transition-base); overflow: hidden; max-height: 0; opacity: 0; } .alert-banner.is-visible { max-height: 44px; opacity: 1; padding-top: var(--space-2); padding-bottom: var(--space-2); } .alert-banner.alert-offline { background: var(--danger-muted); color: var(--danger); border-color: var(--border-danger); } .alert-banner.alert-warning { background: var(--warning-muted); color: var(--warning); border-color: var(--border-warning); } .alert-banner.alert-info { background: var(--info-muted); color: var(--info); border-color: var(--border-info); } .alert-banner.alert-success { background: var(--success-muted); color: var(--success); border-color: var(--border-success); } .alert-banner-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; animation: pulse 1.6s ease infinite; } .alert-banner.alert-offline .alert-banner-dot { animation: none; } .alert-banner-text { flex: 1; } .alert-banner-dismiss { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--radius-sm); background: transparent; border: none; color: currentColor; opacity: 0.7; cursor: pointer; flex-shrink: 0; transition: opacity var(--transition-fast), background var(--transition-fast); -webkit-tap-highlight-color: transparent; } .alert-banner-dismiss:hover { opacity: 1; background: oklch(0% 0 0 / 0.08); } /* ============================================================================= DECISION MODAL (explains the current TRADE/AVOID/MANAGE signal) ============================================================================= */ .decision-modal { border-top: 3px solid var(--brand); } .decision-modal.decision-trade { border-top-color: var(--success); } .decision-modal.decision-prepare { border-top-color: var(--brand); } .decision-modal.decision-watch { border-top-color: var(--info); } .decision-modal.decision-wait { border-top-color: var(--border-medium); } .decision-modal.decision-avoid { border-top-color: var(--danger); } .decision-modal.decision-manage { border-top-color: var(--warning); } .decision-modal .modal-title { font-family: var(--font-mono); letter-spacing: var(--tracking-caps); text-transform: uppercase; font-size: var(--text-xl); } .decision-score-row { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--border-light); font-size: var(--text-sm); gap: var(--space-3); } .decision-score-row:last-child { border-bottom: none; } .decision-factor { color: var(--text-secondary); } .decision-value { font-family: var(--font-mono); font-weight: var(--font-semibold); color: var(--text-primary); text-align: right; } .decision-value.positive { color: var(--success); } .decision-value.negative { color: var(--danger); } .decision-value.neutral { color: var(--text-tertiary); } /* ============================================================================= TABLET / DESKTOP MODAL OVERRIDES ============================================================================= */ @media (min-width: 768px) { .modal { max-width: 420px; } .modal-lg { max-width: 600px; } .modal-xl { max-width: 760px; } /* Center sheet on tablet */ .sheet { max-width: 480px; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--radius-xl) var(--radius-xl) 0 0; } .sheet.is-exiting { animation: slideOutDown 220ms var(--ease-in) both; } }
/* =============================================================================
SleepyFX Pro — Modal / Sheet / Toast / Overlay
Full overlay stack. All values reference theme.css tokens.
Includes sheet drag handle, toast stack, context menu, and prompt dialog.
No hardcoded colours or dimensions — all custom properties.
============================================================================= */
/* =============================================================================
OVERLAY BACKDROP
============================================================================= */
.overlay {
position: fixed;
inset: 0;
background: oklch(8% 0.015 240 / 0.82);
backdrop-filter: blur(5px) saturate(0.8);
-webkit-backdrop-filter: blur(5px) saturate(0.8);
z-index: var(--z-overlay);
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-5);
animation: fadeIn 160ms var(--ease-out) both;
overscroll-behavior: none;
touch-action: none;
}
.overlay.align-bottom {
align-items: flex-end;
padding: 0;
}
.overlay.align-top {
align-items: flex-start;
padding-top: var(--space-7);
}
.overlay.is-exiting {
animation: fadeOut 200ms var(--ease-in) both;
pointer-events: none;
}
/* =============================================================================
MODAL DIALOG
============================================================================= */
.modal {
position: relative;
background: var(--bg-card);
border: 1px solid var(--border-medium);
border-radius: var(--radius-xl);
padding: var(--space-6);
width: 100%;
max-width: 400px;
max-height: 90dvh;
max-height: 90vh;
overflow-y: auto;
overflow-x: hidden;
box-shadow: var(--shadow-modal);
animation: scaleIn 220ms var(--ease-expo-out) both;
overscroll-behavior: contain;
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-thumb) transparent;
}
.modal::-webkit-scrollbar {
width: 4px;
}
.modal::-webkit-scrollbar-track {
background: transparent;
}
.modal::-webkit-scrollbar-thumb {
background: var(--scrollbar-thumb);
border-radius: var(--radius-pill);
}
.modal.is-exiting {
animation: scaleOut 180ms var(--ease-in) both;
pointer-events: none;
}
/* Modal size variants */
.modal-xs {
max-width: 280px;
}
.modal-sm {
max-width: 340px;
}
.modal-md {
max-width: 480px;
}
.modal-lg {
max-width: 600px;
}

Xet Storage Details

Size:
27.2 kB
·
Xet hash:
8d92546413d05ba6cdfd766ae88bd38e50716a42752eb0fad59427c1c6fa1722

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.