From 81971b70fc8f19f4986a63826294b0251fcde089 Mon Sep 17 00:00:00 2001 From: DPN MW Date: Wed, 11 Mar 2026 12:05:57 -0400 Subject: [PATCH] Tooltip animation fix --- assets/stylesheets/community_landing/landing.css | 16 +++++++--------- lib/community_landing/page_builder.rb | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/assets/stylesheets/community_landing/landing.css b/assets/stylesheets/community_landing/landing.css index ad72c19..d1d3cb6 100644 --- a/assets/stylesheets/community_landing/landing.css +++ b/assets/stylesheets/community_landing/landing.css @@ -2349,25 +2349,23 @@ html, .cl-body { position: absolute; bottom: calc(100% + 10px); right: 0; - transform: translateY(4px); background: #111119; - border: 1px solid rgba(255, 255, 255, 0.12); + border: 1px solid var(--cl-accent, #d4a24e); border-radius: 40px; - padding: 6px 12px; + padding: 0px 12px 4px; white-space: nowrap; pointer-events: none; opacity: 0; - transition: opacity 0.2s ease, transform 0.2s ease; + transition: opacity 0.2s ease; text-align: left; } .cl-designer-badge__tooltip.active { opacity: 1; - transform: translateY(0); pointer-events: auto; } [data-theme="light"] .cl-designer-badge__tooltip { background: #ffffff; - border-color: rgba(0, 0, 0, 0.12); + border-color: var(--cl-accent, #d4a24e); } .cl-designer-badge__tooltip::after { content: ""; @@ -2377,12 +2375,12 @@ html, .cl-body { width: 8px; height: 8px; background: inherit; - border-right: 1px solid rgba(255, 255, 255, 0.12); - border-bottom: 1px solid rgba(255, 255, 255, 0.12); + border-right: 1px solid var(--cl-accent, #d4a24e); + border-bottom: 1px solid var(--cl-accent, #d4a24e); transform: rotate(45deg); } [data-theme="light"] .cl-designer-badge__tooltip::after { - border-color: rgba(0, 0, 0, 0.12); + border-color: var(--cl-accent, #d4a24e); } .cl-designer-badge__tooltip a { color: #e8b84f; diff --git a/lib/community_landing/page_builder.rb b/lib/community_landing/page_builder.rb index 46abbb6..02b6180 100644 --- a/lib/community_landing/page_builder.rb +++ b/lib/community_landing/page_builder.rb @@ -874,7 +874,7 @@ module CommunityLanding html = +"" html << "
\n" html << "
\n" - html << " Interface By DPN MW \n" + html << " Interface By DPN MW \n" html << "
\n" html << " \"Designer\"\n" html << "
\n"