2026-04-16 02:36:24 -04:00
|
|
|
// ── Tooltip base styles ───────────────────────────────────────────────────────
|
rename natus → sky across the codebase — natal chart abstraction is now sky throughout, since chart inputs aren't birthday-gated
Mechanical rename: 5 files (sky-wheel.js, _sky.scss, _sky_overlay.html, SkyWheelSpec.js x2), 24 in-place edits across templates/views/urls/SCSS/JS/tests/CLAUDE.md. URL names epic:natus_save → epic:sky_save (epic namespaced, no clash w. dashboard:sky_save), JS module NatusWheel → SkyWheel, DOM ids id_natus_* → id_sky_*, BEM classes natus-* → sky-*, dashboard sky_natus_data/sky_natus_preview collapsed to sky_data/sky_preview_data. No DB migration needed (User.sky_chart_data + GameEvent.SKY_SAVED already used sky-prefix). 778 ITs + Jasmine green.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 20:36:15 -04:00
|
|
|
// Shared by wallet tokens, game-kit kit bag, and sky wheel tooltips.
|
|
|
|
|
// Portal tooltips (#id_tooltip_portal, #id_sky_tooltip) are position:fixed
|
2026-04-16 02:36:24 -04:00
|
|
|
// and override z-index; inline .tt cards use position:absolute within their
|
|
|
|
|
// parent token container.
|
|
|
|
|
|
2026-04-21 15:46:30 -04:00
|
|
|
// Shared token tooltip field sizes — used by #id_tooltip_portal and .tt
|
|
|
|
|
%tt-token-fields {
|
|
|
|
|
.tt-title { font-size: 1rem; }
|
|
|
|
|
.tt-description { padding: 0.125rem; font-size: 0.75rem; }
|
|
|
|
|
.tt-shoptalk { font-size: 0.75rem; opacity: 0.75; }
|
|
|
|
|
.tt-expiry { font-size: 1rem; color: rgba(var(--priRd), 1); }
|
2026-04-26 18:59:10 -04:00
|
|
|
.tt-date { font-size: 1rem; color: rgba(var(--priGn), 1); }
|
2026-04-21 15:46:30 -04:00
|
|
|
}
|
|
|
|
|
|
2026-04-16 02:36:24 -04:00
|
|
|
.token-tooltip,
|
|
|
|
|
.tt {
|
|
|
|
|
display: none;
|
|
|
|
|
width: 16rem;
|
|
|
|
|
max-width: 16rem;
|
|
|
|
|
white-space: normal;
|
|
|
|
|
background-color: rgba(var(--tooltip-bg), 0.75);
|
|
|
|
|
backdrop-filter: blur(6px);
|
|
|
|
|
border: 0.1rem solid rgba(var(--secUser), 0.5);
|
|
|
|
|
color: rgba(var(--secUser), 1);
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
margin: 0 0 0.3rem 0;
|
|
|
|
|
color: rgba(var(--terUser), 1);
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
|
|
.token-count {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
opacity: 0.65;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: 0 0 0.2rem 0;
|
|
|
|
|
|
|
|
|
|
&.expiry {
|
|
|
|
|
color: rgba(var(--priRd), 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.availability {
|
|
|
|
|
color: rgba(var(--priRd), 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.stock-version {
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: rgba(var(--terUser), 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
small {
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
}
|
|
|
|
|
}
|