diff options
Diffstat (limited to 'layouts/_partials/posts/action-menu/comment-button.html')
| -rw-r--r-- | layouts/_partials/posts/action-menu/comment-button.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/_partials/posts/action-menu/comment-button.html b/layouts/_partials/posts/action-menu/comment-button.html new file mode 100644 index 00000000..bc079a4f --- /dev/null +++ b/layouts/_partials/posts/action-menu/comment-button.html @@ -0,0 +1,7 @@ +<button class="dark:invert flex items-center justify-center gap-1.5 min-w-12 h-12 px-2 border-none bg-transparent text-gray-600 cursor-pointer relative transition-all duration-200 hover:bg-black/5 hover:rounded-lg group" + id="comments-toggle" title="{{ T "actionMenu.comment" }}" data-tooltip> + <img src="/img/comments.svg" width="20" height="20" + alt="{{ T "actionMenu.comment" }}" + class="brightness-40 flex-shrink-0 dark:brightness-70 dark:contrast-120" /> + <span class="text-xs font-bold text-gray-600 min-w-4 text-center bg-white/90 rounded-xl px-1.5 py-0.5 shadow-sm dark:text-gray-400 dark:bg-black/70" id="comment-count">...</span> +</button> |
