- New _tooltips.scss: .token-tooltip/.tt base block extracted from _wallet-tokens.scss
- core.scss: import order …billboard → tooltips → game-kit → wallet-tokens
- _natus.scss: .tt-title--au/ag/…/pu (--six* dark, --pri* light) + .tt-title--el-* for element ring (--pri* dark, --ter* light) via body[class*="-light"] selector
- natus-wheel.js: element tooltip title switched from inline style to .tt-title--el-{key} CSS class; PLANET_ELEMENTS map drives .tt-title--{el} class on planet titles
- _game-kit.scss: kit bag .tt child font-size rules added (1rem title, 0.75rem desc/shoptalk/expiry)
- CLAUDE.md: SCSS import order updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
91 lines
1.5 KiB
SCSS
91 lines
1.5 KiB
SCSS
.token {
|
|
position: relative;
|
|
display: inline-block;
|
|
cursor: help;
|
|
color: rgba(var(--terUser), 1);
|
|
|
|
.token-tooltip {
|
|
position: absolute;
|
|
bottom: 125%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
&:hover .token-tooltip {
|
|
display: block; // legacy fallback; .tt is JS-portal-only (no CSS hover)
|
|
}
|
|
}
|
|
|
|
.token--empty {
|
|
cursor: help;
|
|
|
|
> i { opacity: 0.4; }
|
|
}
|
|
|
|
html:has(body.page-wallet) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.page-wallet {
|
|
overflow: hidden;
|
|
|
|
.container {
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.row {
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
.wallet-page {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.wallet-tokens {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: visible;
|
|
|
|
.token-row {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
overflow: visible;
|
|
}
|
|
|
|
.token {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.token:hover .token-tooltip { display: none; }
|
|
}
|
|
|
|
#id_payment_methods {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.token .token-tooltip {
|
|
width: 13rem;
|
|
max-width: 90vw;
|
|
left: 0;
|
|
transform: none;
|
|
}
|
|
|
|
.wallet-tokens .token-tooltip {
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|