Buckets:
| /* ========================================================= | |
| SLEEPYFX PRO — global.css | |
| Reset, base, body, layout shell, typography, utilities. | |
| ========================================================= */ | |
| /* ── Disable transitions during theme load ── */ | |
| .no-transition, | |
| .no-transition * { | |
| transition: none ; | |
| } | |
| /* ── Full Reset ── */ | |
| *, *::before, *::after { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| -webkit-tap-highlight-color: transparent; | |
| -webkit-touch-callout: none; | |
| } | |
| html { | |
| font-size: 16px; | |
| -webkit-text-size-adjust: 100%; | |
| text-size-adjust: 100%; | |
| height: -webkit-fill-available; | |
| height: 100%; | |
| scroll-behavior: smooth; | |
| /* Prevent iOS rubber-band overscroll on root */ | |
| overscroll-behavior: none; | |
| } | |
| body { | |
| font-family: var(--font-ui); | |
| font-size: var(--fs-14); | |
| font-weight: var(--fw-4); | |
| line-height: 1.5; | |
| color: var(--text-1); | |
| background-color: var(--bg); | |
| min-height: 100vh; | |
| min-height: -webkit-fill-available; | |
| overscroll-behavior: none; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| /* Subtle noise grain for depth */ | |
| position: relative; | |
| } | |
| /* Fine-grain noise overlay */ | |
| body::before { | |
| content: ''; | |
| position: fixed; | |
| inset: 0; | |
| background-image: var(--noise); | |
| pointer-events: none; | |
| z-index: 0; | |
| opacity: 0.5; | |
| } | |
| /* ── App wrapper ── */ | |
| #app { | |
| position: relative; | |
| z-index: 1; | |
| width: 100%; | |
| min-height: 100vh; | |
| } | |
| /* ── Scrollbars (Webkit) ── */ | |
| ::-webkit-scrollbar { | |
| width: 3px; | |
| height: 3px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--border); | |
| border-radius: var(--r-full); | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--text-3); | |
| } | |
| * { scrollbar-width: thin; scrollbar-color: var(--border) transparent; } | |
| /* ── Selection ── */ | |
| ::selection { | |
| background: var(--cyan-mid); | |
| color: var(--text-1); | |
| } | |
| /* ── Focus Visible (keyboard nav only) ── */ | |
| :focus-visible { | |
| outline: 2px solid var(--cyan); | |
| outline-offset: 2px; | |
| border-radius: var(--r-1); | |
| } | |
| :focus:not(:focus-visible) { | |
| outline: none; | |
| } | |
| /* ── Links ── */ | |
| a { | |
| color: var(--cyan); | |
| text-decoration: none; | |
| transition: opacity var(--t-fast); | |
| } | |
| a:hover { opacity: 0.80; } | |
| /* ── Images ── */ | |
| img, svg { | |
| max-width: 100%; | |
| display: block; | |
| } | |
| /* ── Lists ── */ | |
| ul, ol { list-style: none; } | |
| /* ── Button Reset ── */ | |
| button { | |
| font-family: var(--font-ui); | |
| cursor: pointer; | |
| border: none; | |
| background: none; | |
| color: inherit; | |
| touch-action: manipulation; | |
| -webkit-user-select: none; | |
| user-select: none; | |
| /* Override transition reset for buttons */ | |
| transition: transform var(--t-fast), opacity var(--t-fast), | |
| background-color var(--t-fast), border-color var(--t-fast), | |
| box-shadow var(--t-fast); | |
| } | |
| /* ── Input / Textarea / Select Reset ── */ | |
| input, textarea, select { | |
| font-family: var(--font-ui); | |
| font-size: var(--fs-14); | |
| color: var(--text-1); | |
| background: var(--input-bg); | |
| border: 1px solid var(--border); | |
| border-radius: var(--r-2); | |
| outline: none; | |
| -webkit-appearance: none; | |
| appearance: none; | |
| transition: border-color var(--t-fast), box-shadow var(--t-fast); | |
| } | |
| input:focus, textarea:focus, select:focus { | |
| border-color: var(--border-active); | |
| box-shadow: 0 0 0 3px var(--cyan-dim); | |
| } | |
| input::placeholder, textarea::placeholder { color: var(--text-3); } | |
| textarea { resize: vertical; line-height: 1.6; } | |
| /* ── Page Shell ── */ | |
| .page { | |
| max-width: var(--page-max); | |
| margin: 0 auto; | |
| padding-top: calc(var(--topbar-h) + var(--safe-top)); | |
| padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + var(--sp-4)); | |
| padding-left: max(var(--sp-4), var(--safe-left)); | |
| padding-right: max(var(--sp-4), var(--safe-right)); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| } | |
| /* Page with HUD bar below topbar */ | |
| .page--hud { | |
| padding-top: calc(var(--topbar-h) + var(--hud-h) + var(--safe-top)); | |
| } | |
| /* Desktop wide page */ | |
| @media (min-width: 768px) { | |
| .page { | |
| max-width: var(--page-wide); | |
| } | |
| } | |
| /* ── Sections ── */ | |
| .section { | |
| margin-bottom: var(--sp-4); | |
| } | |
| .section--sm { margin-bottom: var(--sp-3); } | |
| .section--lg { margin-bottom: var(--sp-6); } | |
| /* ── Content stack ── */ | |
| .stack { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .stack--2 { gap: var(--sp-2); } | |
| .stack--3 { gap: var(--sp-3); } | |
| .stack--4 { gap: var(--sp-4); } | |
| .stack--6 { gap: var(--sp-6); } | |
| /* ── Row ── */ | |
| .row { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .row--between { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .row--start { justify-content: flex-start; } | |
| .row--end { justify-content: flex-end; } | |
| .row--center { justify-content: center; } | |
| .row--2 { gap: var(--sp-2); } | |
| .row--3 { gap: var(--sp-3); } | |
| .row--4 { gap: var(--sp-4); } | |
| .row--6 { gap: var(--sp-6); } | |
| .row--wrap { flex-wrap: wrap; } | |
| /* ── Grid ── */ | |
| .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); } | |
| .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-2); } | |
| .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); } | |
| .grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--sp-3); } | |
| /* ── Flex Utilities ── */ | |
| .flex-1 { flex: 1 1 0%; } | |
| .flex-none { flex: none; } | |
| .flex-shrink-0 { flex-shrink: 0; } | |
| /* ── Typography Scale ── */ | |
| .t-display { | |
| font-family: var(--font-ui); | |
| font-size: var(--fs-36); | |
| font-weight: var(--fw-7); | |
| line-height: 1.1; | |
| letter-spacing: -0.03em; | |
| } | |
| .t-h1 { font-size: var(--fs-24); font-weight: var(--fw-7); line-height: 1.2; letter-spacing: -0.02em; } | |
| .t-h2 { font-size: var(--fs-20); font-weight: var(--fw-6); line-height: 1.3; } | |
| .t-h3 { font-size: var(--fs-16); font-weight: var(--fw-6); line-height: 1.4; } | |
| .t-body { font-size: var(--fs-14); font-weight: var(--fw-4); line-height: 1.6; } | |
| .t-small { font-size: var(--fs-13); font-weight: var(--fw-4); } | |
| .t-xs { font-size: var(--fs-12); font-weight: var(--fw-4); } | |
| .t-label { | |
| font-size: var(--fs-10); | |
| font-weight: var(--fw-6); | |
| letter-spacing: 0.07em; | |
| text-transform: uppercase; | |
| font-family: var(--font-mono); | |
| } | |
| .t-mono { font-family: var(--font-mono); } | |
| /* Color helpers */ | |
| .c-1 { color: var(--text-1); } | |
| .c-2 { color: var(--text-2); } | |
| .c-3 { color: var(--text-3); } | |
| .c-cyan { color: var(--cyan); } | |
| .c-green { color: var(--green); } | |
| .c-red { color: var(--red); } | |
| .c-gold { color: var(--gold); } | |
| .c-orange { color: var(--orange); } | |
| .c-purple { color: var(--purple); } | |
| /* Profit/Loss */ | |
| .profit { color: var(--green); } | |
| .loss { color: var(--red); } | |
| .neutral { color: var(--text-2); } | |
| .premium { color: var(--gold); } /* PDH/PDL, NWOG */ | |
| .signal { color: var(--cyan); } /* actionable signal */ | |
| /* ── Divider ── */ | |
| .divider { | |
| height: 1px; | |
| background: var(--border); | |
| margin: var(--sp-4) 0; | |
| } | |
| .divider--vert { | |
| width: 1px; | |
| height: 100%; | |
| min-height: 16px; | |
| background: var(--border); | |
| flex-shrink: 0; | |
| } | |
| /* ── Truncate ── */ | |
| .truncate { | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| /* ── Overflow scroll ── */ | |
| .overflow-x { | |
| overflow-x: auto; | |
| -webkit-overflow-scrolling: touch; | |
| scrollbar-width: none; | |
| } | |
| .overflow-x::-webkit-scrollbar { display: none; } | |
| /* ── Visibility ── */ | |
| .hidden { display: none ; } | |
| .invisible { visibility: hidden; } | |
| .opacity-0 { opacity: 0; } | |
| /* Screen reader only */ | |
| .sr-only { | |
| position: absolute; width: 1px; height: 1px; | |
| padding: 0; margin: -1px; overflow: hidden; | |
| clip: rect(0,0,0,0); white-space: nowrap; border: 0; | |
| } | |
| /* ── Spacing helpers ── */ | |
| .mt-1 { margin-top: var(--sp-1); } | |
| .mt-2 { margin-top: var(--sp-2); } | |
| .mt-3 { margin-top: var(--sp-3); } | |
| .mt-4 { margin-top: var(--sp-4); } | |
| .mt-6 { margin-top: var(--sp-6); } | |
| .mb-2 { margin-bottom: var(--sp-2); } | |
| .mb-3 { margin-bottom: var(--sp-3); } | |
| .mb-4 { margin-bottom: var(--sp-4); } | |
| .p-3 { padding: var(--sp-3); } | |
| .p-4 { padding: var(--sp-4); } | |
| .px-4 { padding-left: var(--sp-4); padding-right: var(--sp-4); } | |
| /* ── Width helpers ── */ | |
| .w-full { width: 100%; } | |
| .w-auto { width: auto; } | |
| .min-w-0 { min-width: 0; } | |
| /* ── Text align ── */ | |
| .text-left { text-align: left; } | |
| .text-center { text-align: center; } | |
| .text-right { text-align: right; } | |
| /* ── Cursor ── */ | |
| .cursor-pointer { cursor: pointer; } | |
| .cursor-default { cursor: default; } | |
| /* ── No select ── */ | |
| .no-select { | |
| -webkit-user-select: none; | |
| user-select: none; | |
| } | |
| /* ── Touch target helper (44×44 minimum) ── */ | |
| .touch { | |
| min-width: 44px; | |
| min-height: 44px; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| /* ── Reduced Motion ── */ | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| } | |
| } |
Xet Storage Details
- Size:
- 9.04 kB
- Xet hash:
- ae8db74238e55abeceda3547186f9569ea64c2296584211196b4c8e40374f513
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.