UNPKG

@codex-storage/marketplace-ui-components

Version:
2 lines (1 loc) 692 B
@property --codex-tooltip-background-color{syntax: "<color>"; inherits: false; initial-value: rgb(64 64 64);}@property --codex-toast-border-radius{syntax: "<length>"; inherits: false; initial-value: 6px;}.tooltip{cursor:help;position:relative;word-break:break-word}.tooltip:hover:after{position:absolute;opacity:0;content:attr(data-tooltip);animation:tooltip .35s cubic-bezier(.42,0,.62,1.32) forwards;color:#fff;background:var(--codex-tooltip-background-color, rgb(64 64 64));border-radius:var(--codex-toast-border-radius, 6px);min-width:150px;max-width:100%;font-weight:600;text-align:center;font-size:.85rem;padding:.5rem;bottom:30px;right:0}@keyframes tooltip{0%{opacity:0}to{opacity:1}}