Bot:Gadget-figureSource.js: Difference between revisions
Content deleted Content added
Popover: explicit border/margin/color declarations (stacked-stylesheet safety) |
Popover text in house ink (--text-dark) — body-attached, so inherit picks the skin color |
||
Line 467:
// (no inner padding/margins); only the text block below is inset.
// All popover text follows the house small size, footer in page ink.
// color pinned to the house ink: the popover attaches to body,
// OUTSIDE the content area, so "inherit" would pick up the skin's
// #202122 body color instead of --text-dark
'.fig-popover{position:absolute;z-index:200;width:420px;' +
'background:#fff;border:1px solid #0d0d0d;padding:0;' +
'color:var(--text-dark,#0d0d0d);' +
'box-shadow:0 2px 10px rgba(0,0,0,.15)}' +
// border:0/margin:0 and color:inherit are DECLARED, not omitted — an
| |||