timetracker/games/templates/cotton/popover.html

11 lines
622 B
HTML
Raw Permalink Normal View History

2024-11-15 17:03:08 +00:00
<span data-popover-target={{ id }} class="{{ wrapped_classes }}">{{ wrapped_content|default:slot }}</span>
2024-08-08 12:47:51 +00:00
<div data-popover
id="{{ id }}"
role="tooltip"
class="absolute z-10 invisible inline-block text-sm text-white transition-opacity duration-300 bg-white border border-purple-200 rounded-lg shadow-sm opacity-0 dark:text-white dark:border-purple-600 dark:bg-purple-800">
2024-09-08 19:03:37 +00:00
<div class="px-3 py-2">{{ popover_content }}</div>
2024-07-09 21:03:03 +00:00
<div data-popper-arrow></div>
2024-11-15 17:03:08 +00:00
<!-- for Tailwind CSS to generate decoration-dotted CSS from Python component -->
<span class="hidden decoration-dotted"></span>
2024-08-08 12:47:51 +00:00
</div>